您的位置:首页 > 汽车 > 新车 > 微信网页版是什么_精品课程教学网站_织梦seo排名优化教程_免费拓客软件

微信网页版是什么_精品课程教学网站_织梦seo排名优化教程_免费拓客软件

2024/12/25 1:15:54 来源:https://blog.csdn.net/weixin_42888638/article/details/144570066  浏览:    关键词:微信网页版是什么_精品课程教学网站_织梦seo排名优化教程_免费拓客软件
微信网页版是什么_精品课程教学网站_织梦seo排名优化教程_免费拓客软件

最近在写论文,overleaf的免费使用次数受限,因此需要使用本地的形式进行编译。

安装TEXLive

下载地址:https://mirror-hk.koddos.net/CTAN/systems/texlive/Images/

在这里插入图片描述

下载完成直接点击iso进行安装操作。

安装LATEX Workshop插件

在这里插入图片描述

设置VsCode文件

点击vscode右下角的设置按钮,然后进入setting

在这里插入图片描述
搜索框里输入recipe,然后找到Edit_in_settings.json,点击进入。
将下面的内容复制进行重新启动即可。

setting.json

{"latex-workshop.latex.autoBuild.run": "onSave","latex-workshop.showContextMenu": true,"latex-workshop.intellisense.package.enabled": true,"latex-workshop.message.error.show": false,"latex-workshop.message.warning.show": false,"latex-workshop.latex.tools": [{"name": "xelatex","command": "xelatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOCFILE%"]},{"name": "pdflatex","command": "pdflatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOCFILE%"]},{"name": "latexmk","command": "latexmk","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%OUTDIR%","%DOCFILE%"]},{"name": "biber","command": "biber","args": ["%DOCFILE%"]},{"name": "bibtex","command": "bibtex","args": ["%DOCFILE%"]},{"name": "bibtex","command": "bibtex","args": ["%DOCFILE%"]}],"latex-workshop.latex.recipes": [{"name": "XeLaTeX","tools": ["xelatex"]},{"name": "PDFLaTeX","tools": ["pdflatex"]},{"name": "LaTeXmk","tools": ["latexmk"]},{"name": "xelatex -> biber -> xelatex","tools": ["xelatex", "biber", "xelatex"]},{"name": "pdflatex -> bibtex -> pdflatex*2","tools": ["pdflatex","bibtex","pdflatex","pdflatex"]},],"latex-workshop.latex.clean.fileTypes": ["*.aux","*.bbl","*.blg","*.idx","*.ind","*.lof","*.lot","*.out","*.toc","*.acn","*.acr","*.alg","*.glg","*.glo","*.gls","*.ist","*.fls","*.log","*.fdb_latexmk"],"latex-workshop.latex.autoClean.run": "onFailed","latex-workshop.latex.recipe.default": "lastUsed","latex-workshop.view.pdf.internal.synctex.keybinding": "double-click","explorer.confirmDelete": false
}

可能会遇到的问题

  • 参考文献编译不进去
    在这里插入图片描述
    那么就采用命令的形式进行编译
xelatex main.tex
biber main
xelatex main.tex

手动的话,这里选
在这里插入图片描述

  • 参考文献编译两遍

使用info/bib-resource={./refs.bib},就不要使用% \printbibliography

参考资料

  • VSCode中配置LATEX(Windows系统,自用)
  • win10+vscode+texlive 配置latex编辑环境

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com