# [Tex/LaTex] VS Code – Latex Workshop – custom recipes file location

compilingeditors

I want to use the vs code extension Latex Workshop and want to set up my own recipe for compiling the documents.
The faq are good but missing the part where they tell where the recipes are stored and where to put your custom recipe.
Could someone help me out on that?

Assume that you have to make a recipe that uses pdflatex once only, not pdflatex > biblatex > pdflatex > pdflatex.

In settings.json:

• Add this to "latex-workshop.latex.recipes":

{
"name": "pdflatex",
"tools": [
"pdflatex"
]
}

• Add this to "latex-workshop.latex.tools" if it is not present:

{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"--shell-escape", // if you want to have the shell-escape flag
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%.tex"
]
}


Don't forget to add the .tex after "%DOC%".