-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New version (including automated multi-version production)
- Loading branch information
Stefano Moia
committed
Jan 19, 2024
1 parent
806fb26
commit 7cedc17
Showing
7 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
declare -A job | ||
job=( [0]=main [1]=main_trackchanges [2]=main_linenum [3]=main_linenum_trackchanges [4]=main_textonly [5]=main_textonly_trackchanges | ||
) | ||
n_job=${#job[@]} | ||
let n_job-- | ||
|
||
rm -rf out | ||
mkdir out | ||
mkdir -p ./compiled | ||
|
||
for i in $(seq 0 ${n_job}) | ||
do | ||
echo $i ${job[$i]} | ||
pdflatex -interaction=nonstopmode -output-directory=./out --jobname=${job[$i]} "\gdef\condition{${i}} \input main.tex" | ||
biber --input-directory=./out --output-directory=./out ${job[$i]}.bcf | ||
pdflatex -interaction=nonstopmode -output-directory=./out --jobname=${job[$i]} "\gdef\condition{${i}} \input main.tex" | ||
mv ./out/${job[$i]}.pdf ./compiled/${job[$i]}.pdf | ||
done | ||
|
||
rm out/* |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters