curvenote build
curvenote build writes the exports listed in your pages’ frontmatter, or the formats you name. With no format flags it builds the exports defined in the project; add files to build only those.
curvenote build --pdf
curvenote build paper.md --docx
curvenote build --allExports land in _build/exports unless an export’s output says otherwise. curvenote clean removes them again.
Formats¶
| Flag | Builds |
|---|---|
--pdf | PDF, through LaTeX or Typst depending on the template. |
--tex | LaTeX source. |
--typst | Typst source. |
--word, --docx | Word document. |
--md | MyST Markdown. |
--jats, --xml | JATS XML. |
--meca | A MECA zip, for submission systems that take one. |
--cff | A citation file (CITATION.cff). |
--site | The content of a Curvenote site, as deploy uploads it. |
--html | A static HTML website. |
-a, --all | Every export in the project. |
--force builds a format even for pages that don’t list that export in their frontmatter, and -o, --output <file> sets where a single export is written.
Checks and continuous integration¶
--strict: summarize the warnings and exit with an error if there are any errors, so a CI job fails.--check-links: check that every external link resolves, and report the broken ones.--ci: say that the command is running in continuous integration.--doi-bib: writemyst.doi.bibwith BibTeX for every citation loaded from a DOI.
Notebooks and watching¶
--execute: run the Jupyter Notebooks before exporting them;--execute-parallel <n>sets how many at once.--watch: rebuild when a file changes.--max-size-webp <MB>: the largest image converted to WebP, 1.5 MB by default.--port <port>and--keep-host: the server settings used by--html, as incurvenote start.
- DOI
- Digital Object Identifier
- HTML
- Hypertext Markup Language
- JATS
- Journal Article Tag Suite
- MyST
- Markedly Structured Text
- Portable Document Format