Phani Pavan K 8d768d818d
Some checks failed
/ Build Container (push) Failing after 1m30s
added actions file
2025-09-17 09:45:07 +05:30
2025-09-17 09:45:07 +05:30
2025-09-13 13:34:06 +05:30
2025-09-08 23:16:52 +05:30
2025-09-16 23:07:04 +05:30

AutoLTX

pulls size version

Automated build system for compiling Latex Files, mimicing the Overleaf build system.

Download

This image is published to dockerhub, pull it using

docker pull phanipavank/autoltx:latest

Building

The DockerFile is provided in the root folder of this repo. Build the docker container using

docker build -t autoltx:latest .

Usage

  1. Download the overleaf project as a zip file or using the git integration for easier integration.

  2. 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.

Observables:

  • The container will create a new folder pdf which contains all the build files.
  • Once the project compiles, the result is put into the <projectFolderPath>, called output.pdf. Keep it open so any changes to the main tex file, triggers a pdf update. 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.
  • These files are added to gitignore if present to avoid tracking unnecessary files by git.
Description
Automated build system for compiling Latex Files, mimicing the Overleaf build system.
Readme AGPL-3.0 76 KiB
Languages
Perl 57%
Shell 35.1%
Dockerfile 7.9%