d946c9347462a793d7c87d6f0f1179ae398cd535
latex/vscode + latex workshop.md
| ... | ... | @@ -0,0 +1,46 @@ |
| 1 | +[Visual Studio Code/LaTeX - TeX Wiki](https://texwiki.texjp.org/?Visual%20Studio%20Code%2FLaTeX) |
|
| 2 | + |
|
| 3 | +```json |
|
| 4 | +"latex-workshop.latex.tools": [ |
|
| 5 | + { |
|
| 6 | + "name": "latexmk", |
|
| 7 | + "command": "docker", |
|
| 8 | + "args": [ |
|
| 9 | + "run", |
|
| 10 | + "--rm", |
|
| 11 | + "-v", |
|
| 12 | + "%DIR%:/workdir", |
|
| 13 | + "texlive-ubuntu", |
|
| 14 | + "latexmk", |
|
| 15 | + "-e", |
|
| 16 | + "$latex=q/uplatex %O -synctex=1 -interaction=nonstopmode -file-line-error %S/", |
|
| 17 | + "-e", |
|
| 18 | + "$bibtex=q/upbibtex %O %B/", |
|
| 19 | + "-e", |
|
| 20 | + "$biber=q/biber %O --bblencoding=utf8 -u -U --output_safechars %B/", |
|
| 21 | + "-e", |
|
| 22 | + "$makeindex=q/upmendex %O -o %D %S/", |
|
| 23 | + "-e", |
|
| 24 | + "$dvipdf=q/dvipdfmx %O -o %D %S/", |
|
| 25 | + "-norc", |
|
| 26 | + "-gg", |
|
| 27 | + "-pdfdvi", |
|
| 28 | + "/workdir/%DOCFILE_EXT%" |
|
| 29 | + ] |
|
| 30 | + }, |
|
| 31 | + { |
|
| 32 | + "name": "latexindent", |
|
| 33 | + "command": "docker", |
|
| 34 | + "args": [ |
|
| 35 | + "run", |
|
| 36 | + "--rm", |
|
| 37 | + "-v", |
|
| 38 | + "%DIR%:/workdir", |
|
| 39 | + "texlive-ubuntu", |
|
| 40 | + "latexindent", |
|
| 41 | + "/workdir/%DOCFILE_EXT%", |
|
| 42 | + "--overwrite" |
|
| 43 | + ] |
|
| 44 | + }, |
|
| 45 | +] |
|
| 46 | +``` |
|
| ... | ... | \ No newline at end of file |