If you want to easily use texlive on different pcs and operrating systems and If you don't want to install different tex distros on multiple platforms, then this is the container for you and me.
This repo provides a Dockerfile and container for local and/or CI/CD texlive usage.
tex packages I found to be very usefull
- acronym: as the name implies
- minted: for code previews
please have a look at the GitHub Packages and Releases to the right ->
If you want to build the container yourself:
docker build -t texlive-lw:latest -f Dockerfile .
I personally use vscode as my tex editor. See below for a list of recommended plugins.
- docker
- LaTeX Workshop
- pull or build the container
- go to file -> preferences -> settings and search for the following key. enable it.
"latex-workshop.docker.enabled": true
"latex-utilities.countWord.docker.enabled": true
- now add the container name. it can be either your local or the image from the GitHub package registry
"latex-workshop.docker.image.latex": "ghcr.io/initdb/docker-texlive:main"
- add the option
"--shell-escape"
so can properly work.
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"--shell-escape",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {}
},
- LaTeX Utilities
TODO