diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-11 08:16:26 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-11 08:16:26 +0200 |
commit | ea08ac63b52bdb4356921efcc145582bc412ad9f (patch) | |
tree | f4e3d75145dc8cf60ccad43c30fee95cf0ca64a7 /templates/latex/build.sh | |
parent | fix(common/scripts/renew_copyright_header.sh): Add further file extensions (diff) | |
download | flake-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-x | templates/latex/build.sh | 2 |
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" |