TL 更新是否会影响 fixme 对选项的处理?

TL 更新是否会影响 fixme 对选项的处理?

几个小时前,以下代码运行良好(尽管在较大的文档中):

\documentclass{article}
\RequirePackage{xkvltxp}
\RequirePackage[draft,envface=\itshape,marginface={\footnotesize\setlength{\baselineskip}{1em}}]{fixme}   

\begin{document}

  This is some text.

\end{document}

这是使用 TeX Live 2014 并进行了几天前的更新。

几分钟前,我更新了 TeX Live,发现代码失败:

This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./prawf3.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2014/texmf-dist/tex/latex/xkeyval/xkvltxp.sty
(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/keyval.tex)))
! TeX capacity exceeded, sorry [input stack size=5000].
\@nomath ...e \@font@warning {Command \noexpand #1
                                                  invalid in math mode}\fi 
l.4 

!  ==> Fatal error occurred, no output PDF file produced!

罪魁祸首似乎是\footnotesize。也就是说,下面的代码编译时没有错误:

\documentclass{article}
\RequirePackage{xkvltxp}
\RequirePackage[draft,envface=\itshape,marginface={\setlength{\baselineskip}{1em}}]{fixme}  

\begin{document}

  This is some text.

\end{document}

但是,在类文件中,我必须将这个marginface键全部删除。如果我只删除字体大小命令,我会收到有关\else未定义控制序列的投诉。此外,字体大小的这个代码恰好包含在执行的默认选项中fixme.sty

\ExecuteOptionsX[fx]<%
  mode,status,lang,log,note,face,layout,envlayout,targetlayout>{%
  mode=singleuser,%
  status=final,%
  lang=english,%
  langtrack=false,%
  defaultlang=english,%
  nosilent,%
  author=fixme,%
  target=thepage,%
  layout=margin,%
  innerlayout={layout=inline},%
  envlayout=plain,%
  targetlayout=plain,%
  inlineface=\bfseries,%
  marginface=\footnotesize,%
  envface=\bfseries,%
  targetface=\itshape}

值得注意的是,以下是 TeX Live 更新的输出,列出了更新的软件包:

tlmgr: package repository http://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet
tlmgr: saving backups to /usr/local/texlive/2014/tlpkg/backups
[ 1/29, ??:??/??:??] update: biblatex [6723k] (34385 -> 34433) ... done
[ 2/29, 00:18/01:21] update: biblatex-true-citepages-omit [72k] (33305 -> 34437) ... done
[ 3/29, 00:23/01:43] update: bidi [3069k] (33647 -> 34458) ... done
[ 4/29, 00:28/01:26] update: cd [85k] (15878 -> 34452) ... done
[ 5/29, 00:30/01:32] update: context-letter [25k] (31331 -> 34432) ... done
[ 6/29, 00:34/01:44] update: context-simpleslides [858k] (28300 -> 34438) ... done
[ 7/29, 00:37/01:44] update: cuisine [266k] (15878 -> 34453) ... done
[ 8/29, 00:39/01:47] update: dehyph-exptl [298k] (34404 -> 34459) ... done
[ 9/29, 00:41/01:50] update: documentation [95k] (34417 -> 34426) ... done
[10/29, 00:48/02:07] update: dvips [610k] (34213 -> 34421) ... done
[11/29, 00:51/02:09] update: europecv [628k] (15878 -> 34454) ... done
[12/29, 00:54/02:09] update: grundgesetze [231k] (33289 -> 34439) ... done
[13/29, 01:02/02:26] update: hyph-utf8 [1675k] (33887 -> 34440) ... done
[14/29, 01:06/02:18] update: hyphen-base [22k] (31131 -> 34424) ... done
[15/29, 01:08/02:22] update: kotex-oblivoir [358k] (34243 -> 34430) ... done
[16/29, 01:13/02:28] update: media9 [4989k] (34386 -> 34456) ... done
[17/29, 01:21/02:03] update: newpx [914k] (33379 -> 34431) ... done
[18/29, 01:30/02:11] update: pdftex [2871k] (34215 -> 34421) ... done
[19/29, 01:36/02:03] update: pst-func [2945k] (34156 -> 34441) ... done
[20/29, 01:41/01:55] update: tetex [383k] (34229 -> 34421) ... done
[21/29, 02:00/02:15] update: tex4ht [872k] (33926 -> 34450) ... done
[22/29, 02:05/02:16] update: texlive-docindex [204k] (34396 -> 34445) ... done
[23/29, 02:08/02:18] update: texlive-scripts [85k] (34371 -> 34451) ... done
[24/29, 02:10/02:20] update: thalie [389k] (31018 -> 34435) ... done
[25/29, 02:12/02:20] update: tugboat [800k] (32478 -> 34457) ... done
[26/29, 02:15/02:20] update: xkeyval [439k] (34020 -> 34442) ... done
[27/29, 02:17/02:20] auto-install: fullminipage (34455) [245k] ... done
[28/29, 02:18/02:20] auto-install: latexdemo (34434) [457k] ... done
[29/29, 02:19/02:19] update: collection-latexextra [5k] (34302 -> 34455) ... done
tlmgr: package log updated: /usr/local/texlive/2014/texmf-var/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
running mtxrun --generate ...
done running mtxrun --generate.
running updmap-sys ...
done running updmap-sys.
regenerating language.dat
regenerating language.def
regenerating language.dat.lua
regenerating fmtutil.cnf in /usr/local/texlive/2014/texmf-var
running fmtutil-sys --no-error-if-no-engine=luajittex --no-error-if-no-format --byengine pdftex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex --no-error-if-no-format --byengine pdftex.
running fmtutil-sys --no-error-if-no-engine=luajittex --byhyphen "/usr/local/texlive/2014/texmf-var/tex/generic/config/language.dat" ...
done running fmtutil-sys --no-error-if-no-engine=luajittex --byhyphen "/usr/local/texlive/2014/texmf-var/tex/generic/config/language.dat".
running fmtutil-sys --no-error-if-no-engine=luajittex --byhyphen "/usr/local/texlive/2014/texmf-var/tex/generic/config/language.def" ...
done running fmtutil-sys --no-error-if-no-engine=luajittex --byhyphen "/usr/local/texlive/2014/texmf-var/tex/generic/config/language.def".
running fmtutil-sys --no-error-if-no-engine=luajittex --byhyphen "/usr/local/texlive/2014/texmf-var/tex/generic/config/language.dat.lua" ...
done running fmtutil-sys --no-error-if-no-engine=luajittex --byhyphen "/usr/local/texlive/2014/texmf-var/tex/generic/config/language.dat.lua".

我猜的更新xkeyval可能会受到影响,但有人知道发生了什么事或有什么解决办法吗?(我猜这可能会影响到不仅仅是虽然fixme我不知道为什么\footnotesize应该比或更成问题\itshape\setlength)我不明白错误消息中对的引用math mode

相关内容