Litrepl is acommand-line processor for Markdown or LaTeX documents with literate programming code sections. Instructed by its arguments, it evaluates and updates sections via background interpreters. Interpreters can stay active for a read-eval-paste-loop style.
Notes:
|
Preprint: (2025, Sergei Mironov) Litrepl: Literate Paper Processor Promoting Transparency More Than Reproducibility arXiv:2501.10738 |
- Document formats
Markdown (Example [MD]) | LaTeX (Examples [TEX][PDF]) - Interpreters
Sh | Bash | Python | IPython | Aicli - Editor integration
Vim (plugin source included)
- POSIX-compatible OS, typically a Linux. The tool relies on POSIX operations, notably pipes, and depends on certain Shell commands.
- lark-parser and psutil Python packages.
- Socat (Optional) Needed for
litrepl repland Vim'sLTermcommands to work.
For full documentation, check out the project's GitHub Pages site.
Vimtex integration (Show Video)
We utilize LitRepl alongside the Vimtex plugin to edit and preview LaTeX documents instantly.

