当我将我的 MacBook 从 Yosemite 迁移到 EI Captain 时,使用 Sublime Text 3 + LatexTools 编译 latex 无法工作。所以我重新安装了 MacTex 2015 并将 /Library/Tex/texbin 添加到路径。但它仍然不起作用。这些是我在 Yosemite 上编译 .tex 文件时出现的错误消息。除了这些错误消息之外,还有很多警告,例如
"/usr/local/texlive/2015/texmf-dist/tex/latex/tools/.tex:19009: LaTeX Font Warning: Font shape `^^@^^@^^@^^@^^..."
有人知道奇怪数字“19009”的含义吗?
这是所有错误发生的地方。
\int_const:Nn \c_sys_month_int { \tex_month:D }
SimpleBuilder: pdflatex run 1; done.
错误:
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing number, treated as zero. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing = inserted for \ifnum. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing number, treated as zero. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: You can't use `\numexpr' in vertical mode. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing number, treated as zero. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing number, treated as zero. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing = inserted for \ifnum. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing number, treated as zero. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: You can't use `\numexpr' in vertical mode. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: Missing $ inserted. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3-code.tex:19009: LaTeX Error: Missing \begin{document}. [...st:Nn \c_sys_month_int { \tex_month:D }]
/usr/local/texlive/2015/texmf-dist/tex/latex/tools/.tex:19009: TeX capacity exceeded, sorry [grouping levels=255]. [...st:Nn \c_sys_month_int { \tex_month:D }]