Fixati alcuni commenti

This commit is contained in:
2022-03-02 19:31:12 +01:00
parent 1ea5ca36ce
commit f44542e225
2 changed files with 17 additions and 5 deletions
+2
View File
@@ -12,6 +12,7 @@ echo .bp | groff -T pdf > "$empty"
pdftk F=$input E="$empty" cat F1-$n $(for x in $(seq 1 $((4-n%4))); do printf 'E1 '; done) output $inputMul4
# Generate alternating page ranges
n=$((n+(4-n%4)))
range=
k=1
@@ -20,6 +21,7 @@ while [ "$k" -lt $((n/2)) ]; do
k=$((k+2))
done
# Output final pdf
pdftk $inputMul4 cat $range output $outputImpaginato
rm "$empty" $inputMul4