In case you don't want to generate the PDF by yourself by installing a bunch of packages —neither did I—, there is a Bash script that will prepare a build environment with Podman and will run the commands for you. Essentially it will:
- Generate the build environment with Podman by installing the required packages.
- It will mount the repository in the container.
- It will run the build commands and leave the output in the "build" directory.
In order to run the script, simply issue the bash build.bash
command.
The following packages are requried:
biber
python3-pygments
texlive
texlive-bibtex-extra
texlive-latex-extra
texlive-lang-spanish
texlive-lang-greek
texlive-plain-generic
- Clone the repository.
cd
into the cloned repository.- Create a
build
directory with themkdir build
command.
pdflatex -shell-escape -output-directory='build' main.tex
makeglossaries -d 'build' main
biber --input-directory='build' --output-directory='build' main.bcf
pdflatex -shell-escape -output-directory='build' main.tex
pdflatex -shell-escape -output-directory='build' main.tex
If you want to generate a document with SyncTex, simply add the -synctex=1
to the pdflatex
commands.
The contents of this project are under a Creative Commons Reconocimiento-CompartirIgual 4.0 Internacional license, and the code to format and generate the aforementioned content is under a GPLv3 license.
Al menos, los siguientes paquetes son necesarios:
biber
python3-pygments
texlive
texlive-bibtex-extra
texlive-latex-extra
texlive-lang-spanish
texlive-lang-greek
texlive-plain-generic
- Clonar el repositorio.
- Hacer
cd
en el directorio recién clonado. - Crear un directorio
build
mediante el comandomkdir build
.
pdflatex -shell-escape -output-directory='build' main.tex
makeglossaries -d 'build' main
biber --input-directory='build' --output-directory='build' main.bcf
pdflatex -shell-escape -output-directory='build' main.tex
pdflatex -shell-escape -output-directory='build' main.tex
En caso de que se quiera generar un documento con SyncTeX, simplemente hay que añadir -synctex=1
a los comandos de pdflatex
.
El contenido de este proyecto está bajo una licencia Creative Commons Reconocimiento-CompartirIgual 4.0 Internacional, y el código usado para dar formato y generar dicho contenido está bajo una licencia GPLv3.