Skip to content

Instantly share code, notes, and snippets.

@motchy869
Created January 24, 2025 10:12
Show Gist options
  • Select an option

  • Save motchy869/0da34a7d8ca22d59fe38ab4371b0e548 to your computer and use it in GitHub Desktop.

Select an option

Save motchy869/0da34a7d8ca22d59fe38ab4371b0e548 to your computer and use it in GitHub Desktop.
My LaTeX Workshop tools & recipes
{
"latex-workshop.latex.recipes": [
{
"name": "lualatex",
"tools": [
"lualatex"
]
},
{
"name": "lualatex -> pythontex -> lualatex",
"tools": [
"lualatex",
"pythontex",
"lualatex"
]
},
{
"name": "ptex2pdf (uplatex)",
"tools": [
"ptex2pdf (uplatex)"
]
},
{
"name": "ptex2pdf",
"tools": [
"ptex2pdf"
]
},
{
"name": "latexmk",
"tools": [
"latexmk"
]
},
{
"name": "pdflatex",
"tools": [
"pdflatex"
]
},
{
"name": "pdflatex -> bibtex -> pdflatex",
"tools": [
"pdflatex",
"bibtex",
"pdflatex"
]
},
{
"name": "ptex2pdf -> pbibtex -> ptex2pdf",
"tools": [
"ptex2pdf",
"pbibtex",
"ptex2pdf"
]
},
{
"name": "ptex2pdf (uplatex) -> pbibtex -> ptex2pdf (uplatex)",
"tools": [
"ptex2pdf (uplatex)",
"pbibtex",
"ptex2pdf (uplatex)"
]
}
],
"latex-workshop.latex.tools": [
{
"name": "lualatex",
"command": "lualatex",
"args": [
"--cmdx",
"-file-line-error",
"-synctex=1",
"-interaction=nonstopmode",
"-halt-on-error",
"%DOC%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
},
{
"name": "ptex2pdf",
"command": "ptex2pdf",
"args": [
"-l",
"-ot",
"-kanji=utf8 -synctex=1",
"-interaction=nonstopmode",
"%DOC%"
]
},
{
"name": "ptex2pdf (uplatex)",
"command": "ptex2pdf",
"args": [
"-l",
"-u",
"-ot",
"-kanji=utf8 -synctex=1",
"-interaction=nonstopmode",
"%DOC%"
]
},
{
"name": "pbibtex",
"command": "pbibtex",
"args": [
"-kanji=utf8",
"%DOCFILE%"
]
},
{
"name": "pythontex",
"command": "pythontex",
"args": [
"%DOC%"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment