Creates a Jupyter notebook with Jupytext pairing and registers it in _quarto.yml. Use when adding a new notebook.
Create a new Jupyter notebook with Jupytext pairing and register it in the manuscript.
$ARGUMENTS — the notebook name and title (e.g., "notebook-02 Regression Analysis")notebook-NN.ipynb (sequential numbering)notebooks/ for existing notebooks to determine the next number.ipynb file in notebooks/ with:
import sys; sys.path.insert(0, ".."); from config import set_seeds, DATA_DIR; set_seeds()source("../config.R"); set_seeds()clear allset seed 42.md pair by running: uv run jupytext --set-formats ipynb,md:myst notebooks/<name>.ipynb_quarto.yml under manuscript.notebooks:
- notebook: notebooks/<name>.ipynb
title: "N<number>: <title>"
quarto render notebooks/<name>.ipynb