Extension 2.10.0, study field, German "Abschnitt" for sections; rebuild

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MatsuneMikuroiandClaude Opus 5.5 committed 2026-10-16 23:59:30 +02:00
1 parent f047b9c7ae
commit d74a2e90b4
88 files changed
+874 -437

No files matched your search

+23
View File
@@ -13,6 +13,7 @@ documents its syntax in the comment at its top; this page is the overview.
| `i18n.lua` | one source, several languages: `::: {.de}`, `[…]{.fr}`, `@tr{key}` |
| `si-mathjax.lua` | `\SI`, `\si`, `\num`, `\ang` in HTML (PDF uses siunitx) |
| `further.lua` | `::: {.further}` purple "to go further" notes, for material beside the lecture |
| `history.lua` | `::: {.history}` quiet grey boxes for historical context beside the text |
| `fenced-divs.lua` | repairs `:::` divs indented deeper than pandoc accepts (in numbered parts) |
| `theme.css` | the palette every part shares, in light and in night mode |
| `high-contrast.css` | the high-contrast pair, after GitHub's two high-contrast VS Code themes |
@@ -46,6 +47,7 @@ glossary-page: glossary.html
glossary-back: "→ definition in context" # follows `lang` (en/fr/de) by default
high-contrast: true # stronger palette, both modes (default: off)
field: math # study field, for the badge colour on the index (math, phys, cs, bi, …)
```
## Night mode
@@ -171,6 +173,9 @@ Statement.
Each solution is labelled with its part ("Solution (Part 2)"). Override with
`:::{.solution part="b"}`. Empty solutions (placeholders) are not shown.
Exercises and quizzes are numbered chapter.n; in an appendix the chapter is
its letter, A.1, A.2, … (and `handin.sh A.1` hands one in).
## Quizzes
```markdown
@@ -248,6 +253,24 @@ It renders as a purple box, headed "To go further" (following `lang`: *Vertiefun
colour with `furthercolor:` in `_quarto.yml`. Use it whenever the handwritten
pages carry a "to go further" annotation.
## Historical context
History beside the text — who found a result, an old paradox, how a notion
came about — is not material to study, so it does not go in the purple
"to go further" box (which is for optional mathematics):
```markdown
::: {.history title="Achilles and the tortoise"}
Zeno of Elea …
:::
```
It renders as a quiet grey box with an italic heading, "History" (following
`lang`: *Geschichte*, *Histoire*; override with `history: label: "…"`), in
the muted token, so night mode and high contrast follow by themselves. In a
multilingual book, wrap the body in language divs and write the title as
`title="@tr{key}"`, as for `.further`.
## Tools
**Hand in solutions.** Renders only the chosen exercises to `_handin/`, and