unruh <
un...@invalid.ca> wrote:
>
> The problem with your solution is that it requires a lot of hand work.
> What would be much nicer would be an automated scheme The job is simple
> enough that it should be automatable. What problem did you have with
> poster?
>
>
It isn't *my* solution, I had nothing to do with briss. Neither is it
really a lot of work, you have to map out two pages of the input
and the program takes care of the rest of the book.
As far as poster goes, the first problem was which poster. There were
several candidates that came up for installation. When I finally
figured out which was the right one, it simply didn't work.
The steps in unpnup are:
pdftk "$1" burst
for file in pg*.pdf;
do
pdftops -eps $file
poster -v -pA4 -mA5 -c0% `basename $file .pdf`.eps > `basename $file .pdf`.tps
epstopdf `basename $file .pdf`.tps
done
pdftk pg*.pdf cat output ../`basename $1 .pdf`_unpnuped.pdf
The first line bursts the pdf into individual files of each
two-page images. Then, for each of those, the file is converted
into an eps ps file. I can look at that file and the conversion
worked. I used gv to see that file. The poster step is to
convert that file into a different ps format of two pages.
Using gv to view that .tps file the file was mostly blank
with some shreds of text as if torn from the page. The last
step, the epstopdf just yielded an image of the .tps file
which was junk.
It took me a while to understand the -p -m options of poster
and to find out that they didn't affect the outcome in that
the result still did not contain readable text.
I said my wife and I spent the good part of the day trying
to find something that worked. A good part of that good part
was wasted on the unpnup script.