你好,我尝试使用 xelatex myfile.tex 编译一个包含 pstricks 图形的文件,并收到以下消息:
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
kpathsea: Running mktexfmt xelatex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
mktexfmt: /usr/share/texmf/web2c/fmtutil.cnf
mktexfmt: /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
mktexfmt: /home/jacob/.texlive2017/texmf-config/web2c/fmtutil.cnf
mktexfmt [INFO]: writing formats under /home/jacob/.texlive2017/texmf-var/web2c
mktexfmt [INFO]: --- remaking xelatex with xetex
mktexfmt: running `xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini' ...
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017/Debian) (INITEX)
restricted \write18 enabled.
entering extended mode
(/usr/share/texmf/tex/latex/latex_Tosh/latexconfig/xelatex.ini
! I can't find file `unicode-letters'.
l.6 \input unicode-letters
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.6 \input unicode-letters
No pages of output.
Transcript written on xelatex.log.
mktexfmt [ERROR]: running `xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini >&2 </dev/null' return status 1
mktexfmt [ERROR]: return error due to options --strict
mktexfmt [INFO]: Disabled formats: 3
mktexfmt [INFO]: Not selected formats: 42
mktexfmt [INFO]: Failed to build: 1 (xetex/xelatex)
mktexfmt [INFO]: Total formats: 46
mktexfmt [INFO]: exiting with status 1
I can't find the format file `xelatex.fmt'!
之前我将 xetex-pstricks 包放入了我的 texmf 树中,希望能解决这个问题。有人能帮忙吗?谢谢。
@raaja 链接https://arxiv.org/abs/1006.3153可以正常运行。你真的想让我复制 article.tex 吗?@Ulrike 没有 xetex.ini,日志文件现在是:这是 XeTeX,版本 3.14159265-2.6-0.99998 (TeX Live 2017/Debian) (预加载格式=xelatex) 已启用限制 \write18。
kpathsea:正在运行 mktexfmt xelatex.fmt mktexfmt:mktexfmt 正在使用以下 fmtutil.cnf 文件(按优先顺序):mktexfmt:/usr/share/texmf/web2c/fmtutil.cnf mktexfmt:/usr/share/texlive/texmf-dist/web2c/fmtutil.cnf mktexfmt:mktexfmt 正在使用以下 fmtutil.cnf 文件写入更改:mktexfmt:/home/jacob/.texlive2017/texmf-config/web2c/fmtutil.cnf mktexfmt [INFO]:在 /home/jacob/.texlive2017/texmf-var/web2c 下写入格式 mktexfmt [INFO]:--- 使用 xetex 重新制作 xelatex mktexfmt:正在运行`xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini' ... 这是 XeTeX,版本 3.14159265-2.6-0.99998 (TeX Live 2017/Debian) (INITEX) 限制 \write18 已启用。进入扩展模式 (/usr/share/texlive/texmf-dist/tex/generic/tex-ini-files/xelatex.ini (/usr/share/texmf/tex/latex/latex_Tosh/base/latex.ltx (/usr/share/texmf/tex/latex/latex_Tosh/base/texsys.cfg)./texsys.aux 找到
@currdir 设置为:./.
假设 \openin 和 \input 具有相同的搜索路径。
定义 UNIX/DOS 风格的文件名解析器。
catcodes、寄存器、与 TeX 2 的兼容性、参数、LaTeX2e <2009/09/24>
黑客、控制、标准、间距、文件、字体编码、长度、
使用本地配置文件 fonttext.cfg
======================================== (/usr/share/texmf/tex/latex/latex_Tosh/base/fonttext.cfg (/usr/share/texmf/tex/latex/latex_Tosh/base/fonttext.ltx === 不要修改此文件,而是使用 .cfg 文件 ===
(/usr/share/texmf/tex/latex/latex_Tosh/base/omlenc.def)(/usr/share/texmf/tex/latex/latex_Tosh/base/t1enc.def)(/usr/share/texmf/tex/latex/latex_Tosh/base/ot1enc.def)(/usr/share/texmf/tex/latex/latex_Tosh/base/omsenc.def)(/usr/share/texmf/tex/latex/latex_Tosh/base/t1cmr.fd)(/usr/share/texmf/tex/latex/latex_Tosh/base/ot1cmr.fd)(/usr/share/texmf/tex/latex/latex_Tosh/base/ot1cmss.fd)
(/usr/share/texmf/tex/latex/latex_Tosh/base/ot1cmtt.fd)))
使用本地配置文件 fontmath.cfg 感谢您的帮助。