检查清单
操作系统
Windows 11
TeX 发行版
TeX Live 2024
描述问题
今天本意是用 xampl 制作一个示例,结果发现编译出现问题。一共做了4个示例,其中3个编译错误,1个编译通过,如下所示。
我的猜测是,xampl.bib 无法用于 gbt7714 包和 authoryear 模式吗?
最小工作示例(MWE)
\documentclass{ctexart}
\usepackage{gbt7714}
\bibliographystyle{gbt7714-author-year}
\citestyle{authoryear}
\begin{document}
\nocite{*}
\bibliography{xampl}
\end{document}
用 latexmk -pdfxe 编译后,日志文件输出:
Runaway argument?
Knuth({\)]{whole-set} KNUTH D~E, {\. \newblock Four volumes: The art \ETC.
! Paragraph ended before \@lbibitem was complete.
<to be read again>
\par
l.62
?
后又做了如下 MWE:
\documentclass{ctexart}
\usepackage{gbt7714}
\bibliographystyle{gbt7714-numerical}
\citestyle{numbers}
\begin{document}
\nocite{*}
\bibliography{xampl}
\end{document}
用 latexmk -pdfxe 编译后,日志文件输出:
Runaway argument?
Knuth({\noo )]{inbook-minimal} KNUTH D~E. \newblock Fundamental algor\ETC.
! Paragraph ended before \@lbibitem was complete.
<to be read again>
\par
l.40
?
其它尝试
最后我不用 gbt7714 试了试,MWE 如下:
\documentclass{article}
\usepackage[authoryear]{natbib}
\bibliographystyle{abbrvnat}
\begin{document}
\nocite{*}
\bibliography{xampl}
\end{document}
用 latexmk -pdf 编译后,日志文件输出:
! Missing = inserted for \ifnum.
<to be read again>
\def
l.34 ...3a}}{\switchargs{--90}{1968}})]{whole-set}
?
最后发现只有如下 MWE 可以编译通过:
\documentclass{article}
\usepackage[numbers]{natbib}
\bibliographystyle{abbrv}
\begin{document}
\nocite{*}
\bibliography{xampl}
\end{document}
链接
No response
其他信息
No response
附件
No response
检查清单
操作系统
Windows 11
TeX 发行版
TeX Live 2024
描述问题
今天本意是用
xampl制作一个示例,结果发现编译出现问题。一共做了4个示例,其中3个编译错误,1个编译通过,如下所示。我的猜测是,
xampl.bib无法用于gbt7714包和authoryear模式吗?最小工作示例(MWE)
用
latexmk -pdfxe编译后,日志文件输出:Runaway argument? Knuth({\)]{whole-set} KNUTH D~E, {\. \newblock Four volumes: The art \ETC. ! Paragraph ended before \@lbibitem was complete. <to be read again> \par l.62 ?后又做了如下 MWE:
用
latexmk -pdfxe编译后,日志文件输出:Runaway argument? Knuth({\noo )]{inbook-minimal} KNUTH D~E. \newblock Fundamental algor\ETC. ! Paragraph ended before \@lbibitem was complete. <to be read again> \par l.40 ?其它尝试
最后我不用
gbt7714试了试,MWE 如下:用
latexmk -pdf编译后,日志文件输出:最后发现只有如下 MWE 可以编译通过:
链接
No response
其他信息
No response
附件
No response