about summary refs log tree commit diff stats
path: root/templates/latex/build.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 08:16:26 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 08:16:26 +0200
commitea08ac63b52bdb4356921efcc145582bc412ad9f (patch)
treef4e3d75145dc8cf60ccad43c30fee95cf0ca64a7 /templates/latex/build.sh
parentfix(common/scripts/renew_copyright_header.sh): Add further file extensions (diff)
downloadflake-templates-ea08ac63b52bdb4356921efcc145582bc412ad9f.tar.gz
flake-templates-ea08ac63b52bdb4356921efcc145582bc412ad9f.zip
feat(templates/latex): Name the `main.tex` file after the project
This results in a reasonable name for the resulting PDF, instead of the
generic `main.pdf`.
Diffstat (limited to '')
-rwxr-xr-xtemplates/latex/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/latex/build.sh b/templates/latex/build.sh
index 55dae94..1206ee7 100755
--- a/templates/latex/build.sh
+++ b/templates/latex/build.sh
@@ -11,4 +11,4 @@ fi
 find . -type d -not -name "$dst" -not -path "./$dst/*" -printf '%P\n' | while IFS= read -r dir; do
     mkdir --parents "$dst/$dir"
 done
-latexmk -outdir="$dst" -file-line-error -pdflatex -recorder ./main.tex
+latexmk -outdir="$dst" -file-line-error -pdflatex -recorder "./%INIT_APPLICATION_NAME.tex"