Skip to content

Instantly share code, notes, and snippets.

@sonsongithub
Created May 6, 2018 23:06
Show Gist options
  • Select an option

  • Save sonsongithub/e2982bedd45b6596714c0a65ff037931 to your computer and use it in GitHub Desktop.

Select an option

Save sonsongithub/e2982bedd45b6596714c0a65ff037931 to your computer and use it in GitHub Desktop.
Visual Studio Codeで日本語のTeXをコンパイルするための設定
{
"latex-workshop.latex.tools": [
{
"command": "platex",
"args": [
"-synctex=1",
"-jobname=\"%DOCFILE%\"",
"-kanji=utf8",
"-guess-input-enc",
"%DOCFILE%.tex"
],
"name": "Step 1: platex"
},
{
"command": "platex",
"args": [
"-synctex=1",
"-jobname=\"%DOCFILE%\"",
"-kanji=utf8",
"-guess-input-enc",
"%DOCFILE%.tex"
],
"name": "Step 2: platex"
},
{
"command": "dvipdfmx",
"args": [
"%DOCFILE%"
],
"name": "Step 3: dvipdfmx"
}
],
"latex-workshop.latex.recipes": [
{
"name": "toolchain",
"tools": [
"Step 1: platex",
"Step 2: platex",
"Step 3: dvipdfmx",
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment