logo

한국어

Technologies

[LATEX]컴파일 속도가 느려질 때.

2016.08.27 01:54

persona 조회 수:1451

TeXLive 2016으로 바꾼 다음에 요즘 들어 XeLaTeX 컴파일 시간이 오래 걸립니다. 어떤 파일이라고 말할 것도 없이 공통적으로 나타나는 현상이라 MWE를 작성하기도 참...


(컴파일 콘솔 덤프해서 올립니다. 입력 금지 단어가 많아서 마침표를 전부 쉼표로 바꾸었습니다)


This is XeTeX, Version 3,14159265-2,6-0,99996 (TeX Live 2016/W32TeX) (preloaded format=xelatex)

 restricted \write18 enabled,

entering extended mode

(,/report-20160808,tex

LaTeX2e <2016/03/31> patch level 3

Babel <3,9r> and hyphenation patterns for 83 language(s) loaded,

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/oblivoir,cls

Document Class: oblivoir 

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/xoblivoir,cls

Document Class: xoblivoir 2015/07/27

(c:/usr/texlive/2016/texmf-dist/tex/latex/xkeyval/xkeyval,sty

(c:/usr/texlive/2016/texmf-dist/tex/generic/xkeyval/xkeyval,tex

(c:/usr/texlive/2016/texmf-dist/tex/generic/xkeyval/xkvutils,tex

(c:/usr/texlive/2016/texmf-dist/tex/generic/xkeyval/keyval,tex))))

(c:/usr/texlive/2016/texmf-dist/tex/generic/iftex/iftex,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/oblivoir-xlua,cls

Document Class: oblivoir-xlua 2015/10/19 v0,8,3 article-like class to typeset U

TF-8 korean using memoir,

A variant of oblivoir class for Lua- or XeLaTeX,

(c:/usr/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code,tex)

(c:/usr/texlive/2016/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx,def))

(c:/usr/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/memoir/memoir,cls

Document Class: memoir 2016/05/16 v3,7f configurable book, report, article docu

ment class

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/ifetex/ifetex,sty

(c:/usr/texlive/2016/texmf-dist/tex/plain/ifetex/ifetex,tex))

(c:/usr/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex,sty)

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/memoir/mem10,clo)

(c:/usr/texlive/2016/texmf-dist/tex/latex/memoir/mempatch,sty))

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/memhangul-

x,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xetexko-va

r,sty (c:/usr/texlive/2016/texmf-dist/tex/xetex/xetexko/xetexko-space,sty

(c:/usr/texlive/2016/texmf-dist/tex/generic/unicode-data/load-unicode-xetex-cla

sses,tex 

load-unicode-xetex-classes,tex v1,5 (2016-06-22)

Reading Unicode east Asian character class data

# LineBreak-9,0,0,txt 

# Date: 2016-05-26, 01:00:00 GMT [KW, LI] 

# EastAsianWidth-9,0,0,txt 

# Date: 2016-05-27, 17:00:00 GMT [KW, LI] 

)) (c:/usr/texlive/2016/texmf-dist/tex/xetex/xetexko/xetexko-josa,sty)

(c:/usr/texlive/2016/texmf-dist/tex/xetex/xetexko/xetexko-vertical,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-dotemp

h,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-hyper,

sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/xob-font,s

ty (c:/usr/texlive/2016/texmf-dist/tex/xetex/xetexko/xetexko-font,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec-xetex,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/base/fontenc,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/euenc/eu1enc,def)

(c:/usr/texlive/2016/texmf-dist/tex/latex/euenc/eu1lmr,fd))


*** 여기서 1분 정도 정체 되다가 다음 줄로 넘어갑니다 ***


(c:/usr/texlive/2016/texmf-dist/tex/xelatex/xunicode/xunicode,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/tipa/t3enc,def

(c:/usr/texlive/2016/texmf-dist/tex/latex/euenc/eu1lmss,fd))

(c:/usr/texlive/2016/texmf-dist/tex/latex/graphics/graphicx,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/graphics/graphics,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/graphics/trig,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics,cfg)

(c:/usr/texlive/2016/texmf-dist/tex/latex/graphics-def/xetex,def))))

(c:/usr/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec,cfg)))))

(c:/usr/texlive/2016/texmf-dist/tex/latex/cjk-ko/kolabels-utf,sty))

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangu

l-common,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memhangu

l-patch,sty) (c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/hologo,sty

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds,sty)

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr,sty)

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys,sty

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds,sty))

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys,sty)

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds,sty)

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/ifvtex,sty)))

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/memucs-s

etspace,sty

Package: `memucs-setspace', a modified version of `setspace', 6,7-memucs8 <2007

/09/21>

)) (c:/usr/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref,sty

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-hyperref,sty

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-generic,sty))

(c:/usr/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/hyperref/pd1enc,def)

(c:/usr/texlive/2016/texmf-dist/tex/latex/latexconfig/hyperref,cfg)

(c:/usr/texlive/2016/texmf-dist/tex/latex/url/url,sty))

(c:/usr/texlive/2016/texmf-dist/tex/latex/memoir/memhfixc,sty)


Package hyperref Message: Driver (autodetected): hxetex,


(c:/usr/texlive/2016/texmf-dist/tex/latex/hyperref/hxetex,def

(c:/usr/texlive/2016/texmf-dist/tex/latex/hyperref/puenc,def)

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/stringenc,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/oberdiek/rerunfilecheck,sty))

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-toclo

f,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/kotex-oblivoir/memhangul-ucs/ob-korea

nappendix,sty))))

(c:/usr/texlive/2016/texmf-dist/tex/latex/geometry/geometry,sty)

(c:/usr/texlive/2016/texmf-dist/tex/latex/tabu/tabu,sty

(c:/usr/texlive/2016/texmf-dist/tex/latex/varwidth/varwidth,sty))

(,/report-20160808,aux) (c:/usr/texlive/2016/texmf-dist/tex/latex/tipa/t3cmr,fd

) (c:/usr/texlive/2016/texmf-dist/tex/latex/hyperref/nameref,sty

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/gettitlestring,sty))

Redoing nameref's sectioning

Redoing nameref's label

(,/report-20160808,out) (,/report-20160808,out)

*geometry* driver: auto-detecting

*geometry* detected driver: xetex

(c:/usr/texlive/2016/texmf-dist/tex/generic/oberdiek/se-ascii-print,def)

Underfull \hbox (badness 10000) in paragraph at lines 24--24

[] \EU1/NanumMyeongjo(0)/m/n/10 칼 립 소 나 이 트 \EU1/lmr/m/n/10 (Calypso


Underfull \hbox (badness 1009) in paragraph at lines 24--24

[] \EU1/NanumMyeongjo(0)/m/n/10 이 반 아 리 스 테 귀 에 타 \EU1/lmr/m/n/10 (Ivan

[1] (,/report-20160808,aux) )

(see the transcript file for additional information)

Output written on report-20160808,pdf (1 page),

SyncTeX written on report-20160808,synctex,gz,

Transcript written on report-20160808,log,


한글 옵션이 없을 때에는 안 걸리는 걸 보면. xunicode,sty 처리 과정에서 정체가 발생하는 듯합니다.

뭔가 해결 방안이 있을까요...



eu1lmr.fd 때문에 컴파일 속도가 느려지는 문제는 비단 여기에서만 해당되는 것이 아닌것 같습니다.
tex 관련 StackExchange 사이트에도 문의가 있고, 그에 대한 해결책도 제시되어 있습니다.


fc-cache를 실행하면 향후 속도 향상을 위해서 폰트를 캐싱해서 저장하는 디렉토리가 있는 모양인데요,
fc-cache 프로그램이 그 캐시 디렉토리에 대한 접근 권한이 없어서 아무리 fc-cache를 실행해도
폰트가 캐싱되지 않으니 컴파일 속도에 변함이 없다는 내용입니다.

해결책으로는 fc-cache 프로그램을 모든 디렉토리를 접근할 권한이 있는 administrator 권한으로 실행시키던가
아니면 캐시 디렉토리의 접근 권한을 모든 사용자들이 읽고 쓸수 있도록 풀어주던가.