Elite Legal PDF Generator
Genera documentos jurídicos PDF premium con diseño de firma de derechos humanos de élite.
When to Use
- Usuario pide convertir textos/markdown en PDF jurídico profesional
- Usuario menciona "Olivia Pope", "law firm", "human rights document", "legal brief"
- Usuario necesita pareceres jurídicos, defensas, peticiones o memorandos en PDF
- Usuario pide PDF con portada, bookmarks, watermarks o formato legal premium
- Cualquier documento que necesite el aspecto de una firma de abogados de prestigio
Prerequisites
pip install reportlab
Verify: python -c "import reportlab; print(reportlab.Version)" should print ≥ 4.0
Usage
Quick generation (most common)
python generate_legal_pdf.py --input ./folder/ --output defesa.pdf
Full options
python generate_legal_pdf.py \
--input ./docs/ \
--output defense_brief.pdf \
--theme navy-gold \
--watermark CONFIDENCIAL \
--lang pt \
--title "Da Cidadã Europeia à Suspeita Perpétua" \
--subtitle "Um Desafio ao Estado de Direito" \
--author "OP & Associates" \
--firm "Human Rights Division" \
--numbered \
--sign "Dr. Maria Silva, OAB/SP 123.456" \
--date "2026-09-02" \
--cover-desc "Defesa Integral contra Arbitrariedade Administrativa" \
--confidential
Single file input
python generate_legal_pdf.py --input ./document.md --output legal.pdf --theme crimson-legal
Multiple files (consolidated brief)
python generate_legal_pdf.py --input ./part1.md ./part2.md ./jurisprudence.md --output brief.pdf
Themes
| Theme |
Style |
Best for |
navy-gold |
Navy + gold accents (default) |
Human rights, international law |
classic-bw |
Black & white, serif |
Court filings, formal submissions |
crimson-legal |
Deep red + charcoal |
Criminal defense, aggressive posture |
minimalist |
Clean grey, sans-serif |
Internal memos, working documents |
Watermarks
CONFIDENCIAL · DRAFT · PRIVILEGED · WORK PRODUCT · ATTORNEY-CLIENT · CUSTOM:text
CLI Flags
| Flag |
Default |
Description |
--input |
(required) |
Input file(s) or directory |
--output |
(required) |
Output PDF path |
--theme |
navy-gold |
Visual theme |
--watermark |
none |
Watermark text |
--lang |
auto-detect |
Language (pt/es/en/fr/it/de) |
--title |
from filename |
Document title |
--subtitle |
none |
Document subtitle |
--author |
none |
Author/firm name |
--firm |
none |
Firm division text |
--numbered |
false |
Number paragraphs (§1, §2, …) |
--sign |
none |
Signature line text |
--date |
today |
Document date |
--cover-desc |
none |
Cover description line |
--confidential |
false |
Add "CONFIDENCIAL" header |
--no-cover |
false |
Skip cover page |
--no-toc |
false |
Skip table of contents |
Output Features
- Cover page with gold rules, firm identity, confidential notice
- Interactive TOC with PDF bookmarks for navigation
- Section dividers between document parts
- Professional tables with navy headers and gold underlines
- Headers/footers with firm name, page numbers, confidentiality notice
- Watermarks as rotated semi-transparent text
- Signature fields for attorney authentication
- Full PDF metadata (title, author, subject, keywords, creator, dates)
- Multi-language header/footer text in PT/ES/EN/FR/IT/DE
File Format Support
- Markdown (.md): Headers (#/##/###), bold, italic, tables, lists, links
- Plain text (.txt): Roman numeral detection, ALL-CAPS headers, quotes
- Mixed: Directory input auto-detects and orders files
Related Skills
pdf — general PDF operations (merge, split, extract)
markdown-documentation — markdown formatting
design-taste — visual design guidance
1---2name: elite-legal-pdf3description: Generador de documentos jurídicos PDF premium estilo firma de derechos humanos de élite (Olivia Pope / human rights law firm). Convierte textos, markdown y documentos legales en PDFs profesionales con portada dramática, tabla de contenidos interactiva con bookmarks, headers/footers institucionales, temas premium (navy-gold, classic-bw, crimson-legal, minimalist), watermarks (CONFIDENCIAL/DRAFT/ PRIVILEGED/ATTORNEY-CLIENT), numeración de párrafos (§), campos de firma, y metadatos PDF completos. Soporta PT, ES, EN, FR, IT, DE. Usa reportlab (Python). TRIGGER cuando el usuario pide: "generar PDF legal", "documento jurídico PDF", "defensa en PDF", "legal brief PDF", "court filing", "human rights document", "premium legal PDF", "Olivia Pope PDF", "parecer jurídico PDF", "memorando legal", "petição PDF", "demanda PDF", o cualquier documento jurídico que necesite formato profesional de firma de abogados. NO usar para PDFs simples, facturas, o documentos no jurídicos.4---56# Elite Legal PDF Generator78Genera documentos jurídicos PDF premium con diseño de firma de derechos humanos de élite.910## When to Use1112- Usuario pide convertir textos/markdown en PDF jurídico profesional13- Usuario menciona "Olivia Pope", "law firm", "human rights document", "legal brief"14- Usuario necesita pareceres jurídicos, defensas, peticiones o memorandos en PDF15- Usuario pide PDF con portada, bookmarks, watermarks o formato legal premium16- Cualquier documento que necesite el aspecto de una firma de abogados de prestigio1718## Prerequisites1920```bash21pip install reportlab22```2324Verify: `python -c "import reportlab; print(reportlab.Version)"` should print ≥ 4.02526## Usage2728### Quick generation (most common)2930```bash31python generate_legal_pdf.py --input ./folder/ --output defesa.pdf32```3334### Full options3536```bash37python generate_legal_pdf.py \38 --input ./docs/ \39 --output defense_brief.pdf \40 --theme navy-gold \41 --watermark CONFIDENCIAL \42 --lang pt \43 --title "Da Cidadã Europeia à Suspeita Perpétua" \44 --subtitle "Um Desafio ao Estado de Direito" \45 --author "OP & Associates" \46 --firm "Human Rights Division" \47 --numbered \48 --sign "Dr. Maria Silva, OAB/SP 123.456" \49 --date "2026-09-02" \50 --cover-desc "Defesa Integral contra Arbitrariedade Administrativa" \51 --confidential52```5354### Single file input5556```bash57python generate_legal_pdf.py --input ./document.md --output legal.pdf --theme crimson-legal58```5960### Multiple files (consolidated brief)6162```bash63python generate_legal_pdf.py --input ./part1.md ./part2.md ./jurisprudence.md --output brief.pdf64```6566## Themes6768| Theme | Style | Best for |69|-----------------|--------------------------------|---------------------------------------|70| `navy-gold` | Navy + gold accents (default) | Human rights, international law |71| `classic-bw` | Black & white, serif | Court filings, formal submissions |72| `crimson-legal` | Deep red + charcoal | Criminal defense, aggressive posture |73| `minimalist` | Clean grey, sans-serif | Internal memos, working documents |7475## Watermarks7677`CONFIDENCIAL` · `DRAFT` · `PRIVILEGED` · `WORK PRODUCT` · `ATTORNEY-CLIENT` · `CUSTOM:text`7879## CLI Flags8081| Flag | Default | Description |82|-------------------|---------------|------------------------------------------|83| `--input` | (required) | Input file(s) or directory |84| `--output` | (required) | Output PDF path |85| `--theme` | `navy-gold` | Visual theme |86| `--watermark` | none | Watermark text |87| `--lang` | auto-detect | Language (pt/es/en/fr/it/de) |88| `--title` | from filename | Document title |89| `--subtitle` | none | Document subtitle |90| `--author` | none | Author/firm name |91| `--firm` | none | Firm division text |92| `--numbered` | false | Number paragraphs (§1, §2, …) |93| `--sign` | none | Signature line text |94| `--date` | today | Document date |95| `--cover-desc` | none | Cover description line |96| `--confidential` | false | Add "CONFIDENCIAL" header |97| `--no-cover` | false | Skip cover page |98| `--no-toc` | false | Skip table of contents |99100## Output Features101102- **Cover page** with gold rules, firm identity, confidential notice103- **Interactive TOC** with PDF bookmarks for navigation104- **Section dividers** between document parts105- **Professional tables** with navy headers and gold underlines106- **Headers/footers** with firm name, page numbers, confidentiality notice107- **Watermarks** as rotated semi-transparent text108- **Signature fields** for attorney authentication109- **Full PDF metadata** (title, author, subject, keywords, creator, dates)110- **Multi-language** header/footer text in PT/ES/EN/FR/IT/DE111112## File Format Support113114- **Markdown** (.md): Headers (#/##/###), bold, italic, tables, lists, links115- **Plain text** (.txt): Roman numeral detection, ALL-CAPS headers, quotes116- **Mixed**: Directory input auto-detects and orders files117118## Related Skills119120- `pdf` — general PDF operations (merge, split, extract)121- `markdown-documentation` — markdown formatting122- `design-taste` — visual design guidance