tuna / thuthesis

LaTeX Thesis Template for Tsinghua University
https://www.ctan.org/pkg/thuthesis
LaTeX Project Public License v1.3c
4.59k stars 1.08k forks source link

xelatex 编译时特别慢 #278

Closed shixuguo closed 7 years ago

shixuguo commented 7 years ago

环境: win 10 texlive 2017

在cmd中执行xelatex main.tex 输出如下:

xelatex main.tex This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017/W32TeX) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./main.tex LaTeX2e <2017-04-15> Babel <3.10> and hyphenation patterns for 6 language(s) loaded. (c:/texlive/2017/texmf-dist/tex/latex/thuthesis/thuthesis.cls Document Class: thuthesis 2017/03/26 5.3.2 Tsinghua University Thesis Template (c:/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty (c:/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty) (c:/texlive/2017/texmf-dist/tex/generic/oberdiek/ltxcmds.sty) (c:/texlive/2017/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty (c:/texlive/2017/texmf-dist/tex/generic/oberdiek/infwarerr.sty) (c:/texlive/2017/texmf-dist/tex/generic/oberdiek/etexcmds.sty (c:/texlive/2017/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))) (c:/texlive/2017/texmf-dist/tex/latex/ctex/ctexbook.cls (c:/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty (c:/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex) (c:/texlive/2017/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)) Document Class: ctexbook 2017/04/01 v2.4.9 Chinese adapter for class book (CTEX ) (c:/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty) (c:/texlive/2017/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty) (c:/texlive/2017/texmf-dist/tex/latex/ctex/ctexhook.sty) (c:/texlive/2017/texmf-dist/tex/latex/ctex/ctexpatch.sty) (c:/texlive/2017/texmf-dist/tex/latex/base/fix-cm.sty (c:/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def)) (c:/texlive/2017/texmf-dist/tex/latex/ms/everysel.sty) (c:/texlive/2017/texmf-dist/tex/latex/ctex/config/ctexopts.cfg) (c:/texlive/2017/texmf-dist/tex/latex/base/book.cls Document Class: book 2014/09/29 v1.4h Standard LaTeX document class (c:/texlive/2017/texmf-dist/tex/latex/base/bk12.clo


在此处卡很久,但是仍可以继续,最后编译结果也是对的。 求如何不卡

xueruini commented 7 years ago

xelatex main 3.50s user 0.23s system 107% cpu 3.452 total

再跑一次呢

shixuguo commented 7 years ago

cmd运行 xelatex main 情况和 xelatex main.tex 时一样

stone-zeng commented 7 years ago

字体缓存的问题,命令行里面用 fc-cache -f 刷新一下。字体多的话会可能会很慢。如果还是不行,可能是需要管理员权限,建议以管理员身份运行命令提示符之后再试一遍。

参考 XeLaTeX 编译时间太长是什么原因?

shixuguo commented 7 years ago

@Stone-Zeng 似乎不是这个问题,刷新字体库后,情况没有变化

shixuguo commented 7 years ago

补充: 我重新下载了github中的模板, 运行

xelatex main
bibtex main
xelatex main
xelatex main

每次运行xelatex,都卡在2

最后一次的运行结果如脚注1所示。

2:

(c:/texlive/2017/texmf-dist/tex/latex/base/book.cls
Document Class: book 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2017/texmf-dist/tex/latex/base/bk12.clo

1:

This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017/W32TeX) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 6 language(s) loaded.
(c:/texlive/2017/texmf-dist/tex/latex/thuthesis/thuthesis.cls
Document Class: thuthesis 2017/03/26 5.3.2 Tsinghua University Thesis Template
(c:/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(c:/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(c:/texlive/2017/texmf-dist/tex/latex/ctex/ctexbook.cls
(c:/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty
(c:/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(c:/texlive/2017/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def))
Document Class: ctexbook 2017/04/01 v2.4.9 Chinese adapter for class book (CTEX
)
(c:/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(c:/texlive/2017/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(c:/texlive/2017/texmf-dist/tex/latex/ctex/ctexhook.sty)
(c:/texlive/2017/texmf-dist/tex/latex/ctex/ctexpatch.sty)
(c:/texlive/2017/texmf-dist/tex/latex/base/fix-cm.sty
(c:/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def))
(c:/texlive/2017/texmf-dist/tex/latex/ms/everysel.sty)
(c:/texlive/2017/texmf-dist/tex/latex/ctex/config/ctexopts.cfg)
(c:/texlive/2017/texmf-dist/tex/latex/base/book.cls
Document Class: book 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2017/texmf-dist/tex/latex/base/bk12.clo))
(c:/texlive/2017/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def
(c:/texlive/2017/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
(c:/texlive/2017/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty
(c:/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(c:/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
(c:/texlive/2017/texmf-dist/tex/latex/base/tuenc.def))
(c:/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(c:/texlive/2017/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
(c:/texlive/2017/texmf-dist/tex/xelatex/xunicode/xunicode.sty
(c:/texlive/2017/texmf-dist/tex/latex/tipa/t3enc.def)
(c:/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2017/texmf-dist/tex/latex/graphics-def/xetex.def)))))
(c:/texlive/2017/texmf-dist/tex/xelatex/xunicode/xunicode.sty
*** Reloading Xunicode for encoding 'TU' ***
) (c:/texlive/2017/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def)
(c:/texlive/2017/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg))
(c:/texlive/2017/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
(c:/texlive/2017/texmf-dist/tex/generic/ulem/ulem.sty)
(c:/texlive/2017/texmf-dist/tex/latex/environ/environ.sty
(c:/texlive/2017/texmf-dist/tex/latex/trimspaces/trimspaces.sty))
(c:/texlive/2017/texmf-dist/tex/latex/cjk/texinput/CJKfntef.sty)))
(c:/texlive/2017/texmf-dist/tex/latex/zhnumber/zhnumber.sty
(c:/texlive/2017/texmf-dist/tex/latex/zhnumber/zhnumber-utf8.cfg))
(c:/texlive/2017/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-book.def)
(c:/texlive/2017/texmf-dist/tex/latex/ctex/ctex-cs4size.clo)
(c:/texlive/2017/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windows.def
(c:/texlive/2017/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsnew.def)
)) (c:/texlive/2017/texmf-dist/tex/latex/ctex/config/ctex.cfg)
(c:/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(c:/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(c:/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/texlive/2017/texmf-dist/tex/latex/newtx/newtxtext.sty
`newtxtext' v1.521, 2017/03/11 Text macros taking advantage of TeX-Gyre Termes
fonts (msharpe) (c:/texlive/2017/texmf-dist/tex/latex/fontaxes/fontaxes.sty)
(c:/texlive/2017/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(c:/texlive/2017/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(c:/texlive/2017/texmf-dist/tex/generic/xkeyval/xkvutils.tex)))
(c:/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
(c:/texlive/2017/texmf-dist/tex/latex/base/t1enc.def)
(c:/texlive/2017/texmf-dist/tex/latex/lm/t1lmr.fd))
(c:/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty
(c:/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def)))
(c:/texlive/2017/texmf-dist/tex/latex/newtx/newtxmath.sty
`newtxmath' v1.518, 2017/02/12 Math macros based on txfonts (msharpe)
(c:/texlive/2017/texmf-dist/tex/generic/kastrup/binhex.tex))
(c:/texlive/2017/texmf-dist/tex/latex/psnfss/courier.sty)
(c:/texlive/2017/texmf-dist/tex/latex/caption/subcaption.sty
(c:/texlive/2017/texmf-dist/tex/latex/caption/caption.sty
(c:/texlive/2017/texmf-dist/tex/latex/caption/caption3.sty)))
(c:/texlive/2017/texmf-dist/tex/latex/pdfpages/pdfpages.sty
(c:/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty)
(c:/texlive/2017/texmf-dist/tex/latex/tools/calc.sty)
(c:/texlive/2017/texmf-dist/tex/latex/eso-pic/eso-pic.sty
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(c:/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty
(c:/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg)))
(c:/texlive/2017/texmf-dist/tex/latex/pdfpages/ppxetex.def))
(c:/texlive/2017/texmf-dist/tex/latex/enumitem/enumitem.sty)
(c:/texlive/2017/texmf-dist/tex/latex/footmisc/footmisc.sty)
(c:/texlive/2017/texmf-dist/tex/latex/ntheorem/ntheorem.sty
Style `ntheorem', Version 1.33 <2011/08/15>
) (c:/texlive/2017/texmf-dist/tex/latex/tools/array.sty)
(c:/texlive/2017/texmf-dist/tex/latex/tools/longtable.sty)
(c:/texlive/2017/texmf-dist/tex/latex/booktabs/booktabs.sty)
(c:/texlive/2017/texmf-dist/tex/latex/natbib/natbib.sty)
(c:/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(c:/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(c:/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def)
(c:/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(c:/texlive/2017/texmf-dist/tex/latex/hyperref/puenc.def)
(c:/texlive/2017/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hxetex.

(c:/texlive/2017/texmf-dist/tex/latex/hyperref/hxetex.def
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/stringenc.sty)
(c:/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(c:/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty))
(c:/texlive/2017/texmf-dist/tex/latex/thuthesis/thuthesis.cfg) (./thuthesis.sty
(c:/texlive/2017/texmf-dist/tex/latex/multirow/multirow.sty)
(c:/texlive/2017/texmf-dist/tex/latex/tools/tabularx.sty)
(c:/texlive/2017/texmf-dist/tex/latex/diagbox/diagbox.sty
(c:/texlive/2017/texmf-dist/tex/latex/pict2e/pict2e.sty
(c:/texlive/2017/texmf-dist/tex/latex/pict2e/pict2e.cfg)
(c:/texlive/2017/texmf-dist/tex/latex/pict2e/p2e-xetex.def))
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp.sty
`Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
(c:/texlive/2017/texmf-dist/tex/latex/fp/defpattern.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-basic.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-addons.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-snap.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-exp.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-trigo.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-pas.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-random.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-eqn.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-upn.sty)
(c:/texlive/2017/texmf-dist/tex/latex/fp/fp-eval.sty)))
(c:/texlive/2017/texmf-dist/tex/latex/float/float.sty))
(c:/texlive/2017/texmf-dist/tex/latex/newtx/t1ntxtlf.fd) (./main.aux
(./data/chap01.aux) (./data/chap02.aux) (./data/ack.aux) (./data/resume.aux))
(c:/texlive/2017/texmf-dist/tex/latex/newtx/omlntxmi.fd)
(c:/texlive/2017/texmf-dist/tex/latex/newtx/untxexa.fd)
(c:/texlive/2017/texmf-dist/tex/latex/tipa/t3cmr.fd)
(c:/texlive/2017/texmf-dist/tex/latex/newtx/lmsntxsy.fd)
(c:/texlive/2017/texmf-dist/tex/latex/newtx/lmxntxexx.fd)
ABD: EverySelectfont initializing macros
(c:/texlive/2017/texmf-dist/tex/latex/caption/ltcaption.sty)
(c:/texlive/2017/texmf-dist/tex/latex/oberdiek/pdflscape.sty
(c:/texlive/2017/texmf-dist/tex/latex/graphics/lscape.sty))
(c:/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty
(c:/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./main.out) (./main.out)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
(./data/cover.tex)

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\\' on input line 27.

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                \kern -2.00792pt
(hyperref)                removed on input line 27.

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\lower' on input line 27.

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\hbox' on input line 27.

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                \kern -1.50562pt
(hyperref)                removed on input line 27.

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\spacefactor' on input line 27.

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@m' on input line 27.

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\\' on input line 28.

(c:/texlive/2017/texmf-dist/tex/latex/tex-gyre/t1qhv.fd)
(c:/texlive/2017/texmf-dist/tex/latex/newtx/ot1ntxtlf.fd)
(c:/texlive/2017/texmf-dist/tex/latex/newtx/untxmia.fd)
(c:/texlive/2017/texmf-dist/tex/latex/newtx/untxsym.fd)
(c:/texlive/2017/texmf-dist/tex/latex/newtx/untxsyc.fd) [1] [2] [3] [4]
[5] [6] (c:/texlive/2017/texmf-dist/tex/latex/newtx/ts1ntxtlf.fd) [1] [2]
(./main.toc [3]) (./data/denotation.tex [4] [5]) [6] (./data/chap01.tex
绗?绔
[1]
*************************************************
* fontspec warning: "script-not-exist"
*
* Font 'YouYuan' does not contain script 'CJK'.
*************************************************
*************************************************
* fontspec warning: "script-not-exist"
*
* Font 'LiSu' does not contain script 'CJK'.
*************************************************
(c:/texlive/2017/texmf-dist/tex/latex/psnfss/t1pcr.fd)
Underfull \hbox (badness 1253) in paragraph at lines 69--94
\TU/SimSun(1)/m/n/12.045 涓?\T1/pcr/m/n/12.045 \hlinewd\TU/SimSun(1)/m/n/12.045
銆倈  涓?绾?琛?鍙?浠?鐢?\T1/qhv/m/n/12.045 book-tabs \TU/SimSun(1)/m/n/12.045 鎻?渚?鐨?\T1
/pcr/m/n/12.045 \toprule\TU/SimSun(1)/m/n/12.045 銆亅 \T1/pcr/m/n/12.045 \midrule
 \TU/SimSun(1)/m/n/12.045 鍜
[2] [3] [4] [5] [6] [7] [8] [9] [10]) [11] [12] (./data/chap02.tex
绗?绔
<use  "figures/thu-whole-logo.pdf" > [13] <use  "figures/thu-fig-logo.pdf" >
<use  "figures/thu-text-logo.pdf" > <use  "figures/thu-fig-logo.pdf" >
<use  "figures/thu-text-logo.pdf" > [14] <use  "figures/thu-whole-logo.pdf" >
<use  "figures/thu-whole-logo.pdf" >) [15] (./main.lof) [16] (./main.lot)
[17] (./main.loe) (./main.bbl [18] [19]) [20] (./data/ack.tex [21]) [22]
(./data/appendix01.tex
闄勫綍 A
[23] [24] <use  "figures/thu-lib-logo.pdf" > [25] [26]
闄勫綍 B
[27] <use  "figures/thu-whole-logo.pdf" > [28]
闄勫綍 C
) [29] (./data/resume.tex [30]) [31] <use  "figures/scan-record.pdf" >
<use  "figures/scan-record.pdf" > <use  "figures/scan-record.pdf"  page1>
<use  "figures/scan-record.pdf"  page1>
<use  "figures/scan-record.pdf"  page1>
<use  "figures/scan-record.pdf"  page1>
<use  "figures/scan-record.pdf"  page1> [32]
<use  "figures/scan-record.pdf"  page2>
<use  "figures/scan-record.pdf"  page2>
<use  "figures/scan-record.pdf"  page2> [33] (./main.aux (./data/chap01.aux)
(./data/chap02.aux) (./data/ack.aux) (./data/resume.aux)) )
(see the transcript file for additional information)
Output written on main.pdf (45 pages).
Transcript written on main.log.
nanmu42 commented 7 years ago

TeX Live?我也遇到过。

尝试这几个操作:

  1. 刷新字体缓存,fc-cache -f
  2. 更新TeX Live后重复1
  3. 如果仍然不行,换用MiKTeX

曾经1,2对我很有用,直到上一次出现这个问题。

MiKTeX大法好。(逃)

stone-zeng commented 7 years ago

试试 fc-cache -r?保险的话开一下管理员权限。

shixuguo commented 7 years ago

我通过重装texlive 解决了这个问题

nanmu42 commented 7 years ago

真的不想试试MiKTeX么,编译速度比TeX Live快几倍哟。(逃)

On 2017年10月27日 週五 下午4:42 shixuguo notifications@github.com wrote:

Closed #278 https://github.com/xueruini/thuthesis/issues/278.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/xueruini/thuthesis/issues/278#event-1313497596, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxA3NuyX4JKoQM7pnU_H3is8DM6xKCRks5swZd9gaJpZM4QH9EB .

bigeagle commented 7 years ago

毕竟 MiKTeX 处在无人维护,出问题没人管,bug 满天飞的状态……

stone-zeng commented 7 years ago

TeX Live 比较官方一点,出了问题比较好追踪,而且支持跨平台。说来只用 Windows 的话,还可以试试 W32TeX (逃)

nanmu42 commented 7 years ago

鹏兄此言差矣,虽说MiKTeX的开发者兼维护者只有一个人,但是他从CTAN更新宏包和响应Issue的速度还是很快的。

它的杀手级特性应该就是一边编译一边安装所需宏包了,这么好的功能怎么能不用来做CI呢,我当初切换到MiKTeX也因为TeX Live的安装体积太巨大以及宏包管理器体验不好。

当然我们说的不是CTeX发行版魔改的那个MiKTeX…… (逃)

liptonfred commented 6 years ago

一样的问题 最后把xelatex.exe设置成win7兼容模式之后就不卡了

nanmu42 commented 6 years ago

还有这种操作? 666,点个赞。

liptonfred notifications@github.com 於 2017年12月14日 週四 下午8:56 寫道:

一样的问题 最后把xelatex.exe设置成win7兼容模式之后就不卡了

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/xueruini/thuthesis/issues/278#issuecomment-351703418, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxA3EWly-HSZ7lDVaXzmatc1rBCY2Wfks5tARr1gaJpZM4QH9EB .

shixuguo commented 6 years ago

@liptonfred 的解决方案好用!

把xelatex.exe设置成win7兼容模式之后就不卡了

zepinglee commented 6 years ago

@liptonfred 把xelatex.exe设置成win7兼容模式?大概是怎么改?加命令行参数吗?

liptonfred commented 6 years ago

@zepinglee 先找到xelatex.exe 应该是在 \texlive\2017\bin\win32 下面(我用的是TeXLive2017) 然后右键打开属性 找到兼容性改一下

shixuguo commented 6 years ago

虽然这个问题close了,但是我今天又遇到了这个问题。

然后解决办法非常的诡异。 之前 @liptonfred 提到了将xelatex设为win7兼容模式。 当时次方法的确奏效了。

在我一系列的系统折腾之后,今天编译xelatex的时候又卡在了同样的位置。 清空字体缓存,无效。

取消xelatex的win7兼容模式,居然奏效了。 重新将xelatex设为win7兼容模式,也不会卡。

所以似乎这是xelatex的bug,和是不是win7兼容也没有关系,但是设置兼容模式的确会改变什么。