XeLaTeX:!\__sys_tmp:w 的参数有一个额外的 } 和其他奇怪的错误消息

XeLaTeX:!\__sys_tmp:w 的参数有一个额外的 } 和其他奇怪的错误消息

当我尝试编译这个 mwe 时,XeLaTeX 给出了一些我不明白的奇怪错误消息。它仍然会为这个 MWE 编译 PDF,但它的开头有一个带空格的“<”——在其他文件中,它给出了同样的错误,但甚至没有创建 PDF。即使使用 MWE,它也会很多编译时间。我已经有一段时间没用过 Latex 了,但今天之前一切都正常,不知道发生了什么变化。我重新安装了所有东西,试图修复所有出错的地方。

我在 Windows 10 下使用 Texmaker 5.1.2。我使用在 Texmaker 配置菜单中配置的属性“xelatex -synctex=1 -interaction=nonstopmode %.tex”运行 XeLaTeX。

梅威瑟:

\documentclass[12pt]{article}
\begin{document}
\section{Test}
Test
\end{document}

我已经尝试过的东西:

  • 完全卸载 MiKTeX,重新安装最新版本,运行控制台,更新所有内容
  • 安装了最新版本的 TexMaker
  • MiKTeX 设置为一个用户。(之前也设置过这个
  • 将 Biber 更新到最新版本(我不知道这是否与错误有关),我切换回旧版本,仍然是同样的错误。
This is XeTeX, Version 3.14159265-2.6-0.999992 (MiKTeX 2.9.7440 64-bit) (preloaded format=xelatex 2022.1.24)  24 JAN 2022 12:16
entering extended mode
**./Test2.tex
(Test2.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2021-11-22>
(C:\Users\furex\AppData\Local\Programs\MiKTeX\tex/latex\base\article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(C:\Users\furex\AppData\Local\Programs\MiKTeX\tex/latex\base\size12.clo
File: size12.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
)
\c@part=\count179
\c@section=\count180
\c@subsection=\count181
\c@subsubsection=\count182
\c@paragraph=\count183
\c@subparagraph=\count184
\c@figure=\count185
\c@table=\count186
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
)
(C:\Users\furex\AppData\Local\Programs\MiKTeX\tex/latex\l3backend\l3backend-xet
ex.def
File: l3backend-xetex.def 2021-12-14 L3 backend support: XeTeX
 ()
! Argument of \__sys_tmp:w has an extra }.
<inserted text> 
                \par 
l.80 ...c__kernel_sys_dvipdfmx_version_int { 0 } }
                                                  
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
\q_stop \__int_eval_end: 
! Paragraph ended before \__sys_tmp:w was complete.
<to be read again> 
                   \par 
l.80 ...c__kernel_sys_dvipdfmx_version_int { 0 } }
                                                  
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Missing number, treated as zero.
<to be read again> 
                   \scan_stop: 
l.80 ...c__kernel_sys_dvipdfmx_version_int { 0 } }
                                                  
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Missing = inserted for \ifnum.
<to be read again> 
                   \tex_par:D 
l.80 ...c__kernel_sys_dvipdfmx_version_int { 0 } }
                                                  
I was expecting to see `<', `=', or `>'. Didn't.

! Missing number, treated as zero.
<to be read again> 
                   \tex_par:D 
l.80 ...c__kernel_sys_dvipdfmx_version_int { 0 } }
                                                  
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.80 ...c__kernel_sys_dvipdfmx_version_int { 0 } }
                                                  
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

! You can't use `\numexpr' in horizontal mode.
\int_compare:nNnTF ...nt_eval:w #1#2\__int_eval:w 
                                                  #3\__int_eval_end: \__prg_...
l.80 ...c__kernel_sys_dvipdfmx_version_int { 0 } }
                                                  
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

Missing character: There is no ^^@ in font [lmroman12-regular]:mapping=tex-text
;!
\c__kernel_sys_dvipdfmx_version_int=\count187
\l__color_backend_stack_int=\count188
\g__graphics_track_int=\count189
\l__pdf_internal_box=\box50
\g__pdf_backend_object_int=\count190
\g__pdf_backend_annotation_int=\count191
\g__pdf_backend_link_int=\count192
) (Test2.aux)
\openout1 = `Test2.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 2.
LaTeX Font Info:    Trying to load font information for TS1+cmr on input line 2
.

(C:\Users\furex\AppData\Local\Programs\MiKTeX\tex/latex\base\ts1cmr.fd
File: ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
)
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for TU/lmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.

[1

] (Test2.aux) ) 
Here is how much of TeX's memory you used:
 455 strings out of 413015
 9086 string characters out of 2858336
 309234 words of memory out of 3000000
 21058 multiletter control sequences out of 15000+600000
 403454 words of font info for 30 fonts, out of 8000000 for 9000
 14 hyphenation exceptions out of 8191
 33i,5n,38p,146b,109s stack positions out of 5000i,500n,10000p,200000b,80000s

Output written on Test2.pdf (1 page).```

Thanks in advance!

相关内容