看看这个最小的例子。当 babel 包被注释掉时,它工作正常。
\documentclass{article}
\usepackage[dutch]{babel}
\begin{document}
<<>>=
abc() #a non-existing function
@
\end{document}
使用 babel 包我得到这个错误。错误也取决于语言。英语,法语或意大利语没有错误。荷兰语、德语或丹麦语有误。带有变音符号(ä、ö、...)的语言似乎会出现此问题
! Argument of \language@active@arg" has an extra }.
<inserted text>
\par
l.67 ...\#\# Error: could not find function "abc"}
}\end{kframe}
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.