Mercurial > hg > Papers > 2024 > matac-master
view README.md @ 3:99e8f2f1a24b
add README
author | matac42 <matac@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 Nov 2023 10:06:46 +0900 |
parents | |
children | 18eff4ddae61 |
line wrap: on
line source
## How to build tex 1. Create an environment in which `ptex2pdf` and `pbibtex` can run. 2. Add the following to the VSCode configuration JSON. ``` { "[tex]": { "editor.suggest.snippetsPreventQuickSuggestions": false, "editor.tabSize": 2 }, "[latex]": { "editor.suggest.snippetsPreventQuickSuggestions": false, "editor.tabSize": 2, "editor.formatOnSave": false }, "[bibtex]": { "editor.tabSize": 2 }, "latex-workshop.intellisense.package.enabled": true, "latex-workshop.latex.autoBuild.cleanAndRetry.enabled": true, "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", "*.snm", "*.nav", "*.dvi", "*.synctex.gz" ], "latex-workshop.latex.outDir": ".", "latex-workshop.latex.tools": [ { "command": "ptex2pdf", "args": [ "-l", "-ot", "-kanji=utf8 -synctex=1", "%DOC%" ], "name": "Step 1: ptex2pdf" }, { "command": "pbibtex", "args": [ "%DOCFILE%", "-kanji=utf8" ], "name": "Step 2: pbibtex" }, { "command": "ptex2pdf", "args": [ "-l", "-ot", "-kanji=utf8 -synctex=1", "%DOC%" ], "name": "Step 3: ptex2pdf" }, { "command": "ptex2pdf", "args": [ "-l", "-ot", "-kanji=utf8 -synctex=1", "%DOC%" ], "name": "Step 4: ptex2pdf" } ], "latex-workshop.latex.recipes": [ { "name": "toolchain", "tools": [ "Step 1: ptex2pdf", "Step 2: pbibtex", "Step 3: ptex2pdf", "Step 4: ptex2pdf" ] } ], "latex-workshop.view.pdf.viewer": "tab", } ```