用的是 TEXlive2021
编译器是Vscode
系统win10
遇到的问题是,手写文献引用到PDF里面是一个 【?】 cite不能用 没有数字,是问号
我的代码是
\documentclass[a4paper, 10pt]{IEEEtran}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{float}
\usepackage{stfloats}
\graphicspath{{images/}}
\begin{document}
\begin{itemize}
\item Final item. \cite{aaa}
\end{itemize}
\begin{thebibliography}{99}
\bibitem{aaa}
Wikipedia (2017, Aug. 07)
[Online].\\
Available: https://en.wikipedia.org/wiki/Armadillo
\end{thebibliography}
\end{document}
我的VScode json是知乎抄的,代码如下
{
"latex-workshop.latex.recipes": [{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "xelatex -> bibtex -> xelatex -> xelatex",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
},
{
"name": "pdflatex",
"tools": [
"pdflatex"
]
}
],
"latex-workshop.latex.tools": [{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
],
"latex-workshop.latex.autoClean.run": "onBuilt",
"latex-workshop.latex.autoBuild.run": "never",
"latex-workshop.view.pdf.viewer": "external",
"latex-workshop.view.pdf.external.viewer.command": "D:/ProgramFiles/SumatraPDF\\SumatraPDF.exe",
"latex-workshop.view.pdf.external.viewer.args": [
"%PDF%"
],
"latex-workshop.view.pdf.external.synctex.command": "D:/ProgramFiles/SumatraPDF\\SumatraPDF.exe",
"latex-workshop.view.pdf.external.synctex.args": [
"-forward-search",
"%TEX%",
"%LINE%",
"-reuse-instance",
"-inverse-search",
"\"E:/LaTEX/VScode/Microsoft VS Code\\Code.exe\" \"E:/LaTEX/VScode/Microsoft VS Code\\resources\\app\\out\\cli.js\" -r -g \"%f:%l\"",
"%PDF%"
],
"[latex]": {
"editor.defaultFormatter": "nickfode.latex-formatter"
},
}
可是我编译了两次还是
是不是我的VScode坏了qwq