How fisicausc/dicionario works
This repository maintains the Dicionario de Física as JSON in an intermediate representation, with tooling to extract legacy XML content, validate entries, and produce Typst, HTML-preview, and PDF outputs. The main documented workflow is content editing in JSON followed by validation and rendering; the XML filter is a separate legacy-import path. The filter and validator are excerpted; rendering relationships and capabilities are documented in the README, but their implementation wiring was not sampled.
Main entry points: RI.json Intermediate JSON · validador_json.py JSON validator · dicionario HTML preview · filtro_XML_JSON.py XML filter
Components 12
Dictionary content
- Intermediate JSON
RI.json
Legacy import
- Legacy XML sources
trebellos/filtro_XML_JSON/XMLs - XML filter
trebellos/filtro_XML_JSON/filtro_XML_JSON.py
Validation
- RI schema
trebellos/esquema_RI.json - JSON validator
trebellos/validador_json.py
Rendering and output
- JSON to Typst
trebellos/json_a_typst.jq - Typst document and style
dicionario/dicionario.typ - Preview styling
dicionario/estilo.css - HTML preview
dicionario - Dictionary PDF
dicionario
Other components
- Content editor
- Dictionary readers
Connections 13
- Content editor → Intermediate JSON: edits
README.md - Legacy XML sources → XML filter: is filtered by
README.md - XML filter → Intermediate JSON: extracts entries
README.md - Content editor → JSON validator: validates content
README.md - JSON validator → Intermediate JSON: checks
README.md - JSON validator → RI schema: loads schema
trebellos/validador_json.py - Intermediate JSON → JSON to Typst: converts
README.md - JSON to Typst → Typst document and style: generates content for
README.md - Intermediate JSON → HTML preview: generates preview
README.md - Typst document and style → Dictionary PDF: compiles to
README.md - Preview styling → HTML preview: styles
- Dictionary PDF → Dictionary readers: distributes to
README.md - HTML preview → Dictionary readers: previews for
README.md