change ls to find, pass mainfile name to latex
All checks were successful
/ Build Container (push) Successful in 57m39s

This commit is contained in:
2025-09-18 07:37:17 +05:30
parent 8df1c9a242
commit 2bea58ed38
4 changed files with 17 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ mkdir -p pdf
# rm pdf/*
# fi
# latexmk -C
latexmk -pdf -jobname=pdf/output main.tex -f -quiet
latexmk -pdf -jobname=pdf/output $1 -f -quiet
# count=`ls -1 *.aux 2>/dev/null | wc -l`
# if [ $count != 0 ]
# then