vscode/tex/latexindet\343\201\256Docker\343\202\244\343\203\241\343\203\274\343\202\270\343\202\222\344\275\277\343\201\243\343\201\237tex\343\203\225\343\202\241\343\202\244\343\203\253\343\201\256\343\203\225\343\202\251\343\203\274\343\203\236\343\203\203\343\203\210.md
... ...
@@ -0,0 +1,42 @@
1
+`setting.json`に以下を追加
2
+
3
+```json
4
+ "latex-workshop.latex.recipes": [
5
+ {
6
+ "name": "compile",
7
+ "tools": [
8
+ "latexindent",
9
+ "ptex2pdf",
10
+ ]
11
+ }
12
+ ],
13
+ "latex-workshop.latex.tools": [
14
+ {
15
+ "name": "ptex2pdf",
16
+ "command": "docker",
17
+ "args": [
18
+ "run",
19
+ "--rm",
20
+ "-v",
21
+ "%DIR%:/workdir",
22
+ "paperist/alpine-texlive-ja",
23
+ "ptex2pdf",
24
+ "-l",
25
+ "/workdir/%DOCFILE_EXT%"
26
+ ]
27
+ },{
28
+ "name": "latexindent",
29
+ "command": "docker",
30
+ "args": [
31
+ "run",
32
+ "--rm",
33
+ "-v",
34
+ "%DIR%:/workdir",
35
+ "csegarragonz/latexindent:0.0.1",
36
+ "latexindent",
37
+ "/workdir/%DOCFILE_EXT%",
38
+ "--overwrite"
39
+ ]
40
+ }
41
+ ],
42
+```
... ...
\ No newline at end of file