运行 PdfLaTeX 时突然出现此错误:
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2021.6.13) 15 JUN 2021 23:48
entering extended mode
\write18 enabled.
%&-line parsing enabled.
**\makeatletter\def\cathedral@pagesize{a5}\makeatother\makeatletter \newcommand
{\select@version}{\version@final} \makeatother\newif\ifStatisticSelected\Statis
ticSelectedfalse\newif\ifFinalSelected\FinalSelectedtrue\newif\ifDraftSelected\
DraftSelectedfalse\newif\ifKindleSelected\KindleSelectedfalse\AtBeginDocument{\
SetWatermarkText{}}\input Een-halve-Surinamer-D.tex
(./Een-halve-Surinamer-D.tex
(/zfs/texlive/2021/texmf-dist/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2021/03/17 v3.33 KOMA-Script document class (book)
(/zfs/texlive/2021/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2021/03/17 v3.33 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/zfs/texlive/2021/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2021/03/17 v3.33 KOMA-Script package (KOMA-Script-independent
basics and keyval usage)
(/zfs/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2021/03/17 v3.33 KOMA-Script package (file load hooks)
(/zfs/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2021/03/17 v3.33 KOMA-Script package (using LaTeX hooks)
(/zfs/texlive/2021/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2021/03/17 v3.33 KOMA-Script package (logo)
)))
(/zfs/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
)
Applying: [2021/05/01] Usage of raw option list on input line 252.
Already applied: [0000/00/00] compatibility for LaTeX before 2021/05/01 on inpu
t line 337.
! Missing \endcsname inserted.
<to be read again>
\relax
l.580 \FamilyProcessOptions{KOMA}
\relax
这是使用 TL2021 的。如果使用 TL2020,编译会很顺利。两个 TL 都已更新。
有人可以提示我该如何解决这个问题吗(除了使用 TL2020)?
以下是 Ulrike 要求的最小示例:
\documentclass[%
\iffalse%
parskip=half,%
\fi%
]{scrbook}
%
\begin{document}
%
\end{document}
\iffalse
这可以在 TL2020 上编译。当和被删除时,也可以在 TL2021 上编译\fi
。因为示例也可以为类编译书,我认为这是 KOMA 类 scrbook 中的一个错误。