attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment
attachment

Extract texts made a ppt with proper presentation

Reading File
Reading File
analyse_media
analyse_media
analyse_media
analyse_media
analyse_media
Browsing Directory

~/

Reading File
Browsing Directory

~/attachments/c1a075c6-8e53-4f03-800a-723354fdb9c8/

Reading File
Reading File
The supplied pages cover a broad chapter on Kṣudraroga, including traditional descriptions, treatments, and modern correlations. To make a focused, well-structured presentation rather than a crowded deck, choose the section to prioritize.
Asking for Preferences

Which part should the PowerPoint cover in detail?

The supplied pages cover a broad chapter on Kṣudraroga, including traditional descriptions, treatments, and modern correlations. To make a focused, well-structured presentation rather than a crowded deck, choose the section to prioritize.
Finding Sources
Searching PubMed

skin diseases AND Ayurveda

Searching the Web

Kshudraroga Ayurveda overview

analyse_media
analyse_media
analyse_media
analyse_media
analyse_media
Running Command

mkdir -p "/tmp/workspace/ksudraroga-presentation/src" "/tmp/workspace/ksudraroga-presentation/output" && python - <<'PY' from PIL import Image from pathlib import Path for p in Path('/tmp/workspace/attachments/c1a075c6-8e53-4f03-800a-723354fdb9c8').glob('*.jpg'): im=Image.open(p) print(p.name, im.size) PY

Running Command

python - <<'PY' from pathlib import Path from PIL import Image for p in Path('/tmp/workspace/attachments/c1a075c6-8e53-4f03-800a-723354fdb9c8').glob('*.jpg'): im=Image.open(p) print(p.name, im.size) PY

Running Command

python - <<'PY' from pathlib import Path from PIL import Image files=sorted(Path('/tmp/workspace/attachments/c1a075c6-8e53-4f03-800a-723354fdb9c8').glob('*.jpg')) print(len(files)) for p in files: im=Image.open(p) print(p.name, im.width, im.height) PY

Running Command

python - <<'PY' from pptx import Presentation from pptx.util import Inches, Pt from pptx.dml.color import RGBColor from pptx.enum.shapes import MSO_SHAPE from pptx.enum.text import PP_ALIGN, MSO_ANCHOR from pptx.enum.dml import MSO_THEME_COLOR from pathlib import Path OUT=Path('/tmp/workspace/ksudraroga-presentation/output/Ksudraroga_Extracted_Text_Presentation.pptx') prs=Presentation(); prs.slide_width=Inches(13.333); prs.slide_height=Inches(7.5) blank=prs.slide_layouts[6] # Palette NAVY=RGBColor(35,57,75); TEAL=RGBColor(21,126,125); CORAL=RGBColor(202,86,82); CREAM=RGBColor(248,244,237); INK=RGBColor(37,45,52); MUTED=RGBColor(100,111,118); PALE=RGBColor(231,241,239); GOLD=RGBColor(212,165,77); WHITE=RGBColor(255,255,255); ROSE=RGBColor(252,237,234) def bg(slide,color=CREAM): s=slide.background.fill; s.solid(); s.fore_color.rgb=color def add_rect(slide,x,y,w,h,fill,line=None,rnd=False): sh=slide.shapes.add_shape(MSO_SHAPE.ROUNDED_RECTANGLE if rnd else MSO_SHAPE.RECTANGLE, Inches(x),Inches(y),Inches(w),Inches(h)) sh.fill.solid(); sh.fill.fore_color.rgb=fill sh.line.color.rgb=line or fill return sh def text(slide,txt,x,y,w,h,size=18,color=INK,bold=False,align=None,font='Aptos',italic=False): tb=slide.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h)); tf=tb.text_frame tf.clear(); tf.word_wrap=True; tf.margin_left=Inches(.04);tf.margin_right=Inches(.04);tf.margin_top=Inches(.02);tf.margin_bottom=Inches(.02) p=tf.paragraphs[0]; p.text=txt if align: p.alignment=align for r in p.runs: r.font.name=font;r.font.size=Pt(size);r.font.bold=bold;r.font.italic=italic;r.font.color.rgb=color return tb def header(slide,title,kicker='KṢUDRAROGA | EXTRACTED FROM SUPPLIED PAGES',dark=False): if dark: bg(slide,NAVY); text(slide,kicker,.65,.45,11.8,.28,10,RGBColor(173,215,211),True); text(slide,title,.65,1.15,11.7,1.0,36,WHITE,True) add_rect(slide,.65,2.34,1.35,.08,CORAL) else: bg(slide); add_rect(slide,0,0,13.333,.18,TEAL); text(slide,kicker,.65,.38,11.8,.25,9,TEAL,True); text(slide,title,.65,.77,12,0.55,27,NAVY,True); add_rect(slide,.65,1.47,12.0,.025,RGBColor(210,215,210)) def footer(slide,num): text(slide,'Illustrated Śalya Vijñāna, Chapter 21 | Text condensed from supplied scans',.65,7.14,10.9,.18,8,MUTED) text(slide,f'{num:02d}',12.15,7.04,.5,.25,10,TEAL,True,PP_ALIGN.RIGHT) def bullets(slide,items,x,y,w,h,size=16,color=INK,accent=TEAL,space=9): # individual blocks avoids bullet XML fragility step=h/max(len(items),1) for i,item in enumerate(items): cy=y+i*step sh=slide.shapes.add_shape(MSO_SHAPE.OVAL, Inches(x),Inches(cy+.08),Inches(.14),Inches(.14));sh.fill.solid();sh.fill.fore_color.rgb=accent;sh.line.color.rgb=accent text(slide,item,x+.27,cy,w-.27,step-.03,size,color) def card(slide, title, body, x,y,w,h, accent=TEAL, body_size=14): add_rect(slide,x,y,w,h,WHITE,RGBColor(224,227,223),True); add_rect(slide,x,y,.10,h,accent) text(slide,title,x+.27,y+.18,w-.45,.34,16,NAVY,True) text(slide,body,x+.27,y+.68,w-.48,h-.82,body_size,INK) # 1 s=prs.slides.add_slide(blank); header(s,'Kṣudraroga','CHAPTER 21 | TEXT-BASED PRESENTATION',True) text(s,'Minor disorders in the Ayurvedic surgical tradition',.68,2.62,7.5,.55,21,RGBColor(222,235,233)) text(s,'A structured, presentation-ready extraction from the supplied textbook pages',.68,3.4,6.7,.58,16,WHITE) # visual ornamental dots for i,c in enumerate([CORAL,GOLD,TEAL]): sh=s.shapes.add_shape(MSO_SHAPE.OVAL,Inches(9.45+i*.72),Inches(2.68+i*.37),Inches(.58),Inches(.58));sh.fill.solid();sh.fill.fore_color.rgb=c;sh.line.color.rgb=c add_rect(s,.68,5.62,11.9,.7,RGBColor(28,75,86),RGBColor(28,75,86),True); text(s,'Scope: definition, classical enumeration, representative conditions, traditional management, and stated modern correlations.',.92,5.83,11.3,.24,13,WHITE) footer(s,1) #2 s=prs.slides.add_slide(blank); header(s,'What does Kṣudraroga mean?') text(s,'“Kṣudra” means minor or little.',.68,1.86,5.4,.42,23,NAVY,True) text(s,'These are described as diseases with relatively minor nidāna (causative factors), clinical features, and treatment effort.',.68,2.48,5.35,1.05,17,INK) card(s,'Learning objectives from the page','• Understand Śalya Tantra-related Kṣudra roga\n• Review Kṣudra roga through modern correlations',.68,4.18,5.35,1.55,CORAL,15) add_rect(s,6.6,1.86,5.95,3.88,PALE,PALE,True) text(s,'Classical counts',6.95,2.25,3.0,.35,21,NAVY,True) for y,n,lab in [(3.03,'44','Ācārya Suśruta'),(3.74,'36','Ācārya Vāgbhaṭa'),(4.45,'43','Ācārya Mādhava'),(5.16,'60','Ācārya Śārṅgadhara')]: text(s,n,6.98,y,.65,.38,24,CORAL,True);text(s,lab,7.78,y+.07,3.4,.24,15,INK) footer(s,2) #3 s=prs.slides.add_slide(blank); header(s,'The classical catalogue: a broad spectrum') text(s,'The supplied list includes 44 entities in Suśruta Saṃhitā. They span skin, appendages, hair/scalp, genital, and anorectal conditions.',.68,1.78,11.8,.5,16,INK) items=[('Skin eruptions & swellings','Ajagallikā, Yavaprakhyā, Andhālajī, Vidārikā, Pāmā, Vicarchikā'),('Nail / periungual disorders','Cippa, Kunakha, Anuśayī, Vidārikā; paronychia and onychogryphosis discussed'),('Hair & scalp disorders','Indralupta, Dāruṇaka, Aruṃṣikā'),('Pigmentary & facial lesions','Tilakālaka, Nyaccha, Vyaṅga, Mukhadūṣikā'),('Genital & anorectal disorders','Parivartika, Avapāṭikā, Niruddhaprakāśa, Sanniruddhaguda')] for i,(a,b) in enumerate(items): card(s,a,b,.72+(i%2)*6.1,2.55+(i//2)*1.28,5.72,1.0,[TEAL,CORAL,GOLD][i%3],12) footer(s,3) #4 s=prs.slides.add_slide(blank); header(s,'Representative early entities') card(s,'1. Ajagallikā','A smooth, unctuous boil in children, attributed in the text to aggravated kapha and vāta. Described as skin-coloured and approximately mung-bean sized.',.7,1.9,3.86,3.65,CORAL,14) card(s,'2. Yavaprakhyā','A boil described as the size of barley grain, hard, immobile, and associated with kapha and vāta.',4.74,1.9,3.86,3.65,TEAL,14) card(s,'3. Andhālajī','A firm elevated circular eruption associated with kapha and vāta, without a punctum. The text states: “Modern correlation: boil.”',8.78,1.9,3.86,3.65,GOLD,14) text(s,'Traditional management is recorded in the source text. This deck reports it as historical textbook content, not as clinical treatment advice.',.72,6.06,11.7,.38,12,MUTED,italic=True) footer(s,4) #5 s=prs.slides.add_slide(blank); header(s,'Selected infections, boils, and swellings') rows=[('Valmīka','Multiple boil-like lesions with pricking pain, discharge, burning and itching. The text gives actinomycosis as the modern correlation.'),('Indravṛddhā','A lesion likened to the lotus root, with multiple boils. Stated correlation: pitta-type visarpā.'),('Pāśāṇagardabha','Mild, fixed, painful swelling around the temporomandibular region. Stated correlation: parotid-gland inflammation.'),('Śarkarārbuda','Cystic swelling with odour and thick secretion, described around māṁsa, sirā, snāyu and meda. Stated correlation: sebaceous cyst / Cock’s peculiar tumour.'),('Pāmā','Small boils or eruptions with discharge, itching and burning. Stated correlation: moniliasis.')] for i,(a,b) in enumerate(rows): card(s,a,b,.72+(i%2)*6.05,1.78+(i//2)*1.56,5.68,1.28,[CORAL,TEAL,GOLD][i%3],12) footer(s,5) #6 s=prs.slides.add_slide(blank); header(s,'Nail disorders: Cippa, Kunakha & Onychogryphosis') card(s,'Cippa','Painful nail/nail-bed condition with burning and suppuration. The page states “Modern correlation: paronychia.”',.7,1.9,3.83,3.5,CORAL,15) card(s,'Kunakha','Nail becomes dry, blackish and rough after trauma. Management is stated as the same as for cippa. Correlated with onychogryphosis.',4.75,1.9,3.83,3.5,TEAL,15) card(s,'Onychogryphosis','Also called ram’s horn nails. Overgrowth/hypertrophy produces long, curved nails that become thickened, deformed, and yellowish. Source management: nail-bed excision.',8.8,1.9,3.83,3.5,GOLD,14) text(s,'The page also notes paronychia as inflammation/infection of the nail fold, often starting beneath the eponychium.',.74,5.9,11.5,.4,14,NAVY,True) footer(s,6) #7 s=prs.slides.add_slide(blank); header(s,'Corn & warts: localized hyperkeratotic lesions') card(s,'Corn','Defined on the page as a thickened localized hyperkeratosis, commonly at pressure sites such as soles and toes. Pain may occur during standing, walking, or rubbing.',.72,1.95,5.7,3.75,CORAL,15) card(s,'Warts','Defined as hyperkeratotic papillomatous overgrowths of skin, often associated with HPV. The text notes occurrence in children and immunocompromised persons.',6.9,1.95,5.7,3.75,TEAL,15) text(s,'Textbook management mentioned: padding/prevention, salicylic acid, and surgical excision for corn; podophyllin, salicylic acid, and agnikarma for warts.',.74,6.1,11.75,.4,13,MUTED) footer(s,7) #8 s=prs.slides.add_slide(blank); header(s,'Scalp and hair conditions') items=[('Indralupta','Pitta with vāta affects hair follicles causing hair fall; kapha with rakta is stated to obstruct regrowth. Modern correlation: alopecia.'),('Dāruṇaka','Scalp becomes hard, dry, itchy and fissured due to kapha and vāta. Modern correlation: seborrhoea capitis.'),('Aruṃṣikā','Multiple discharging scalp boils associated in the text with kapha, rakta and worms. Modern correlation: eczema of scalp.'),('Rākasā','Eruptions without discharge but associated with itching. Modern correlation: scabies.')] for i,(a,b) in enumerate(items): card(s,a,b,.73+(i%2)*6.02,1.9+(i//2)*2.05,5.65,1.65,[TEAL,CORAL,GOLD,TEAL][i],14) footer(s,8) #9 s=prs.slides.add_slide(blank); header(s,'Facial, pigmentary & congenital lesions') items=[('Mukhadūṣikā','Pimples/boils on the faces of young people, likened to thorns of śālmalī. Stated modern correlation: acne vulgaris.'),('Tilakālaka','Blackish sesame-sized painful lesions due to vāta, pitta and kapha. Stated correlation: melasma or melanoma.'),('Nyaccha','Large or small blackish, painless congenital mark. Stated correlation: birthmark.'),('Vyaṅga','Painless thin blackish discoloration of the face due to vāta with pitta. Stated correlation: melasma.'),('Jātumaṇi / Maṣaka','Jātumaṇi: congenital reddish, smooth, painless elevated circular lesion, stated as mole/birthmark. Maṣaka: painless blackish fixed elevated lesions.')] for i,(a,b) in enumerate(items): card(s,a,b,.72+(i%2)*6.05,1.72+(i//2)*1.52,5.68,1.25,[CORAL,TEAL,GOLD][i%3],12) footer(s,9) #10 s=prs.slides.add_slide(blank); header(s,'Genital & anorectal conditions') card(s,'Niruddhaprakāśa','The prepuce completely covers the glans and may obstruct urine flow. Textbook correlation: phimosis.',.72,1.9,3.7,3.65,CORAL,15) card(s,'Parivartika','Text describes injury and swelling of the prepuce after rubbing, squeezing or trauma, with possible suppuration. Correlation: paraphimosis.',4.82,1.9,3.7,3.65,TEAL,15) card(s,'Sanniruddhaguda','Aggravated vāta localized in the guda (anal canal) obstructs the mahāsrotas and narrows the passage. Correlation: anal canal stenosis.',8.92,1.9,3.7,3.65,GOLD,15) text(s,'Anal stenosis section: the page describes difficult stool passage, scarring-related causes, and pain during bowel movement.',.74,5.95,11.7,.42,14,NAVY,True) footer(s,10) #11 s=prs.slides.add_slide(blank); header(s,'How to read the “modern correlations”') text(s,'The source often labels a modern condition beside a classical description. Treat these as textbook correlations, not automatically as diagnostic equivalence.',.7,1.75,11.6,.52,18,NAVY,True) for i,(title,body) in enumerate([('Useful for learning','They provide a bridge between Sanskrit terminology and familiar clinical categories.'),('Use with caution','Different diseases may share a clinical feature such as itch, swelling, or discharge.'),('Safe practice','Diagnosis and management of skin, nail, genital, and anorectal symptoms require trained clinical assessment.')]): x=.75+i*4.15 add_rect(s,x,2.72,3.65,2.55,[PALE,ROSE,RGBColor(246,240,219)][i],[PALE,ROSE,RGBColor(246,240,219)][i],True) text(s,f'{i+1:02d}',x+.28,3.0,.5,.35,26,[TEAL,CORAL,GOLD][i],True) text(s,title,x+.28,3.58,3.05,.35,17,NAVY,True) text(s,body,x+.28,4.15,3.0,.76,13,INK) text(s,'Evidence note: a quick 2024-2026 PubMed review search did not yield a directly relevant systematic review validating the source’s individual disease correlations.',.75,6.05,11.8,.4,12,MUTED,italic=True) footer(s,11) #12 s=prs.slides.add_slide(blank); header(s,'Key takeaways','KṢUDRAROGA | SUMMARY',True) items=['Kṣudraroga is presented as a group of relatively minor disorders in the Ayurvedic surgical tradition.','The supplied chapter lists 44 entities in Suśruta Saṃhitā and includes conditions affecting skin, nails, hair, face, genital organs, and anus.','The textbook uses “modern correlations” as a learning bridge, including boil, paronychia, alopecia, acne, corn, warts, phimosis, and anal stenosis.','Traditional treatment passages should be interpreted within their historical and educational context.'] bullets(s,items,.8,2.15,11.6,3.7,19,WHITE,CORAL) text(s,'Source: supplied scans from Illustrated Śalya Vijñāna, Chapter 21, pp. 323-331 (viewer pages 327-336).',.82,6.54,11.3,.26,10,RGBColor(181,207,204)) footer(s,12) prs.save(OUT) print(OUT) PY python - <<'PY' from pptx import Presentation p='/tmp/workspace/ksudraroga-presentation/output/Ksudraroga_Extracted_Text_Presentation.pptx' prs=Presentation(p) print('slides',len(prs.slides),'size',__import__('os').path.getsize(p)) for i,s in enumerate(prs.slides,1): texts=[sh.text for sh in s.shapes if getattr(sh,'has_text_frame',False) and sh.text.strip()] print(i, texts[1][:60] if len(texts)>1 else texts[0][:60]) PY

Running Command

python - <<'PY' from pptx import Presentation from pathlib import Path p=Path('/tmp/workspace/ksudraroga-presentation/output/Ksudraroga_Extracted_Text_Presentation.pptx') prs=Presentation(str(p)) assert len(prs.slides)==12 assert p.exists() and p.stat().st_size > 20000 # validate every slide has a title-ish textbox and no empty text boxes with required text content for n, slide in enumerate(prs.slides,1): content=[shape.text.strip() for shape in slide.shapes if getattr(shape,'has_text_frame',False) and shape.text.strip()] assert content, f'empty slide {n}' print(f'Validated {len(prs.slides)} slides; {p.stat().st_size:,} bytes') PY

Created a polished 12-slide presentation from the supplied Kṣudraroga textbook pages. It covers:
  • Meaning and learning objectives
  • Classical enumeration
  • Selected skin conditions and modern correlations
  • Nail disorders
  • Corns, warts, scalp and hair disorders
  • Pigmentary, facial, genital, and anorectal conditions
  • Notes on interpreting traditional-modern correlations safely

Ksudraroga Extracted Text Presentation

Presentation · PPTX

In simple and understable form

!

No generations found in stream.

We encountered an error while processing your request. Please try again or reach out to us for help.

This is a shared conversation. Sign in to Orris to start your own chat.