Automated build system for compiling Latex Files, mimicing the Overleaf build system.
1.3K
Automated build system for compiling Latex Files, mimicing the Overleaf build system.
Either (a) download the image from the dockerhub repository (2.5GB download) or (b) build it locally (5GB download).
This image is published to dockerhub, pull it using
docker pull phanipavank/autoltx:latest
Clone the repository which contains the Dockerfile and other necessary files.
git clone https://git.pvnweb.dedyn.io/phanipavank/AutoLTX --depth=1
This is hosted on my public git server, use responsibly.
Then, build the docker container using:
docker build -t autoltx:latest .
Download the overleaf project as a zip file or using the git integration for easier integration.
Use the following command to attach the project folder to the built container.
docker run --rm -it -e "mainFile=<mainTEXfile>" -v <projectFolderPath>:/app/project:z --user 1000:1000 phanipavank/autoltx:latest
replace <mainTEXfile> with the primary tex file to compile, <projectFolderPath> with the path to the project folder.
This will compile your project whenever a change is observed in the mainTEXfile file.
pdf to store all the build files.<projectFolderPath>, called output.pdf. Keep it open so any changes to the main tex file triggers a refresh by your PDF viewer. Other files include compile.sh: the main compilation script, latexmkrc: used by the latexmk compiler, edit cautiously, and .autoltx: used for versioning the container scripts.Content type
Image
Digest
sha256:f8e47d749…
Size
2.1 GB
Last updated
7 months ago
docker pull phanipavank/autoltx