我最近刚刚升级到 Tex Live 2015,并且我有几个使用 eledmac 包的文件。使用新发行版时,我的 .log 文件中出现此错误:
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:84: Undefined control sequence.
<recently read> \reserveinserts
l.84 \reserveinserts
{32}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:84: LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.84 \reserveinserts{3
2}
(/usr/local/texlive/2015/texmf-dist/tex/latex/bigfoot/suffix.sty) (/usr/local/texlive/2015/texmf-dist/tex/generic/xstring/xstring.sty (/usr/local/texlive/2015/texmf-dist/tex/generic/xstring/xstring.tex)) (/usr/local/texlive/2015/texmf-dist/tex/latex/ms/ragged2e.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/ms/everysel.sty))
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:98: Undefined control sequence.
<recently read> \reserveinserts
l.98 \reserveinserts
{32}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:98: LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.98 \reserveinserts{3
2}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
/usr/local/texlive/2015/texmf-dist/tex/latex/eledmac/eledmac.sty:3294: No room for a new \count .
\ch@ck ...\else \errmessage {No room for a new #3}
\fi
l.3294 ...r\newseries\expandafter{\default@series}
)
这显然与 eledmac 包有关。有什么提示可以告诉我如何修复这个问题吗?
谢谢
答案1
安装 CTAN 中的最新版本的 eledmac,或者等待 tlmgr 安装。这与最新版本 LaTeX 2015 中 etoolbox 行为的变化有关。它已修复,但在 TeXLive 2014 冻结和 TeXLive2015 发布之间。
您还可以添加
\usepackage{etex}
在加载 eledmac 之前。
答案2
我遇到了差不多相同的问题。我使用最新版本的 MikTeX,当我使用 XeLaTeX 进行编译时,我得到了与 fdiog 相同的错误消息。
eledmac.sty
我已经从最新版本的软件包创建了更新。但它并没有解决我的问题。当我添加时也没有\usepackage{etex}
。