Generate my resume in .pdf format using lualatex.
.
├── auto-build.sh
├── flake.nix
├── output
└── templates
.tex files for various templates live in templates/ directory. When the auto-build.sh script is running edited .tex files are compiled to .pdf and moved to the output/ directory.
Enumerated as buildInputs in flake.nix.
texliveinstalls dependencies required to run thelualatexcommand line tool.inotify-toolsinstalls dependencies required to runinnotifywaitused inauto-build.shto listen for filesystem changes.
Launch development environment and run auto build script.
nix develop
./auto-build.sh
Edit .tex files and view the .pdf files using a browser or pdf viewer.
To compile a .pdf without auto-build.sh change directory to the particular template containing .tex and .cls files and run lualatex.
cd templates/${template}
lualatex ${template}.tex
.cls defines the resume layout used by the .tex file. .aux and .out are intermediate files used to build the .pdf and may be removed after compilation.
Sourced from latextemplates.com. Modified for my needs.