Commit 3afb1d7
[action-translation] resync: kalman_2.md (#119)
* 🔄 resync kalman_2.md
* Point references to untranslated lectures at the English site
These {doc} targets exist only in lecture-python.myst until Phase 2
translates them; qualifying with the intermediate: intersphinx prefix
gives working links now, and a future resync restores local refs once
the targets exist. Program decision recorded 2026-07-18 (Matt).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Restore CJKutf8 preamble and cjk() helper, add trailing newline
The resync kept upstream's text.usetex=True config but dropped the
zh-specific LaTeX adaptation (CJKutf8 package + the cjk() wrapper that
renders Chinese under usetex), while retaining the 13 cjk() call sites
in the plotting cells. Every figure cell raised NameError: name 'cjk'
is not defined. Restored the setup block from the current translation
(same i18n-adaptation class as the dropped font blocks in #107). Also
adds the missing trailing newline (QuantEcon/action-translation#116).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Add amsfonts to LaTeX preamble so \mathbb renders under usetex
The upstream rewrite introduced \mathbb{E}[...] notation in plot titles
and labels; the CJK-adapted preamble carried only CJKutf8+amsmath, so
under text.usetex=True the \mathbb control sequence was undefined and
fig.tight_layout() raised RuntimeError (latex failed). Upstream's own
preamble is amsmath,amsfonts; this restores amsfonts alongside the
zh-specific CJKutf8 adaptation.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 370a894 commit 3afb1d7
2 files changed
Lines changed: 253 additions & 167 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments