Build from source#
With Docker#
Caution
The following is an experimental Docker build of LaTeXBuddy. It is not optimized and very unstable.
Prerequisites: Docker
The image is sadly not being distributed yet, so you have to build it yourself. It isn’t complicated, but it takes around 7 minutes on a MacBook Pro and takes about 8 GB of extra space (the built container is around 1,15 GB). Once built, the image can be reused.
Build the image and tag it:
docker build -t latexbuddy/latexbuddy .
To run the image once, run the following command:
docker run --rm -v $(pwd):/latexbuddy latexbuddy/latexbuddy file_to_check.tex
This will create a container, run the command on the file
file_to_check.tex
in your current directory. If you wish to set another directory as root, change$(pwd)
to the desired path.If you often check one file, you may want to create a container and run it without discarding it.
First, create a container:
docker create --name lb -v $(pwd):/latexbuddy latexbuddy/latexbuddy file_to_check.tex
The container will have the name
lb
— you are free to choose a different one.Every time you want to run checks, run:
docker start -a lb
The
-a
option redirects the output in your terminal, so you can see the output.After finishing, remove the container:
docker rm lb