Last active
August 6, 2019 08:56
-
-
Save ychubachi/cd7ba9e6d07d0c5d5841d6aa56b71683 to your computer and use it in GitHub Desktop.
Visual Studio CodeのLaTeX Workshopの設定
This file contains 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
"editor.wordSeparators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~? 、。「」【】『』()!?てにをはがのともへでや", | |
"latex-workshop.latex.tools": [ | |
{ | |
"name": "latexmk with latexmkrc", | |
"command": "latexmk", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"-outdir=%OUTDIR%", | |
"-f", | |
"-gg", | |
"-r", | |
"%OUTDIR%/latexmkrc", | |
"%DOC%" | |
] | |
}, | |
], | |
"latex-workshop.latex.recipes": [ | |
{ | |
"name": "latexmk -r latexmkrc", | |
"tools": [ | |
"latexmk with latexmkrc" | |
] | |
}, | |
], | |
"latex-workshop.latex.magic.args": [ | |
"-f", | |
"-gg", | |
"-pv", | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"%DOC%" | |
], | |
"latex-workshop.latex.clean.fileTypes": [ | |
"*.aux", | |
"*.bbl", | |
"*.blg", | |
"*.idx", | |
"*.ind", | |
"*.lof", | |
"*.lot", | |
"*.out", | |
"*.toc", | |
"*.acn", | |
"*.acr", | |
"*.alg", | |
"*.glg", | |
"*.glo", | |
"*.gls", | |
"*.ist", | |
"*.fls", | |
"*.log", | |
"*.fdb_latexmk", | |
"*.dvi", | |
"*.synctex.gz", | |
"_minted*", | |
"*.nav", | |
"*.snm", | |
"*.vrb", | |
], | |
"latex-workshop.view.pdf.viewer": "external", | |
"latex-workshop.view.pdf.external.command": { | |
"command": "C:/Program Files/SumatraPDF/SumatraPDF.exe", | |
"args": [ | |
"-reuse-instance", | |
"%PDF%" | |
] | |
}, | |
"latex-workshop.view.pdf.external.synctex": { | |
"command": "C:/Program Files/SumatraPDF/SumatraPDF.exe", | |
"args": [ | |
"-reuse-instance", | |
"-forward-search", | |
"%TEX%", | |
"%LINE%", | |
"%PDF%" | |
] | |
}, | |
"latex-workshop.synctex.afterBuild.enabled": true, | |
"latex-workshop.latex.autoClean.run": "onFailed", | |
"latex-workshop.message.latexlog.exclude": [ | |
"(Font shape `(JY1|JT1|JY2|JT2)(/.*)(sl|it|sc)'.*|Some font shapes were not available.*)" | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
inverse search をするには,
SumatraPDF の [☰] > [設定(S)] > [オプション(O)...] の
「逆順検索コマンドラインの設定」に以下の設定をする.
"C:\Program Files\Microsoft VS Code\bin\code.cmd" -g "%f:%l"