Rxiv-Maker converts Markdown manuscripts into publication-ready PDFs through a multi-stage processing pipeline.
- Configuration Loading - Parse YAML metadata (
00_CONFIG.yml) - Figure Generation - Execute Python/Mermaid scripts
- Markdown to LaTeX - Convert enhanced Markdown with content protection
- LaTeX Compilation - Generate final PDF with bibliography
- Converters (
src/py/converters/) - Markdown element processors with content protection - Processors (
src/py/processors/) - High-level document processing - Commands (
src/py/commands/) - CLI entry points and utilities
The conversion pipeline uses a sophisticated protection system to prevent processor interference:
- Protect mathematical expressions and code blocks
- Process document elements in specific order
- Restore protected content at appropriate stages
See CLAUDE.md for detailed architecture documentation.