Change pdfbook2 command to not crop which was messing with margins. Create a rotated version for better duplex printing.
This commit is contained in:
10
convert.sh
10
convert.sh
@@ -9,6 +9,9 @@ date
|
|||||||
|
|
||||||
md="ebook.md"
|
md="ebook.md"
|
||||||
ebook="VoluntarySovereignty.pdf"
|
ebook="VoluntarySovereignty.pdf"
|
||||||
|
booklet1="VoluntarySovereignty-book.pdf"
|
||||||
|
booklet2="VoluntarySovereignty-default.pdf"
|
||||||
|
booklet3="VoluntarySovereignty-rotated.pdf"
|
||||||
|
|
||||||
if [[ -e $ebook ]]; then
|
if [[ -e $ebook ]]; then
|
||||||
echo -n "Old: "
|
echo -n "Old: "
|
||||||
@@ -25,8 +28,11 @@ pandoc /tmp/$md \
|
|||||||
status=$?
|
status=$?
|
||||||
|
|
||||||
# Use LaTeX booklet package to make a print, fold, and staple version!
|
# Use LaTeX booklet package to make a print, fold, and staple version!
|
||||||
pdfbook2 $ebook
|
pdfbook2 -n $ebook
|
||||||
#pdfbook2 --signature=4 $ebook
|
mv $booklet1 $booklet2
|
||||||
|
|
||||||
|
pdfbook2 -ns $ebook
|
||||||
|
mv $booklet1 $booklet3
|
||||||
|
|
||||||
echo "Completed with status '$status'."
|
echo "Completed with status '$status'."
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user