引用手写的文献 PDF里是问号

发布于 2021-09-08 20:34:07

用的是 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"
},

}

查看更多

关注者
0
被浏览
1.7k
LaTeXStudio
LaTeXStudio 2021-09-08
这家伙很懒,什么也没写!

编译两次毫无问题,如果不会用,推荐用 latexmk 来编辑。

2 个回答
氦原子激发态
氦原子激发态 2021-09-08
这家伙很懒,什么也没写!

已经可以确定是我的VScode的问题 我清空了VScode的json之后 文档编译完全正常

但我不知道我的json到底是哪一句出了问题,,因为这是我从知乎抄的
他好在可以调出来SumatraPDF 然后告诉我我编的局部对应哪里 所以我不想删了他
我该怎么修json才能正常呢

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览