Created
January 15, 2024 05:31
-
-
Save CloudyPadmal/fbc931d5ca961259b51e7540b72459bc to your computer and use it in GitHub Desktop.
This file contains hidden or 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]": { | |
"editor.formatOnPaste": false, | |
"editor.suggestSelection": "recentlyUsedByPrefix", | |
"editor.defaultFormatter": "James-Yu.latex-workshop" | |
}, | |
"latex-workshop.latex.autoBuild.run": "onSave", | |
"latex-workshop.latex.autoClean.run": "onBuilt", | |
"latex-workshop.latex.recipes": [ | |
{ | |
"name": "latexmk", | |
"tools": [ | |
"latexmk" | |
], | |
}, | |
{ | |
"name": "latexmk (latexmkrc)", | |
"tools": [ | |
"latexmk_rconly" | |
] | |
}, | |
{ | |
"name": "latexmk (lualatex)", | |
"tools": [ | |
"lualatexmk" | |
] | |
}, | |
{ | |
"name": "latexmk (xelatex)", | |
"tools": [ | |
"xelatexmk" | |
] | |
}, | |
{ | |
"name": "sort bibliography", | |
"tools": [ | |
"biber", | |
"renamebiberbib", | |
] | |
}, | |
{ | |
"name": "pdflatex -> bibtex -> pdflatex * 2", | |
"tools": [ | |
"pdflatex", | |
"bibtex", | |
"pdflatex", | |
"pdflatex" | |
] | |
}, | |
{ | |
"name": "Compile Rnw files", | |
"tools": [ | |
"rnw2tex", | |
"latexmk" | |
] | |
}, | |
{ | |
"name": "Compile Jnw files", | |
"tools": [ | |
"jnw2tex", | |
"latexmk" | |
] | |
}, | |
{ | |
"name": "Compile Pnw files", | |
"tools": [ | |
"pnw2tex", | |
"latexmk" | |
] | |
}, | |
{ | |
"name": "tectonic", | |
"tools": [ | |
"tectonic" | |
] | |
} | |
], | |
"latex-workshop.latex.clean.command": "latexmk", | |
"latex-workshop.docker.enabled": true, | |
"latex-workshop.latex.tools": [ | |
{ | |
"name": "biber", | |
"command": "/usr/local/texlive/2023/bin/universal-darwin/biber", | |
"args": [ | |
"--tool", | |
"--output_align", | |
"--output_indent=2", | |
"--output_fieldcase=lower", | |
"--output-legacy-dates", | |
"--output-field-replace=location:address,journaltitle:journal,date:year", | |
"ref.bib" | |
] | |
}, | |
{ | |
"name": "renamebiberbib", | |
"command": "mv", | |
"args": [ | |
"ref_bibertool.bib", | |
"ref.bib" | |
] | |
}, | |
{ | |
"name": "latexmk", | |
"command": "/usr/local/texlive/2023/bin/universal-darwin/latexmk", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"-pdf", | |
"-outdir=%OUTDIR%", | |
"%DOC%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "lualatexmk", | |
"command": "/usr/local/texlive/2023/bin/universal-darwin/latexmk", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"-lualatex", | |
"-outdir=%OUTDIR%", | |
"%DOC%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "xelatexmk", | |
"command": "/usr/local/texlive/2023/bin/universal-darwin/latexmk", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"-xelatex", | |
"-outdir=%OUTDIR%", | |
"%DOC%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "latexmk_rconly", | |
"command": "/usr/local/texlive/2023/bin/universal-darwin/latexmk", | |
"args": [ | |
"%DOC%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "pdflatex", | |
"command": "/usr/local/texlive/2023/bin/universal-darwin/pdflatex", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"%DOC%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "bibtex", | |
"command": "/usr/local/texlive/2023/bin/universal-darwin/bibtex", | |
"args": [ | |
"%DOCFILE%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "rnw2tex", | |
"command": "Rscript", | |
"args": [ | |
"-e", | |
"knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "jnw2tex", | |
"command": "julia", | |
"args": [ | |
"-e", | |
"using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "jnw2texminted", | |
"command": "julia", | |
"args": [ | |
"-e", | |
"using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "pnw2tex", | |
"command": "pweave", | |
"args": [ | |
"-f", | |
"tex", | |
"%DOC_EXT%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "pnw2texminted", | |
"command": "pweave", | |
"args": [ | |
"-f", | |
"texminted", | |
"%DOC_EXT%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "tectonic", | |
"command": "tectonic", | |
"args": [ | |
"--synctex", | |
"--keep-logs", | |
"%DOC%.tex" | |
], | |
"env": {} | |
} | |
], | |
"editor.defaultFormatter": "James-Yu.latex-workshop", | |
"latex-workshop.intellisense.biblatexJSON.replace": { | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment