Skip to content

Instantly share code, notes, and snippets.

@suhrmann
Last active December 29, 2020 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suhrmann/cdfa0d48288231f9ee0a5da2789b08b4 to your computer and use it in GitHub Desktop.
Save suhrmann/cdfa0d48288231f9ee0a5da2789b08b4 to your computer and use it in GitHub Desktop.
Settings of VSCode plugin "LaTeX Workshop" to use _minted_ (syntax highlighting) and _glossaries_
{
"latex-workshop.view.pdf.viewer": "tab",
/**
* Add minted (syntax highlighting): Source: https://tex.stackexchange.com/a/437089
* Add glossary support: https://github.com/James-Yu/LaTeX-Workshop/issues/238#issuecomment-411358410
*/
"latex-workshop.latex.recipes": [
{ // glossary support
"name": "pdflatex, bibtex, makeglossaries, pdflatex",
"tools": [
"pdflatex",
"biber",
"makeglossaries",
"pdflatex"
]
}
],
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"--shell-escape", // arg for minted (syntax highlight)
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"--shell-escape", // arg for minted (syntax highlight)
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "biber",
"command": "biber",
"args": [
"%DOC%"
]
},
{ // glossary support
"name": "makeglossaries",
"command": "makeglossaries",
"args": [
"%DOCFILE%"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment