Skip to content

Instantly share code, notes, and snippets.

@Markus-de-Koster
Last active April 25, 2023 11:12
Show Gist options
  • Select an option

  • Save Markus-de-Koster/00b99f5b9cf5324117ed1b0d93b03035 to your computer and use it in GitHub Desktop.

Select an option

Save Markus-de-Koster/00b99f5b9cf5324117ed1b0d93b03035 to your computer and use it in GitHub Desktop.
LaTeX workflow using visual studio code
{
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"--shell-escape",
"-pdf",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"--shell-escape",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
],
"env": {}
}
],
"files.watcherExclude": {
"**/.bloop": true,
"**/.metals": true,
"**/.ammonite": true
},
"redhat.telemetry.enabled": false,
}

[Work in Progress] Install the following packages (e.g. using apt) apt install texlive-science texlive-latex-extra texlive-extra-utils latexmk texlive-publishers biber texlive-bibtex-extra texlive-lang-european texlive-lang-german packages:

  • texlive-lang-european
  • texlive-lang-german
  • texlive-bibtex-extra
  • biber
  • texlive-science
  • texlive-latex-extra
  • texlive-extra-utils
  • latexmk
  • texlive-publishers

Modify LaTeX build commands:

  • open Settings as JSON file
    • Press ctrl+shift+p
    • open Preferences Open Settings (JSON)
  • here you can set parameters for build commands
  • e.g. necessary to enable shell-escape for usage of SVG graphics see settings.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment