Change pdfbook2 command to not crop which was messing with margins. Create a rotated version for better duplex printing.

This commit is contained in:
2025-10-04 08:06:32 -07:00
parent c52ebd7a72
commit 9b2b79232b

View File

@@ -9,6 +9,9 @@ date
md="ebook.md"
ebook="VoluntarySovereignty.pdf"
booklet1="VoluntarySovereignty-book.pdf"
booklet2="VoluntarySovereignty-default.pdf"
booklet3="VoluntarySovereignty-rotated.pdf"
if [[ -e $ebook ]]; then
echo -n "Old: "
@@ -25,8 +28,11 @@ pandoc /tmp/$md \
status=$?
# Use LaTeX booklet package to make a print, fold, and staple version!
pdfbook2 $ebook
#pdfbook2 --signature=4 $ebook
pdfbook2 -n $ebook
mv $booklet1 $booklet2
pdfbook2 -ns $ebook
mv $booklet1 $booklet3
echo "Completed with status '$status'."