latex+vscode+SumatraPDF的配置问题
【代码】latex+vscode+SumatraPDF的配置问题。
·
//latex
"latex-workshop.latex.tools": [
// {
// "name": "latexmk",
// "command": "latexmk",
// "args": [
// "-pdfxe",
// "--shell-escape",
// "-pvc",
// "-cd",
// "-time",
// "%DOCFILE%"
// ]
// },
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOCFILE%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "makeindex",
"command": "makeindex",
"args": ["%DOCFILE%.nlo", "-s", "nomencl.ist", "-o", "%DOCFILE%.nls"]
},
{
"name": "biber",
"command": "biber",
"args": ["%DOCFILE%"]
}
],
"latex-workshop.latex.recipes": [
// {
// "name": "latexmk",
// "tools": [
// "latexmk"
// ]
// },
{
"name": "xelatex",
"tools": ["xelatex"]
},
{
"name": "xe->mkind->bib->xe*2",
"tools": ["xelatex", "makeindex", "biber", "xelatex", "xelatex"]
},
{
"name": "pdf->mkind->bib->pdf*2",
"tools": ["pdflatex", "makeindex", "biber", "pdflatex", "pdflatex"]
},
{
"name": "xe->bib->xe->xe",
"tools": ["xelatex", "biber", "xelatex", "xelatex"]
},
{
"name": "pdflatex",
"tools": ["pdflatex"]
},
{
"name": "pdf->bib->pdf->pdf",
"tools": ["pdflatex", "biber", "pdflatex", "pdflatex"]
}
],
"latex-workshop.view.pdf.viewer": "external",
"latex-workshop.view.pdf.external.viewer.command": "E:\\path\\latex\\SumatraPDF-3.4.6-64.exe",
"latex-workshop.view.pdf.external.viewer.args": ["%PDF%"],
"latex-workshop.view.pdf.external.synctex.command": "E:\\path\\latex\\SumatraPDF-3.4.6-64.exe", // 注意修改路径
"latex-workshop.view.pdf.external.synctex.args": [
"-forward-search",
"%TEX%",
"%LINE%",
"-reuse-instance",
"-inverse-search",
"code \"F:\\Users\\29587\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\out\\cli.js\" -r -g \"%f:%l\"", // 注意修改路径
"%PDF%"
],
"latex-workshop.latex.recipe.default": "lastUsed",
更多推荐
所有评论(0)