From ea08ac63b52bdb4356921efcc145582bc412ad9f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 11 Jun 2024 08:16:26 +0200 Subject: 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`. --- templates/latex/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/latex/build.sh') 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" -- cgit 1.4.1