π Dual Purpose Repository: This repository serves two important roles:
- Official Published Preprint - The rxiv-maker paper published as arXiv:2508.00836
- Comprehensive Working Example - A complete demonstration of all rxiv-maker features
Clone it instantly with:
rxiv get-rxiv-preprint
This repository contains the official rxiv-maker preprint published as arXiv:2508.00836. This preprint both explains what rxiv-maker is and serves as an extensive demonstration of how scientific preprints can be written using rxiv-maker, a framework for writing scientific manuscripts in Markdown with automated figure generation.
- What's Inside - Demonstrations and features
- Getting Started - Prerequisites and building
- Repository Structure - File organization
- Live Figure Generation - Dynamic data features
- Citation Features - Citation styles and DOI resolution
- Ecosystem - Related repositories
- Citation - How to cite
π Learning Paths (click to expand)
New to rxiv-maker?
- Start with rxiv-maker Installation
- Read the Getting Started Guide
- Clone this repository:
rxiv get-rxiv-preprint - Build the PDF:
rxiv pdf MANUSCRIPT/ - Explore the source files to see how features work
Want to learn specific features?
- Figures: Check
MANUSCRIPT/FIGURES/for Python/R examples - Citations: See
01_MAIN.mdfor citation syntax examples - Data Integration: Look at
{{py:exec}}blocks in01_MAIN.md - Configuration: Study
00_CONFIG.ymlfor metadata setup
This preprint demonstrates rxiv-maker's capabilities while documenting the framework itself:
| Feature | Location | Example |
|---|---|---|
| Self-documenting preprint | 01_MAIN.md |
Explains rxiv-maker while using it |
| Live data integration | {{py:exec}} blocks |
Current arXiv statistics |
| Automated figures | FIGURES/*.py |
Publication-ready plots from data |
| Supplementary info | 02_SUPPLEMENTARY_INFO.md |
Additional technical details |
| Configuration | 00_CONFIG.yml |
Metadata and settings |
| Analysis modules | src/py/ |
Reusable data processing code |
| Bibliography | 03_REFERENCES.bib |
BibTeX references |
π Learning by Example - What Each File Teaches
Core Manuscript Files:
00_CONFIG.yml- Learn: Metadata, author configuration, citation styles01_MAIN.md- Learn: Scientific markdown, cross-references, Python integration02_SUPPLEMENTARY_INFO.md- Learn: Supplementary content organization03_REFERENCES.bib- Learn: BibTeX citation management
Figure Generation:
FIGURES/Figure__*.mmd- Learn: System diagrams, workflow illustrationsFIGURES/SFigure__*.py- Learn: Data visualization, live arXiv statisticsFIGURES/SFigure__*.R- Learn: R-based statistical plots
Code Organization:
src/py/- Learn: Reusable analysis modules- Python imports in markdown - Learn: How to integrate analysis code
-
Install rxiv-maker:
See the Official Installation Guide for your platform (macOS, Linux, Windows).
-
Ensure you have a LaTeX distribution installed (the installation guide covers this).
# Clone this repository
git clone https://github.com/HenriquesLab/manuscript-rxiv-maker.git
cd manuscript-rxiv-maker
# Generate the PDF
rxiv pdf MANUSCRIPT/This will:
- Execute all Python scripts to fetch current arXiv data and generate statistics
- Create all figures from source data and scripts
- Process the Markdown content with embedded dynamic values
- Generate the complete preprint PDF in
MANUSCRIPT/output/
# Build the preprint PDF
rxiv pdf MANUSCRIPT/
# Generate figures only
rxiv figures MANUSCRIPT/
# Validate preprint structure
rxiv validate MANUSCRIPT/
# Clean generated files
rxiv clean MANUSCRIPT/
# Export to Word format
rxiv docx MANUSCRIPT/π Educational Use - Command Explanations
Why these commands are useful for learning:
rxiv pdf- See the complete workflow from markdown to publication PDFrxiv figures- Understand how figure generation works independentlyrxiv validate- Learn what makes a valid rxiv-maker manuscriptrxiv clean- Understand what gets generated vs. what's source
Try these learning exercises:
- Run
rxiv cleanthenrxiv pdf MANUSCRIPT/to see the full build process - Modify a figure script in
FIGURES/and runrxiv figures MANUSCRIPT/ - Change citation style in
00_CONFIG.ymland rebuild - Add a new citation to
03_REFERENCES.biband reference it in01_MAIN.md
MANUSCRIPT/
βββ 00_CONFIG.yml # Preprint configuration and metadata
βββ 01_MAIN.md # Main preprint content
βββ 02_SUPPLEMENTARY_INFO.md # Supplementary information
βββ FIGURES/ # Figure generation scripts
β βββ Figure__*.py # Main figure scripts (system diagrams, workflows)
β βββ SFigure__*.py # Supplementary figure scripts (arXiv data visualizations)
βββ DATA/ # Live data files (arXiv statistics, etc.)
βββ src/ # Source code and utilities for the preprint
β βββ py/ # Python modules for data processing and analysis
βββ output/ # Generated preprint PDF and LaTeX files
The preprint includes figures that are generated from real, current data:
- arXiv growth analysis: Live plots of preprint submission trends using current arXiv statistics
- System diagrams: Technical illustrations of the rxiv-maker architecture and workflow
- Data visualization: Professional plots using matplotlib and seaborn with real scientific data
- Self-updating content: Figures and statistics that refresh with the latest data when rebuilt
- Publication quality: High-resolution outputs ready for academic publication
This manuscript demonstrates rxiv-maker's flexible citation management:
Switch between numbered [1, 2] and author-date (Smith, 2024) formats:
# In 00_CONFIG.yml
citation_style: "numbered" # [1, 2, 3] (default)
citation_style: "author-date" # (Smith, 2024; Jones, 2023)Paste DOIs directly in markdown - rxiv-maker automatically:
- Fetches metadata from CrossRef/DataCite
- Generates BibTeX entries
- Replaces DOIs with citation keys
# In 00_CONFIG.yml
enable_inline_doi_resolution: trueExample workflow:
Recent advances 10.1038/nature12373 enable new techniques.Auto-converts to:
Recent advances @smith2024 enable new techniques.With complete BibTeX entry generated automatically!
- Citations Tutorial - Hands-on practice
- Complete Guide - Comprehensive reference
- π οΈ Main Framework: rxiv-maker - The core tool for converting Markdown to publication-ready PDFs
- π³ Docker Support: docker-rxiv-maker - Containerized execution with pre-configured environment
- π» VS Code Extension: vscode-rxiv-maker - IDE integration with syntax highlighting and validation
- π Official Website: rxiv-maker.henriqueslab.org - Documentation, guides, and tutorials
- π This Repository: Contains the official preprint (arXiv:2508.00836) and comprehensive usage example
- Getting Started: Installation Guide
- First Manuscript: Tutorial
- User Guides: Complete Documentation
- Google Colab: Try Online
- GitHub Actions: CI/CD Guide
If you use rxiv-maker or reference this preprint, please cite:
@misc{saraiva_2025_rxivmaker,
title={Rxiv-Maker: an automated template engine for streamlined scientific publications},
author={Bruno M. Saraiva and AntΓ³nio D. Brito and Guillaume Jaquemet and Ricardo Henriques},
year={2025},
eprint={2508.00836},
archivePrefix={arXiv},
url={https://arxiv.org/abs/2508.00836}
}This preprint is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
You are free to:
- Share β copy and redistribute the material in any medium or format
- Adapt β remix, transform, and build upon the material for any purpose, even commercially
Found an issue or want to improve this preprint? Please open an issue or pull request on the main rxiv-maker repository.
Note: This repository contains the official rxiv-maker preprint (arXiv:2508.00836) which both documents the framework and serves as a comprehensive example of scientific writing with rxiv-maker. The source code demonstrates reproducible manuscript preparation with live data integration.