Skip to content

Instantly share code, notes, and snippets.

@khys
Created December 17, 2019 10:09
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save khys/ee50f6891ed1825479ed38ba79fbc896 to your computer and use it in GitHub Desktop.
Save khys/ee50f6891ed1825479ed38ba79fbc896 to your computer and use it in GitHub Desktop.
LaTeX Workshop に関する設定部分
{
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.latex.tools": [
{
"command": "ptex2pdf",
"args": [
"-l",
"-i",
"-ot",
"-kanji=utf8 -synctex=1 -interaction=nonstopmode -halt-on-error -file-line-error",
"%DOC%"
],
"name": "Step 1: ptex2pdf"
},
{
"command": "pbibtex",
"args": [
"%DOCFILE%",
"-kanji=utf8"
],
"name": "Step 2: pbibtex"
},
{
"command": "ptex2pdf",
"args": [
"-l",
"-i",
"-ot",
"-kanji=utf8 -synctex=1 -interaction=nonstopmode -halt-on-error -file-line-error",
"%DOC%"
],
"name": "Step 3: ptex2pdf"
},
{
"command": "ptex2pdf",
"args": [
"-l",
"-i",
"-ot",
"-kanji=utf8 -synctex=1 -interaction=nonstopmode -halt-on-error -file-line-error",
"%DOC%"
],
"name": "Step 4: ptex2pdf"
}
],
"latex-workshop.latex.recipes": [
{
"name": "toolchain",
"tools": [
"Step 1: ptex2pdf",
"Step 2: pbibtex",
"Step 3: ptex2pdf",
"Step 4: ptex2pdf"
]
}
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment