fix(lecture): leave prerequisites off a lecture's pages
A target taught in one lecture can name a later lecture that builds on it, and every page printed whatever named the lecture, so L4.2 opened with five objectives from L3.2, L3.5, and L4.1. A lecture's objectives, readings, and page now show an entry only when the lecture lists its objective in teaches, or when no earlier lecture covers it. The lectures: link is unchanged, so assembly, coverage, and the reports' review lists still read it. Reading prose that cites an objective or target from another lecture now renders as its number on that lecture's page (L3.5's T 1) rather than the target's full text. The trailing (T ...) list stays this page's own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4 files changed
+222
-9
No files matched your search
@@ -564,6 +564,8 @@ The guide describes the lock as a deterrent, not a grading system of record (`do
|
||||
|
||||
`lecture readings ID` and `lecture objectives ID` write the readings block and the learning-objectives block for one lecture, as Quarto Pandoc definition lists (`--style quarto`, the default) or as plain Markdown bullets (`--style plain`).
|
||||
They print to standard output without `--out`.
|
||||
A lecture's pages leave off its prerequisites: an objective or target that names the lecture in its `lectures:` list but was covered in an earlier lecture is not printed, unless the lecture lists its objective in `teaches`.
|
||||
Prose that cites a prerequisite, such as `{t-control-at-far-steps}`, renders as its number on the page of the lecture that teaches it.
|
||||
`lecture page ID` writes the whole page for one lecture: its description, each objective with its targets (each with its explanation and its ceiling named by `policy.levels`), new and earlier terms, equations, numbers to know, common mistakes, readings with minutes, and materials.
|
||||
`lecture glossary` writes the course glossary page: every term alphabetically, then every equation and value, each with the lecture that introduces it.
|
||||
Both take `--style` and `--out`, and `lecture page` takes `--glossary-href` for where links to earlier terms point (default `glossary.html`).
|
||||
|
||||
Reference in new issue
Block a user