Skip to content

Add PDF typesetting gap features#18

Merged
gvonness-apolitical merged 1 commit intomainfrom
feature/pdf-typesetting-gaps
Feb 1, 2026
Merged

Add PDF typesetting gap features#18
gvonness-apolitical merged 1 commit intomainfrom
feature/pdf-typesetting-gaps

Conversation

@gvonness-apolitical
Copy link
Collaborator

Summary

Addresses PDF typesetting gaps identified in the format analysis. This PR adds features commonly found in professional PDF documents:

Core specification enhancements:

  • Admonition blocks - Callout boxes for notes, warnings, tips, caution, danger, important, info, and examples (used in technical documentation, textbooks, tutorials)
  • Subfigures support - Multi-panel figures with (a), (b), (c) labels and individual captions (common in academic papers)

Extension enhancements:

  • Symbol footnotes - Non-numeric footnote markers (*, †, ‡, §, ‖, ¶) for author notes on title pages
  • Abstract block - Semantic abstract structure with optional keywords and structured sections (IMRAD format)
  • Chemical formulas (mhchem) - Documentation for using mhchem LaTeX package notation in math blocks
  • Line numbering - Margin line numbers for legal briefs, manuscripts, and code review documents

Test plan

  • Schema validation passes (npm run validate:schemas)
  • Example validation passes (npm run validate:examples)
  • Added admonition and subfigure examples to comprehensive-document
  • Manual review of documentation formatting

Core specification enhancements:
- Add admonition block type for callout boxes (note, tip, warning, etc.)
- Add subfigures support to figure block for multi-panel figures

Extension enhancements:
- Add symbol footnotes (*, †, ‡, §, ‖, ¶) to semantic extension
- Add abstract block to academic extension for papers/reports
- Document mhchem LaTeX package usage for chemical formulas
- Add line numbering configuration to presentation extension

Update comprehensive-document example with admonition and subfigure demos
@gvonness-apolitical gvonness-apolitical merged commit 63115b6 into main Feb 1, 2026
2 checks passed
@gvonness-apolitical gvonness-apolitical deleted the feature/pdf-typesetting-gaps branch February 1, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant