Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 28 May 17:26
· 68 commits to main since this release

v1.2.0 — Cross-platform post-render script (Deno/TypeScript)

Breaking change

The post-render script is now _scripts/postrender.ts, executed by the Deno
runtime bundled with Quarto >= 1.4. The previous shell scripts (postrender.sh,
postrender.bat, postrender.ps1) are archived in _scripts/legacy/ and no
longer active.

Users upgrading from v1.1.x should update the post-render line in their
profile YAML:

before

post-render: ./_scripts/postrender.sh fr _these_fr

after

post-render: ./_scripts/postrender.ts fr _these_fr

What's new

  • Single cross-platform script — identical behaviour on macOS, Linux and
    Windows with no OS-specific code paths.
  • Python no longer required for post-render — slug generation now uses
    native Unicode normalisation (String.prototype.normalize) instead of
    python3 -c "import unicodedata…".
  • Python (or R) is now exclusively required for executable code cells
    (computed figures, tables). A text-only thesis needs no scripting language
    beyond Quarto itself.

Documentation

  • Prerequisites step 3 updated: "Python or R (optional)" — only for
    executable code cells, not for post-render.
  • Docs intro chapters (FR + EN) and READMEs: new section
    "Executable code (Python, R…)" with links to
    quarto.org/docs/computations/python.html and .../r.html.
  • R mentioned as a fully supported alternative to Python for code cells,
    relevant for statistics, econometrics, ecology and life sciences.

External dependencies (unchanged)

  • pdftoppm (poppler) or magick (ImageMagick) — cover image generation
  • curl — CINES PDF/A-1b validation (optional, pre-installed on most systems)