paperist/alpine-texlive-ja
をpull
$ docker pull paperist/alpine-texlive-ja
setting.json
に以下を追記
"latex-workshop.latex.tools": [
{
"name": "ptex2pdf",
"command": "docker",
"args": [
"run",
"--rm",
"-v",
"%DIR%:/workdir",
"paperist/alpine-texlive-ja",
"ptex2pdf",
"-l",
"/workdir/%DOCFILE_EXT%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "compile",
"tools": [
"ptex2pdf"
]
}
],
"latex-workshop.latex.autoBuild.run": "onFileChange",
.tex
ファイル更新時にPDFファイルが出力されるようになる.