[OS X TeX] Style File or Example of a 'Smallish' Book

Paulo Ferreira paf at keeh.net
Tue Feb 17 18:57:52 EST 2009


On 2009/02/16, at 23:11, Iraj Kalantari wrote:

> Dear Experts,
>
> I have interest in producing a 'smallish' booklet for my students on  
> some material.  I wish to prepare a booklet of size, say, 3"X5" (or  
> there about) with ~100 pages that could be carried in pocket.
>
> Does anyone have advice?
>
> Thank you.
>
> Iraj.


I needed an A5 book so I used Koma-Script.

My tip is about folding the book.
Dont.

After making the pdf of the book in A5 size, make a PDF of A4 size  
with two pages side by side, and print A4 sheets.

Then cut the pages in half, and you have two "books" to join with  
spirals.

Here goes my  clumsy and stupid script  to "explode" and rejoin one  
file.

Warning:   run in a directory with only one pdf on it!

Regards

Paulo Ferreira


=====================================
#!/bin/bash
ORIGINAL=`ls *.pdf`
pdftk $ORIGINAL  burst
rm -v $ORIGINAL
for i in *.pdf ;  do
A="`basename $i .pdf`a.pdf"
B="`basename $i .pdf`b.pdf"
echo $A
echo $B
cp $i $A
cp $i $B
rm $i
done

pdftk *.pdf cat output combined.pdf
pdfnup combined.pdf
==================================





More information about the MacOSX-TeX mailing list