
Mac의 texlive를 버전 2016으로 업데이트한 후 내 문서를 컴파일할 수 없습니다. texlive 2013에서는 제대로 작동합니다.
예는 다음과 같습니다.
\documentclass[12pt]{report}
\usepackage[vlined,linesnumbered,noend,ruled]{algorithm2e}
\usepackage{xeCJK}
\begin{document}
hello
\end{document}
출력:
This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/report.cls
Document Class: report 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2016/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/xspace.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/relsize/relsize.sty)
********************************************************
Package `algorithm2e' Release 5.1 -- october 19 2015 --
- [email protected] mailing list for announcement about releases
- [email protected] mailing list for discussion about package
subscribe by emailing [email protected] with 'subscribe <list> <firstname name>'
- Author: Christophe Fiorio ([email protected])
********************************************************
) (/usr/local/texlive/2016/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def))
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.st
y) (/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
! TeX capacity exceeded, sorry [save size=80000].
<argument> ..._xeCJK_begin_int =\l__xeCJK_tmp_int
\int_incr:N \l__xeCJK_begi...
l.642 \xeCJKResetCharClass
No pages of output.
Transcript written on test.log.
저장 크기를 확대하려고 시도했지만 작동하지 않았습니다. 이 문제를 해결하는 방법에 대한 아이디어가 있습니까?
답변1
algorithm2e.sty
의 1061번째 줄에 다음과 같은 문제가 있습니다 .
\newboolean{algocf@displaygroupmarkers}{\setboolean{algocf@displaygroupmarkers}{false}
하지만 {
이전의 버팀대는 \setboolean
잘못되었습니다(그리고 균형이 맞지 않습니다).
이는 대부분 눈에 띄지 않으며 로그 파일에 경고만 표시됩니다. 의 경우 xeCJK
, 열린 그룹에서 수많은 할당이 수행되어 메모리가 고갈됩니다.
개발자가 문제(이미 몇 달 전에 보고됨)를 수정할 때까지 해결 방법은 파일의 복사본을 만들고 잘못된 부분을 제거하여 {
"개인" TeX 트리나 기본 파일과 동일한 폴더에 배치하는 것입니다.