中文参考书目中不显示“等”,而是显示“çŋĽ”

中文参考书目中不显示“等”,而是显示“çŋĽ”

我使用 Elegantpaper v0.08 模板写了一篇论文,并引用了一些中文文献。编译完文件后,我发现我的 PDF 中有些错误。参考文献中的“等”显示错误,显示为“çŋĽ”。

我的 tex 文件是这样的。

\documentclass[lang=cn, a4paper, 12pt]{elegantpaper}
\title{test file}
\author{Direct-A}
\date{\today}
\version{0.1}
\begin{document}
\maketitle
test\cite{RN1}

\bibliography{ref}
\end{document}

以及 bib 文件

@article{RN1,
  author  = {张麻子 and 李四 and 王五 and 张三},
  title   = {我就是马邦德},
  journal = {让子弹飞},
  volume  = {1},
  number  = {23},
  pages   = {210-220},
  issn    = {1007-4368},
  doi     = {10.1016/rzdf001011},
  year    = {2013},
  type    = {Journal Article}
}

我使用MiKTex 2.9Visual Studio Code 1.41.1作为编辑器和LaTeX Workshop 8.7.1扩展。编译:XeLaTeX => BibTeX => XeLaTeX => XeLaTeX

答案1

我发现了那个问题,感谢@Ulrike Fischer,也感谢大家的帮助。

添加.tex 文件后\XeTeXtracingfonts=1,我检查了日志文件。

我发现:

Requested font "SimSun/OT" at 11.99997pt
 -> C:/WINDOWS/Fonts/simsun.ttc
Requested font "SimSun/OT" at 12.00003pt
 -> C:/WINDOWS/Fonts/simsun.ttc
Requested font "KaiTi/OT:script=hani;language=dflt;" at 12.00002pt
 -> C:/Users/****/AppData/Local/Microsoft/Windows/Fonts/KaiTi.ttf
Requested font "KaiTi/B/OT:script=hani;language=dflt;" at 12.00002pt
 -> C:/Users/****/AppData/Local/Microsoft/Windows/Fonts/KaiTi.ttf

Package fontspec Info: Could not resolve font "KaiTi/B" (it probably doesn't
(fontspec)             exist).

Requested font "SimHei/OT:script=hani;language=dflt;" at 12.00002pt
 -> C:/WINDOWS/Fonts/simhei.ttf
Requested font "SimHei/I/OT:script=hani;language=dflt;" at 12.00002pt
 -> C:/WINDOWS/Fonts/simhei.ttf

Package fontspec Info: Could not resolve font "SimHei/I" (it probably doesn't
(fontspec)             exist).

Requested font "SimSun/OT:script=hani;language=dflt;" at 12.00002pt
 -> C:/WINDOWS/Fonts/simsun.ttc
Requested font "SimSun/BI/OT:script=hani;language=dflt;" at 12.00002pt
 -> C:/WINDOWS/Fonts/simsun.ttc

Package fontspec Info: Could not resolve font "SimSun/BI" (it probably doesn't
(fontspec)             exist).

Requested font "SimSun/OT:script=hani;language=dflt;" at 12.00003pt
 -> C:/WINDOWS/Fonts/simsun.ttc
Requested font "SimHei/OT:script=hani;language=dflt;" at 12.00003pt
 -> C:/WINDOWS/Fonts/simhei.ttf
Requested font "KaiTi/OT:script=hani;language=dflt;" at 12.00003pt
 -> C:/Users/****/AppData/Local/Microsoft/Windows/Fonts/KaiTi.ttf

Package fontspec Info: Font family 'SimSun(0)' created for font 'SimSun' with
(fontspec)             options
(fontspec)             [Script={CJK},BoldFont={SimHei},ItalicFont={KaiTi}].
(fontspec)              
(fontspec)              This font family consists of the following NFSS
(fontspec)             series/shapes:
(fontspec)              
(fontspec)             - 'normal' (m/n) with NFSS spec.:
(fontspec)             <->"SimSun/OT:script=hani;language=dflt;"
(fontspec)             - 'small caps'  (m/sc) with NFSS spec.: 
(fontspec)             - 'bold' (b/n) with NFSS spec.:
(fontspec)             <->"SimHei/OT:script=hani;language=dflt;"
(fontspec)             - 'bold small caps'  (b/sc) with NFSS spec.: 
(fontspec)             - 'italic' (m/it) with NFSS spec.:
(fontspec)             <->"KaiTi/OT:script=hani;language=dflt;"
(fontspec)             - 'italic small caps'  (m/scit) with NFSS spec.: 

 (test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for TU/lmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.

此外,我收到了警告VS code

Font shape `TU/SimSun(0)/bx/n' undefined
(Font)  using `TU/SimSun(0)/m/n' instead.

好的,问题改变了。

最后我将环境改为TeXLive(完整方案),就解决了。

相关内容