Convert a macroeconomics analysis notebook into a publication-ready Quarto module with structured sections, consistent captions, and concise teaching narrative. Use when notebook experiments are ready and need to become a stable `.qmd` page for the course website.
Transform notebook outputs into a reproducible Quarto teaching module.
Require these inputs:
NN_topic_slug.ipynb).automation_drafts/manifests/NN_topic_slug.yaml).If manifest is missing, stop and request the module spec step first.
Follow this order:
NN_topic_slug.qmd with:
Keep teaching prose:
pt-PT)Avoid:
For every major output:
fig-cap or table captionfig-, tbl-)01_portugal_eurostat.qmd and 02_portugal_contas_nacionais_plus.qmdtemplate="plotly_white" and centered chart titles (title_x=0.5) unless a justified exception existsIf a figure is exploratory and not publication-worthy, exclude it.
Ensure:
If the notebook depends on local files, document file origin and expected path in module text or comments.
Allow technical terms in English only when they are standard in economics usage. Prefer Portuguese wording first and include English terms in parentheses when useful.
Produce:
NN_topic_slug.qmd ready for integration.pt-PT)01_ and 02_