Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/agbocsardi/quarto-project-template.
Something went wrong. Try again.
TeX 48%
34%
Python 18%
R <1%
README.md
Research Project Template #
A template for reproducible academic research projects combining LaTeX manuscripts, Python analysis scripts, and Quarto notebooks.
Tools you'll need #
- LaTeX (XeLaTeX or LuaLaTeX) for compiling the manuscript
- Quarto for rendering exploratory notebooks and optional DOCX export
uvfor Python project and package management- R and
renvfor R-based analysis (optional)
To get started #
-
Clone or use as template:
gh repo create <new-repo-name> --template="https://github.com/agbocsardi/quarto-project-template.git" -
Install Python dependencies:
uv sync -
(Optional) Activate R environment:
renv::restore()
Architecture #
project/
├── data/ # Raw data (gitignored)
├── notebooks/ # Exploratory Quarto notebooks
├── scripts/ # Production Python analysis pipeline
├── manuscript/ # LaTeX source (main.tex + section files)
├── output/ # Git-tracked generated artifacts
│ ├── figures/ # PDF figures from scripts
│ └── tables/ # LaTeX table fragments from scripts
└── _output/ # Quarto render output (gitignored)
Key workflow #
- Explore in
notebooks/— quick POCs, data exploration - Formalize in
scripts/— production analysis that writes tooutput/ - Write in
manuscript/— LaTeX imports figures/tables fromoutput/ - Export via
manuscript/submission.qmd— DOCX when a conference requires it
Commands #
| Task | Command |
|---|---|
| Run analysis | uv run python scripts/run_analysis.py |
| Compile manuscript (PDF) | cd manuscript && latexmk -xelatex main.tex |
| Export DOCX | uv run quarto render manuscript/submission.qmd |
| Render a notebook | uv run quarto render notebooks/<name>.qmd |
See AGENTS.md for full project conventions.