Last active
December 29, 2020 15:59
-
-
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_
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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