Creates a Quarto notebook (.qmd) and registers it in _quarto.yml. Use when adding a new notebook.
Create a new Quarto notebook (.qmd) and register it in the manuscript.
$ARGUMENTS — the notebook name and title (e.g., "notebook-04 Spatial Analysis")notebook-NN.qmd (sequential numbering)notebooks/ for existing notebooks to determine the next number.qmd file in notebooks/ with:
title and jupyter kernel (ask user: Python → python3, R → ir, Stata → nbstata)import random; import numpy as np; random.seed(42); np.random.seed(42)set.seed(42)clear all followed by set seed 42../images/<label>.png../tables/<label>.csv, ../tables/<label>.md, and ../tables/<label>.texCLAUDE.md § Notebook Conventions for language-specific export patterns_quarto.yml under manuscript.notebooks:
- notebook: notebooks/<name>.qmd
title: "<title>"
index.qmd:
{{< embed notebooks/<name>.qmd#fig-label >}}{{< include tables/<label>.md >}} (with a bold caption and .table-notes div)quarto render notebooks/<name>.qmd