Cross references
Some checks failed
build_docker / essential (push) Successful in 1s
build_docker / build_paddle_ocr (push) Successful in 5m6s
build_docker / build_raytune (push) Has been cancelled
build_docker / build_easyocr_gpu (push) Has been cancelled
build_docker / build_doctr (push) Has been cancelled
build_docker / build_doctr_gpu (push) Has been cancelled
build_docker / build_paddle_ocr_gpu (push) Has started running
build_docker / build_easyocr (push) Has been cancelled

This commit is contained in:
2026-02-04 20:43:50 +01:00
parent 868f748a8d
commit e9c937a042
18 changed files with 1118 additions and 820 deletions

View File

@@ -77,7 +77,9 @@ MastersThesis/
│ ├── instrucciones.pdf # TFE writing guidelines
│ ├── plantilla_individual.pdf # Word template (PDF version)
│ └── plantilla_individual.htm # Word template (HTML version, source)
├── apply_content.py # Generates TFM document from docs/ + template
├── apply_content.py # Main orchestrator: generates TFM from docs/ + template
├── content_handlers.py # Content block handlers (tables, figures, lists, etc.)
├── markdown_utils.py # Markdown utilities (cross-refs, latex, metadata extraction)
├── generate_mermaid_figures.py # Converts Mermaid diagrams to PNG
├── src/archived/ocr_benchmark_notebook.ipynb # Archived benchmark (do not cite)
└── README.md
@@ -162,6 +164,13 @@ python3 apply_content.py
```
**What `apply_content.py` does:**
The script is organized into three modules for maintainability:
- `apply_content.py` - Main orchestrator (~300 lines)
- `content_handlers.py` - Block-level content handlers (~400 lines)
- `markdown_utils.py` - Utility functions (~150 lines)
Functionality:
- Replaces Resumen and Abstract with actual content + keywords
- Replaces all 5 chapters with content from docs/
- Replaces Referencias with APA-formatted bibliography