突然间,`` 和 -- 不再翻译为引号和短划线

突然间,`` 和 -- 不再翻译为引号和短划线

我正在使用 TexLive 在 Arch 上运行 Xelatex,并使用 Neovim 和 Vimtex,均为最新版本。

我已经很久没用过 LaTeX 了,在系统全面升级后,我发现当前的 LaTeX 版本存在一些问题。大多数问题,比如latexmk由于 TexLive 重组导致的“不是可执行文件”,都已经解决了,但我还没有解决像这样的问题,我不知道从哪里开始。

\documentclass{article}

\begin{document}
    Curly ``quotes'' on Austro--Astrophotography---here.
\end{document}

MWE 结果的屏幕截图

日志文件

This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023/Arch Linux) (preloaded format=xelatex 2023.6.10)  6 JUL 2023 22:47
entering extended mode
 restricted \write18 enabled.
 file:line:error style messages enabled.
 %&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22> (/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2022/07/02 v1.4n Standard LaTeX file (size option)
Font mapping `tex-text.tec' for font `[lmroman10-regular]:mapping=tex-text;' not found.
)
\c@part=\count181
\c@section=\count182
\c@subsection=\count183
\c@subsubsection=\count184
\c@paragraph=\count185
\c@subparagraph=\count186
\c@figure=\count187
\c@table=\count188
\abovecaptionskip=\skip48
\belowcaptionskip=\skip49
\bibindent=\dimen140
) (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
File: l3backend-xetex.def 2023-01-16 L3 backend support: XeTeX
\g__graphics_track_int=\count189
\l__pdf_internal_box=\box51
\g__pdf_backend_object_int=\count190
\g__pdf_backend_annotation_int=\count191
\g__pdf_backend_link_int=\count192
) (./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 3.
LaTeX Font Info:    Trying to load font information for TS1+cmr on input line 3.
 (/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 2022/07/10 v2.5l Standard LaTeX font definitions
)
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for TU/lmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
 [1

] (./test.aux) ) 
Here is how much of TeX's memory you used:
 460 strings out of 476683
 9400 string characters out of 5809790
 1842018 words of memory out of 5000000
 20786 multiletter control sequences out of 15000+600000
 512295 words of font info for 33 fonts, out of 8000000 for 9000
 1348 hyphenation exceptions out of 8191
 33i,5n,38p,143b,107s stack positions out of 10000i,1000n,20000p,200000b,200000s

Output written on test.pdf (1 page).

我发现第 13 行没有找到任何内容。这可能是问题所在吗?

答案1

我可以在笔记本电脑上重现此问题;这肯定是由于 ArchLinux 对 texlive 软件包进行了重组。(我还没有来得及在笔记本电脑上处理它。)

尝试pacman -S texlive-xetex;如果这不能解决问题,请尝试pacman -S texlive-meta

(有问题的丢失的包texlive-xetex只是一个有根据的猜测;当然,我的装有全套包的桌面texlive-meta不会出现同样的问题。)

相关内容