Juvenile delinquency

Reading File
Reading File
Running Command

cd /tmp/workspace/attachments/c9ed0df5-2495-4c1a-b85f-9f22ff1648ad && python3 -c " import pdfplumber path = 'Part 3 -Behavioral and Psychiatric Disorders - Nelson 2024.pdf' with pdfplumber.open(path) as pdf: print('Total pages:', len(pdf.pages)) for i, page in enumerate(pdf.pages): text = page.extract_text() or '' if 'delinquen' in text.lower(): print('---PAGE', i, '---') "

Finding Sources
Running Command

cd /tmp/workspace/attachments/c9ed0df5-2495-4c1a-b85f-9f22ff1648ad && python3 -c " import pdfplumber path = 'Part 3 -Behavioral and Psychiatric Disorders - Nelson 2024.pdf' with pdfplumber.open(path) as pdf: for i in [62,63,69]: text = pdf.pages[i].extract_text() or '' print('=====PAGE', i, '=====') print(text) print() "

Reading File

Juvenile Delinquency

Definition

Juvenile delinquency is a legal and social/behavioral concept, not itself a psychiatric diagnosis. In India, the Children Act (1960) defines a delinquent as "a child who has committed an offence" - a juvenile being a boy under 16 years or a girl under 18 years. In the broader public-health sense, delinquency is not merely "juvenile crime"; it covers all deviations from normal youthful behavior, including incorrigibility, ungovernability, habitual disobedience, running away from home, associating with delinquent peers, and other antisocial practices - Park's Textbook of Preventive and Social Medicine, p. 725 (approx).
Clinically, chronic delinquent behavior overlaps heavily with the DSM-5 disruptive, impulse-control, and conduct disorders described in Nelson's Textbook of Pediatrics (Chapter 42): Oppositional Defiant Disorder, Intermittent Explosive Disorder, and especially Conduct Disorder, whose diagnostic criteria (aggression to people/animals, destruction of property, deceitfulness/theft, serious rule violations) closely mirror delinquent acts.

Incidence

  • In the US, about 2% of children aged 7-17 appear before juvenile courts.
  • Reliable national statistics are lacking in India, but delinquency is reported to be rising due to urbanization, industrialization, and changing cultural patterns.
  • Highest incidence is in children aged 15 and above.
  • Boys outnumber girls 4-5 times.
(Park's Textbook of Preventive and Social Medicine, Ch. on Juvenile Delinquency)

Causes / Risk Factors

Biological
  • Hereditary defects, feeble-mindedness, physical defects, glandular imbalance
  • Chromosomal anomalies (extra Y chromosome/XYY) linked to tendency toward delinquency and severe personality disturbance in some studies
  • Nelson adds: lower resting heart rate and skin conductance reactivity, reduced basal cortisol reactivity, prefrontal cortex/amygdala abnormalities, serotonergic abnormalities, pre-/peri-/postnatal insults, language-based cognitive deficits, difficult temperament (negative affectivity, poor frustration tolerance, impulsivity), novelty-seeking/reduced harm avoidance personality traits, and hostile cognitive attribution styles
Social / Family
  • Broken homes (parental death, separation, stepparents), poverty, alcoholism, parental neglect and ignorance about child care, large family size
  • Ineffective/inconsistent parenting, harsh or neglectful parenting, poor monitoring of whereabouts, impaired parent-child attachment
  • Child maltreatment (physical/sexual abuse, neglect), exposure to domestic violence and marital conflict
  • Family history of substance use, mood, psychotic, or personality disorders, and ADHD
Peer and Neighborhood
  • Peer rejection in childhood, affiliation with antisocial peer groups
  • Neighborhood-level factors: low collective efficacy, weak social control, exposure to community violence
Other
  • Absence of recreational facilities, cheap/unsupervised recreation, exposure to violent media/films/television, slum-dwelling, urbanization and industrialization

Consequences

Untreated conduct problems in childhood are associated with delinquency and criminality in adolescence, ongoing legal problems, substance use, unplanned pregnancy, social instability, marital failure, and academic/occupational underachievement (Nelson, Ch. 42).

Screening and Early Intervention

Nelson recommends routinely asking parents in primary care about anger management or aggressive/defiant/antisocial behavior (e.g., "Does [name] have a lot of trouble controlling his/her anger or behavior?"). Standardized tools such as the Pediatric Symptom Checklist or Strengths and Difficulties Questionnaire can screen for these problems. Mild cases can be managed with guided self-help and anticipatory guidance; moderate-to-severe cases, or those with a history of maltreatment/family dysfunction, warrant referral to specialty mental health care.

Prevention

Public-health/community level (Park's):
  1. Improvement of family life - preparing parents for parenthood, meeting children's emotional needs, fostering a well-adjusted family environment
  2. Schooling - healthy teacher-pupil relationships; teachers detecting early signs of maladjustment
  3. Social welfare services - recreational facilities, parent counseling, child guidance clinics, educational and general health services
Evidence-based programs (Nelson):
  • Fast Track - multicomponent school-based program (grades 1-10) combining classroom curriculum on conflict resolution, parent training, and school-environment interventions; at age 25, participants had lower rates of externalizing/internalizing/substance-use problems and lower violent/drug-crime conviction scores
  • Seattle Social Development Project - school-based intervention (grades 1-6) targeting classroom management, interpersonal problem-solving, and academic support; reduced lifetime drug use and delinquency in males at age 19 (no significant effect in females)
  • Behavioral parent training programs - Triple P (Positive Parenting Program) and Incredible Years, both with strong evidence bases for improving parenting practices and reducing disruptive behavior across diverse populations

Treatment

For persistent moderate-to-severe behavior problems, treatment should target the specific context where behavior occurs (home, school, peer group, community):
  • Behavioral parent training for home-based problems
  • Child-trained mental health clinician involvement for maltreatment history, severe family dysfunction, or comorbid psychopathology
  • Media-based parenting interventions show moderate benefit per Cochrane review data, alone or as an adjunct to medication

A brief check of recent literature (PubMed, meta-analyses/systematic reviews, last 2 years) did not surface findings that contradict this textbook-based summary; the core risk-factor model (biological, family, peer/neighborhood) and program-based prevention approaches (Fast Track, Triple P, Incredible Years) remain the standard evidence base cited across recent reviews of youth conduct problems and delinquency.
Sources: Nelson Textbook of Pediatrics, 21st ed., Part III - Behavioral and Psychiatric Disorders, Chapter 42 (Disruptive, Impulse-Control, and Conduct Disorders), pp. 278-279; Park's Textbook of Preventive and Social Medicine, section on Juvenile Delinquency.

What is conduct disorder and how does it differ from juvenile delinquency?

Conduct Disorder

Conduct Disorder (CD) is a formal DSM-5 psychiatric diagnosis falling under the category of Disruptive, Impulse-Control, and Conduct Disorders (Nelson Textbook of Pediatrics, Ch. 42).
DSM-5 diagnostic criteria - a repetitive, persistent pattern of behavior violating the basic rights of others or major age-appropriate societal norms, with at least 3 of 15 criteria present in the past 12 months (at least 1 in the past 6 months), grouped into four categories:
  1. Aggression to people and animals - bullying, threatening, intimidating, initiating fights, using a weapon, physical cruelty to people or animals, forced sexual activity, mugging/robbery
  2. Destruction of property - deliberate fire-setting, deliberate destruction of property
  3. Deceitfulness or theft - breaking into homes/cars, lying/conning to obtain favors, shoplifting, forgery
  4. Serious violations of rules - staying out at night against parental rules (before age 13), running away from home overnight, truancy (before age 13)
The disturbance must cause clinically significant impairment in social, academic, or occupational functioning, and if the individual is 18 or older, criteria for antisocial personality disorder must not be met - Nelson Textbook of Pediatrics, p. 279 (Table 42.3).
CD has an established etiology involving neurobiologic markers (low resting heart rate, reduced cortisol reactivity, prefrontal/amygdala abnormalities), difficult temperament, ineffective parenting, child maltreatment, peer rejection, antisocial peer groups, and neighborhood-level violence exposure. It is treatable through structured interventions (behavioral parent training, Triple P, Incredible Years, Fast Track) delivered by pediatric or mental health clinicians.

Juvenile Delinquency

Juvenile delinquency is a legal and social construct, defined by the Children Act as "a child who has committed an offence" (boy under 16, girl under 18 in the Indian legal context). It is broader and less clinically precise than CD - it includes any deviation from normal youthful behavior: incorrigibility, habitual disobedience, running away, associating with "immoral" people, or committing an actual offence - Park's Textbook of Preventive and Social Medicine.

Key Differences

AspectConduct DisorderJuvenile Delinquency
NatureClinical/psychiatric diagnosis (DSM-5)Legal/social label
Who defines itMental health clinicians using standardized criteriaCourts, legal statutes (e.g., Children Act)
Basis for identificationSpecific behavioral criteria (aggression, property destruction, deceit/theft, rule violations) present over a defined time courseAny act that violates law, or broader "deviant"/antisocial behavior, whether or not it meets clinical criteria
ThresholdRequires a minimum number/pattern of symptoms causing functional impairmentA single offence or repeated norm-violating behavior can qualify someone as "delinquent"
Underlying frameworkExplained through neurobiology, temperament, attachment, family and peer factors - a mechanistic/etiologic modelExplained more broadly through biological, social (poverty, broken homes), and environmental factors (urbanization, lack of recreation) - a public-health/criminological model
Outcome/consequence relationshipCD is a risk factor for future delinquency, criminality, substance use, and academic/occupational failure if untreatedDelinquency is often the outcome or behavioral manifestation, sometimes stemming from CD but not always
OverlapNot every child with CD is legally delinquent (many CD behaviors, like animal cruelty or property destruction, may never enter the legal system)Not every delinquent act stems from CD - a first-time offence, peer pressure, or poverty-driven theft may occur without a diagnosable disorder
InterventionClinical treatment: parent training, CBT, school-based programs, occasionally medication for comorbid conditionsLegal/social response: juvenile courts, probation, social welfare services, family and school-based prevention

The Practical Relationship

Nelson's text explicitly notes that untreated conduct disorder is a pathway "to delinquency and criminality, legal problems, substance use, unplanned pregnancy, social instability, marital failure, and academic and occupational underachievement." In other words, CD is often a precursor or comorbid clinical condition, while delinquency is the legal/behavioral label applied once the child's conduct crosses into offences recognized by law or society. A child can have CD without ever becoming legally "delinquent" (if behaviors stay within the family/school setting), and a child can be labeled delinquent (e.g., a single act of truancy or theft) without meeting full diagnostic criteria for CD. This is why pediatric management focuses on identifying and treating CD early - through screening, parent training, and school-based programs like Fast Track or the Seattle Social Development Project - specifically to reduce the downstream risk of juvenile delinquency and adult criminality.

Make a pdf of both the content

Running Command

ls -la /tmp/workspace/ 2>/dev/null && mkdir -p /tmp/workspace/juvenile-delinquency-pdf/output

Writing File

~/juvenile-delinquency-pdf/build_pdf.py

from reportlab.lib.pagesizes import LETTER
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.units import inch
from reportlab.lib.enums import TA_LEFT
from reportlab.platypus import (
    SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, ListFlowable, ListItem
)
from reportlab.lib import colors

OUT = "/tmp/workspace/juvenile-delinquency-pdf/output/Juvenile_Delinquency_and_Conduct_Disorder.pdf"

styles = getSampleStyleSheet()
styles.add(ParagraphStyle(name="MainTitle", fontSize=20, leading=24, spaceAfter=6,
                           textColor=colors.HexColor("#1a3c6e"), fontName="Helvetica-Bold"))
styles.add(ParagraphStyle(name="SubTitle", fontSize=11, leading=14, spaceAfter=18,
                           textColor=colors.HexColor("#555555"), fontName="Helvetica-Oblique"))
styles.add(ParagraphStyle(name="H1", fontSize=16, leading=19, spaceBefore=14, spaceAfter=8,
                           textColor=colors.HexColor("#1a3c6e"), fontName="Helvetica-Bold"))
styles.add(ParagraphStyle(name="H2", fontSize=13, leading=16, spaceBefore=10, spaceAfter=6,
                           textColor=colors.HexColor("#2f5a94"), fontName="Helvetica-Bold"))
styles.add(ParagraphStyle(name="H3", fontSize=11, leading=14, spaceBefore=8, spaceAfter=4,
                           textColor=colors.HexColor("#333333"), fontName="Helvetica-Bold"))
styles.add(ParagraphStyle(name="Body", fontSize=10, leading=14, spaceAfter=6, alignment=TA_LEFT))
styles.add(ParagraphStyle(name="Cite", fontSize=8.5, leading=11, spaceAfter=10,
                           textColor=colors.HexColor("#777777"), fontName="Helvetica-Oblique"))
styles.add(ParagraphStyle(name="Bullet", fontSize=10, leading=14, spaceAfter=3, leftIndent=6))

story = []

# Title
story.append(Paragraph("Juvenile Delinquency & Conduct Disorder", styles["MainTitle"]))
story.append(Paragraph("A comparative clinical and public-health overview", styles["SubTitle"]))

# ============ SECTION 1: JUVENILE DELINQUENCY ============
story.append(Paragraph("1. Juvenile Delinquency", styles["H1"]))

story.append(Paragraph("Definition", styles["H2"]))
story.append(Paragraph(
    "Juvenile delinquency is a legal and social/behavioral concept, not itself a psychiatric diagnosis. "
    "In India, the Children Act (1960) defines a delinquent as \"a child who has committed an offence\" "
    "– a juvenile being a boy under 16 years or a girl under 18 years. In the broader public-health "
    "sense, delinquency is not merely \"juvenile crime\"; it covers all deviations from normal youthful "
    "behavior, including incorrigibility, ungovernability, habitual disobedience, running away from home, "
    "associating with delinquent peers, and other antisocial practices.", styles["Body"]))
story.append(Paragraph(
    "Clinically, chronic delinquent behavior overlaps heavily with the DSM-5 disruptive, impulse-control, "
    "and conduct disorders described in Nelson's Textbook of Pediatrics (Chapter 42): Oppositional Defiant "
    "Disorder, Intermittent Explosive Disorder, and especially Conduct Disorder, whose diagnostic criteria "
    "closely mirror delinquent acts.", styles["Body"]))
story.append(Paragraph("Source: Park’s Textbook of Preventive and Social Medicine – Section on Juvenile Delinquency", styles["Cite"]))

story.append(Paragraph("Incidence", styles["H2"]))
for item in [
    "In the US, about 2% of children aged 7–17 appear before juvenile courts.",
    "Reliable national statistics are lacking in India, but delinquency is reported to be rising due to urbanization, industrialization, and changing cultural patterns.",
    "Highest incidence is in children aged 15 and above.",
    "Boys outnumber girls 4–5 times.",
]:
    story.append(Paragraph("• " + item, styles["Bullet"]))

story.append(Paragraph("Causes / Risk Factors", styles["H2"]))
story.append(Paragraph("Biological", styles["H3"]))
story.append(Paragraph(
    "Hereditary defects, feeble-mindedness, physical defects, glandular imbalance. Chromosomal anomalies "
    "(extra Y chromosome / XYY) have been linked to a tendency toward delinquency and severe personality "
    "disturbance in some studies. Nelson adds: lower resting heart rate and skin conductance reactivity, "
    "reduced basal cortisol reactivity, prefrontal cortex/amygdala abnormalities, serotonergic abnormalities, "
    "pre-/peri-/postnatal insults, language-based cognitive deficits, difficult temperament (negative "
    "affectivity, poor frustration tolerance, impulsivity), novelty-seeking/reduced harm-avoidance personality "
    "traits, and hostile cognitive attribution styles.", styles["Body"]))

story.append(Paragraph("Social / Family", styles["H3"]))
story.append(Paragraph(
    "Broken homes (parental death, separation, stepparents), poverty, alcoholism, parental neglect and "
    "ignorance about child care, large family size. Ineffective/inconsistent parenting, harsh or neglectful "
    "parenting, poor monitoring of whereabouts, impaired parent–child attachment. Child maltreatment "
    "(physical/sexual abuse, neglect), exposure to domestic violence and marital conflict. Family history of "
    "substance use, mood, psychotic, or personality disorders, and ADHD.", styles["Body"]))

story.append(Paragraph("Peer and Neighborhood", styles["H3"]))
story.append(Paragraph(
    "Peer rejection in childhood, affiliation with antisocial peer groups. Neighborhood-level factors: low "
    "collective efficacy, weak social control, exposure to community violence.", styles["Body"]))

story.append(Paragraph("Other", styles["H3"]))
story.append(Paragraph(
    "Absence of recreational facilities, cheap/unsupervised recreation, exposure to violent media/films/"
    "television, slum-dwelling, urbanization and industrialization.", styles["Body"]))

story.append(Paragraph("Consequences", styles["H2"]))
story.append(Paragraph(
    "Untreated conduct problems in childhood are associated with delinquency and criminality in adolescence, "
    "ongoing legal problems, substance use, unplanned pregnancy, social instability, marital failure, and "
    "academic/occupational underachievement.", styles["Body"]))

story.append(Paragraph("Screening and Early Intervention", styles["H2"]))
story.append(Paragraph(
    "Primary care providers should routinely ask parents about anger management or aggressive/defiant/"
    "antisocial behavior (e.g., \"Does [name] have a lot of trouble controlling his/her anger or behavior?\"). "
    "Standardized tools such as the Pediatric Symptom Checklist or Strengths and Difficulties Questionnaire "
    "can screen for these problems. Mild cases can be managed with guided self-help and anticipatory guidance; "
    "moderate-to-severe cases, or those with a history of maltreatment/family dysfunction, warrant referral "
    "to specialty mental health care.", styles["Body"]))

story.append(Paragraph("Prevention", styles["H2"]))
story.append(Paragraph("Public-health / community level (Park’s):", styles["H3"]))
for item in [
    "<b>Improvement of family life</b> &ndash; preparing parents for parenthood, meeting children's emotional needs, fostering a well-adjusted family environment.",
    "<b>Schooling</b> &ndash; healthy teacher-pupil relationships; teachers detecting early signs of maladjustment.",
    "<b>Social welfare services</b> &ndash; recreational facilities, parent counseling, child guidance clinics, educational and general health services.",
]:
    story.append(Paragraph("&bull; " + item, styles["Bullet"]))

story.append(Paragraph("Evidence-based programs (Nelson):", styles["H3"]))
for item in [
    "<b>Fast Track</b> &ndash; multicomponent school-based program (grades 1&ndash;10) combining classroom curriculum on conflict resolution, parent training, and school-environment interventions; at age 25, participants had lower rates of externalizing/internalizing/substance-use problems and lower violent/drug-crime conviction scores.",
    "<b>Seattle Social Development Project</b> &ndash; school-based intervention (grades 1&ndash;6) targeting classroom management, interpersonal problem-solving, and academic support; reduced lifetime drug use and delinquency in males at age 19 (no significant effect in females).",
    "<b>Behavioral parent training programs</b> &ndash; Triple P (Positive Parenting Program) and Incredible Years, both with strong evidence bases for improving parenting practices and reducing disruptive behavior across diverse populations.",
]:
    story.append(Paragraph("&bull; " + item, styles["Bullet"]))

story.append(Paragraph("Treatment", styles["H2"]))
story.append(Paragraph(
    "For persistent moderate-to-severe behavior problems, treatment should target the specific context where "
    "behavior occurs (home, school, peer group, community): behavioral parent training for home-based "
    "problems; involvement of a child-trained mental health clinician for maltreatment history, severe family "
    "dysfunction, or comorbid psychopathology. Media-based parenting interventions show moderate benefit per "
    "Cochrane review data, alone or as an adjunct to medication.", styles["Body"]))

# ============ SECTION 2: CONDUCT DISORDER ============
story.append(Paragraph("2. Conduct Disorder", styles["H1"]))

story.append(Paragraph(
    "Conduct Disorder (CD) is a formal DSM-5 psychiatric diagnosis falling under the category of Disruptive, "
    "Impulse-Control, and Conduct Disorders.", styles["Body"]))
story.append(Paragraph("Source: Nelson Textbook of Pediatrics, 21st ed., Part III &ndash; Behavioral and Psychiatric Disorders, Chapter 42, p. 279 (Table 42.3)", styles["Cite"]))

story.append(Paragraph("DSM-5 Diagnostic Criteria", styles["H2"]))
story.append(Paragraph(
    "A repetitive, persistent pattern of behavior violating the basic rights of others or major "
    "age-appropriate societal norms, with at least 3 of 15 criteria present in the past 12 months "
    "(at least 1 in the past 6 months), grouped into four categories:", styles["Body"]))

story.append(Paragraph("1. Aggression to people and animals", styles["H3"]))
story.append(Paragraph(
    "Bullying, threatening, intimidating; initiating fights; use of a weapon that can cause serious physical "
    "harm; physical cruelty to people; physical cruelty to animals; stealing while confronting a victim "
    "(mugging, robbery); forcing someone into sexual activity.", styles["Body"]))

story.append(Paragraph("2. Destruction of property", styles["H3"]))
story.append(Paragraph(
    "Deliberate fire-setting with intent to cause serious damage; deliberate destruction of others&rsquo; "
    "property (other than by fire).", styles["Body"]))

story.append(Paragraph("3. Deceitfulness or theft", styles["H3"]))
story.append(Paragraph(
    "Breaking into someone else&rsquo;s house, building, or car; frequent lying to obtain goods/favors or "
    "avoid obligations (\"cons\" others); stealing items of nontrivial value without confronting a victim "
    "(shoplifting, forgery).", styles["Body"]))

story.append(Paragraph("4. Serious violations of rules", styles["H3"]))
story.append(Paragraph(
    "Staying out at night against parental prohibition, beginning before age 13; running away from home "
    "overnight at least twice (or once for a lengthy period); frequent truancy from school, beginning "
    "before age 13.", styles["Body"]))

story.append(Paragraph(
    "The disturbance must cause clinically significant impairment in social, academic, or occupational "
    "functioning, and if the individual is 18 or older, criteria for antisocial personality disorder must "
    "not be met.", styles["Body"]))

story.append(Paragraph("Etiology and Risk Factors", styles["H2"]))
story.append(Paragraph(
    "CD has an established multifactorial etiology involving neurobiologic markers (low resting heart rate, "
    "reduced cortisol reactivity, prefrontal cortex/amygdala abnormalities, serotonergic abnormalities), "
    "difficult temperament, cognitive/linguistic deficits, ineffective and harsh/inconsistent parenting, "
    "child maltreatment, impaired parent&ndash;child attachment, family poverty and genetic liability, peer "
    "rejection, antisocial peer groups, and neighborhood-level violence exposure.", styles["Body"]))

story.append(Paragraph("Management", styles["H2"]))
story.append(Paragraph(
    "CD is treatable through structured, context-specific interventions: behavioral parent training "
    "(Triple P, Incredible Years), school-based multicomponent programs (Fast Track, Seattle Social "
    "Development Project), and specialty mental health referral for moderate-to-severe or comorbid cases. "
    "There is no medication with primary efficacy for CD itself; pharmacologic treatment targets comorbid "
    "conditions (e.g., ADHD, mood disorders).", styles["Body"]))

# ============ SECTION 3: COMPARISON ============
story.append(Paragraph("3. Key Differences: Conduct Disorder vs. Juvenile Delinquency", styles["H1"]))

data = [
    ["Aspect", "Conduct Disorder", "Juvenile Delinquency"],
    ["Nature", "Clinical / psychiatric diagnosis (DSM-5)", "Legal / social label"],
    ["Who defines it", "Mental health clinicians using standardized criteria",
     "Courts, legal statutes (e.g., Children Act)"],
    ["Basis for identification",
     "Specific behavioral criteria (aggression, property destruction, deceit/theft, rule violations) present over a defined time course",
     "Any act that violates law, or broader \"deviant\"/antisocial behavior, whether or not it meets clinical criteria"],
    ["Threshold",
     "Requires a minimum number/pattern of symptoms causing functional impairment",
     "A single offence or repeated norm-violating behavior can qualify someone as \"delinquent\""],
    ["Underlying framework",
     "Neurobiology, temperament, attachment, family and peer factors — a mechanistic/etiologic model",
     "Biological, social (poverty, broken homes), and environmental factors (urbanization, lack of recreation) — a public-health/criminological model"],
    ["Outcome relationship",
     "CD is a risk factor for future delinquency, criminality, substance use, and academic/occupational failure if untreated",
     "Delinquency is often the outcome or behavioral manifestation, sometimes stemming from CD but not always"],
    ["Overlap",
     "Not every child with CD is legally delinquent (many CD behaviors may never enter the legal system)",
     "Not every delinquent act stems from CD (e.g., a first-time offence, peer pressure, or poverty-driven theft)"],
    ["Intervention",
     "Clinical treatment: parent training, CBT, school-based programs, medication for comorbid conditions",
     "Legal / social response: juvenile courts, probation, social welfare services, family and school-based prevention"],
]

col_widths = [1.3*inch, 2.55*inch, 2.55*inch]
tbl = Table(data, colWidths=col_widths, repeatRows=1)
tbl.setStyle(TableStyle([
    ("BACKGROUND", (0, 0), (-1, 0), colors.HexColor("#1a3c6e")),
    ("TEXTCOLOR", (0, 0), (-1, 0), colors.white),
    ("FONTNAME", (0, 0), (-1, 0), "Helvetica-Bold"),
    ("FONTSIZE", (0, 0), (-1, -1), 8.3),
    ("FONTNAME", (0, 1), (0, -1), "Helvetica-Bold"),
    ("VALIGN", (0, 0), (-1, -1), "TOP"),
    ("GRID", (0, 0), (-1, -1), 0.5, colors.HexColor("#bbbbbb")),
    ("ROWBACKGROUNDS", (0, 1), (-1, -1), [colors.white, colors.HexColor("#f2f5fa")]),
    ("LEFTPADDING", (0, 0), (-1, -1), 5),
    ("RIGHTPADDING", (0, 0), (-1, -1), 5),
    ("TOPPADDING", (0, 0), (-1, -1), 5),
    ("BOTTOMPADDING", (0, 0), (-1, -1), 5),
]))
story.append(tbl)

story.append(Paragraph("The Practical Relationship", styles["H2"]))
story.append(Paragraph(
    "Nelson's text explicitly notes that untreated conduct disorder is a pathway \"to delinquency and "
    "criminality, legal problems, substance use, unplanned pregnancy, social instability, marital failure, "
    "and academic and occupational underachievement.\" In other words, CD is often a precursor or comorbid "
    "clinical condition, while delinquency is the legal/behavioral label applied once the child's conduct "
    "crosses into offences recognized by law or society. A child can have CD without ever becoming legally "
    "\"delinquent\" (if behaviors stay within the family/school setting), and a child can be labeled "
    "delinquent (e.g., a single act of truancy or theft) without meeting full diagnostic criteria for CD. "
    "This is why pediatric management focuses on identifying and treating CD early &ndash; through screening, "
    "parent training, and school-based programs like Fast Track or the Seattle Social Development Project "
    "&ndash; specifically to reduce the downstream risk of juvenile delinquency and adult criminality.",
    styles["Body"]))

story.append(Spacer(1, 0.3*inch))
story.append(Paragraph(
    "Sources: Nelson Textbook of Pediatrics, 21st ed., Part III &ndash; Behavioral and Psychiatric Disorders, "
    "Chapter 42 (Disruptive, Impulse-Control, and Conduct Disorders), pp. 278&ndash;279; Park&rsquo;s Textbook "
    "of Preventive and Social Medicine, section on Juvenile Delinquency.", styles["Cite"]))

doc = SimpleDocTemplate(
    OUT, pagesize=LETTER,
    leftMargin=0.75*inch, rightMargin=0.75*inch,
    topMargin=0.75*inch, bottomMargin=0.75*inch,
    title="Juvenile Delinquency and Conduct Disorder"
)
doc.build(story)
print("Saved:", OUT)
Running Command

cd /tmp/workspace/juvenile-delinquency-pdf && python3 build_pdf.py

Editing File

~/juvenile-delinquency-pdf/build_pdf.py

Successfully replaced 1 instance(s) of the string in '/tmp/workspace/juvenile-delinquency-pdf/build_pdf.py'
Running Command

cd /tmp/workspace/juvenile-delinquency-pdf && sed -i 's/styles\["Bullet"\]/styles["BulletItem"]/g' build_pdf.py && python3 build_pdf.py

Running Command

ls -la /tmp/workspace/juvenile-delinquency-pdf/output/

I've generated the PDF combining both sections (Juvenile Delinquency and Conduct Disorder), including the comparison table.

Juvenile Delinquency and Conduct Disorder

PDF Document · PDF

It contains:
  1. Juvenile Delinquency - definition, incidence, causes (biological/social/peer/neighborhood), consequences, screening, prevention, and treatment
  2. Conduct Disorder - DSM-5 diagnostic criteria (all 4 categories), etiology/risk factors, and management
  3. Comparison table - key differences between the two concepts, plus the practical relationship between them
Sourced from Nelson Textbook of Pediatrics (Ch. 42) and Park's Textbook of Preventive and Social Medicine.
This is a shared conversation. Sign in to Orris to start your own chat.