Last active
January 5, 2021 04:07
-
-
Save nukopy/ec870ac99ff27dd9f126cab7bf8e700d to your computer and use it in GitHub Desktop.
Minimum settings for LaTeX in Docker on VSCode with extensions "Remote - Containers", "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
#!/usr/bin/env perl | |
$pdf_mode = 3; | |
$latex = 'uplatex --kanji=utf8 -synctex=1 -file-line-error -halt-on-error %O %S'; | |
$bibtex = 'upbibtex'; | |
$dvipdf = 'dvipdfmx %O -o %D %S'; | |
$makeindex = 'mendex %O -o %D %S'; |
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
Show hidden characters
{ | |
"name": "debian-latex-jp", | |
"dockerComposeFile": "docker-compose.yml", | |
"extensions": ["lfs.vscode-emacs-friendly", "james-yu.latex-workshop"], | |
"service": "debian-latex-jp", | |
"workspaceFolder": "/workdir", | |
"shutdownAction": "stopCompose" | |
} |
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
version: "3" | |
services: | |
debian-latex-jp: | |
image: nukopy/debian-latex-jp | |
command: sleep infinity | |
volumes: | |
- ../:/workdir | |
- ./.latexmkrc:/root/.latexmkrc | |
environment: | |
SHELL: "/bin/bash" |
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
{ | |
"latex-workshop.latex.autoBuild.interval": 0, | |
"latex-workshop.latex.autoBuild.run": "onFileChange", | |
"latex-workshop.latex.autoClean.run": "onBuilt", | |
"latex-workshop.latex.recipes": [ | |
{ | |
"name": "latexmk 🔃", | |
"tools": ["latexmk"] | |
} | |
], | |
"latex-workshop.latex.tools": [ | |
{ | |
"name": "latexmk", | |
"command": "latexmk", | |
"args": ["-silent", "%DOC%"], | |
"env": {} | |
} | |
], | |
"latex-workshop.latexindent.path": "/usr/local/texlive/2020/bin/x86_64-linux/latexindent", | |
"latex-workshop.message.update.show": false, | |
"latex-workshop.synctex.afterBuild.enabled": true, | |
"latex-workshop.view.pdf.viewer": "tab", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment