Skip to main content

Octavo

The quantitative social science starter pack

tests

日本語の README

Write your papers, slides and lecture notes in Markdown, keep the analysis in Quarto, and let Octavo place the analysis's numbers, figures and tables in every document — then typeset them to PDF (with Typst) and Word, or LaTeX if you have TeX. Citations come from one .bib file, in any CSL style.

How Octavo works: the analysis and the files you make by hand give the numbers, figures and tables; the manuscript refers to them by name and says what to make; octavo build makes the PDF, slides, a poster, Word and LaTeX

What you get

A paper page and a slide built from the example project

A page of a paper and a slide, both built from the example project (octavo init demo --all --example). The coefficient, the table and the figure come from the analysis; the equation, table and figure numbers and the references are filled in when it is typeset.

  • No number is typed by hand. The analysis registers it (ov_value("n_obs", nrow(d))) and the manuscript calls it by name ({{n_obs}}). Re-run the analysis and every document follows. octavo check points out numbers typed into the prose, and values that are only placeholders.
  • R or Python. The analysis is a Quarto .qmd in R or in Python; both come with the same helpers (ov_value, ov_figure, ov_table), and the project's .venv and renv are set up for you.
  • One source, several documents. A paper in your journal's layout, a talk, lecture notes that become an A4 handout plus one slide deck per session, and an A0 conference poster — with speaker scripts, and Word for coauthors.
  • References by label: @fig-trend becomes "Figure 2.1", and stays right when you reorder sections.
  • Diagrams without TikZ: octavo new figure gives you a Typst file to draw boxes and arrows in; it becomes a figure like any other.
  • Tables by hand, edited as tables: octavo new table gives you a CSV that the VS Code extension edits as a grid (Excel works too); it becomes a table like the analysis's.
  • Submission and beyond: word limits, blind review, a submission zip, reading a coauthor's tracked changes in Word, "what moved since I submitted", and a replication package.
  • References from Zotero, literature from Priorwork: octavo bib pull fetches the .bib from your Zotero collection and octavo bib tidy keeps it to what the manuscripts cite; drafts from Priorwork (a literature survey tool) arrive in literature/priorwork/, ready for you and your assistant to bring into the manuscript.
  • A VS Code extension with a live PDF preview that follows the cursor, a sidebar for everything above, and one-click setup.
  • Ready for your AI assistant: every project keeps its working rules in AGENTS.md — never type a result into the manuscript, data/raw is read-only, and so on — and Claude Code, GitHub Copilot, Codex and Antigravity all read it, so the assistant knows them from the start. Your own writing rules and phrase bank (writing/) are handed to it too.
  • Linux, macOS and Windows; English and Japanese.

Install

With VS Code, install the Octavo extension and press Set up when it asks: it installs pandoc, Typst, Quarto, R, the fonts and the octavo command.

From a terminal:

curl -LsSf https://astral.sh/uv/install.sh | sh   # uv, if you don't have it yet
uv tool install octavo-kit                        # the octavo command
octavo setup                                      # pandoc / Typst / Quarto / fonts / R
octavo doctor                                     # reports anything still missing

Getting started

With VS Code:

  1. Open a folder and the Octavo icon in the activity bar. In a folder that is not a project yet it offers New project: choose where, the language, the parts you need (an analysis in R or Python, a paper, slides, lecture notes) and whether to fill them with examples. An analysis gets its environment set up right after.
  2. Open a manuscript and press the PDF button at the top right of the editor: the PDF appears beside it, is rebuilt on every save, and follows your cursor.
  3. Add more from the + at the top of the Octavo sidebar.

From a terminal, start with the example project — an analysis, a paper, slides and lecture notes:

octavo init demo --all --example
cd demo
octavo env                    # the project's analysis environment (.venv and renv)
octavo build --compile        # runs the analysis, then typesets everything to PDF

Then your own project, starting with the parts you need:

octavo init study --with analysis,paper
cd study
octavo env                    # the project's analysis environment (.venv and renv)
octavo build paper --compile  # after writing analysis/analysis.qmd and docs/paper/paper.md
octavo check                  # before you submit

In the analysis, register what the paper shows; in the manuscript, refer to it:

ov_value("n_obs", nrow(d))
ov_figure(p, "trend")
ov_value("n_obs", len(d))
ov_figure(fig, "trend")
The sample has {{n_obs}} cases (@fig-trend).

![Trend](../../assets/figures/trend.png){#fig-trend}

Documentation

  • Quick guide — from installing to your first PDF, in six steps
  • Installing Octavo — Linux, macOS and Windows, step by step
  • Guide — using Octavo in VS Code: projects, writing, the analysis, citations, papers, slides and posters
  • Making lecture notes — one file for an A4 handout and a deck per session
  • Reference — every command and setting, written for AI assistants (also octavo docs)

Contributing and license

Issues and pull requests are welcome — see CONTRIBUTING.md. MIT License.

Metadata

Release files for octavo-kit 0.6.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for octavo-kit 0.6.10
File Size Uploaded Provenance Actions
octavo_kit-0.6.10.tar.gz 588.6 kB With provenance Details for octavo_kit-0.6.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for octavo-kit 0.6.10
File Interpreter ABI Platform Actions
octavo_kit-0.6.10-py3-none-any.whl Python 3 none any Details for octavo_kit-0.6.10-py3-none-any.whl

Total release size: 1.1 MB

Release files / octavo_kit-0.6.10.tar.gz

Download URL octavo_kit-0.6.10.tar.gz
Size 588.6 kB
Tags Source
SHA-256 checksum
How to use checksums
401523410b685e61b2d25df55d1bffcdcc61bf5eca63cd537b1bd86bb97ca1c1
BLAKE2b-256 checksum
How to use checksums
b33b042267585739bbded3db30f66ed95ec64cb45826706d7e2bf337e4ff1164
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / octavo_kit-0.6.10-py3-none-any.whl

Download URL octavo_kit-0.6.10-py3-none-any.whl
Size 553.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb2e2c97148d7a0225c4f1c1ef7b955ec82ed9197efc6c377c89fdd330a5aec3
BLAKE2b-256 checksum
How to use checksums
136c37a9e9a070094af5099168a275c0c8dc269bab739fca3fd95177596c4812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for octavo-kit 0.6.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for octavo_kit-0.6.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page