В Чтв, 07/09/2006 в 13:56 +0200, Matthias Stürmer пишет:
> Hi
>
> Today I played around a little bit with PDF/PS tools like PDFjam,
> PSUtils and pdftk because I needed to convert a regular PDF file into a
> booklet format. I finally found some nice script on the web: (by Michael
> Roessler)
>
> #!/bin/bash
> #
> # call with dina5_book file.pdf
> file=$1
> filebase=$(basename $file .pdf)
> pdftops $file output.ps
> psbook output.ps tmp.ps
> pstops
> "4:0L 7(21cm,0)+1L 7(21cm,14.85cm),2R 7(0,29.7cm)+3R 7(0,14.85cm)"
> tmp.ps > ${filebase}-booklet.ps
> rm -f output.ps tmp.ps
> echo "Converting back to pdf ..."
> ps2pdf ${filebase}-booklet.ps
> rm -f ${filebase}-booklet.ps
>
> So I thought, might it be possible to implement such PDF manipulation
> scripts and commands into Evince so that dummy users like I (usually...)
> quickly can convert, merge, reformat etc. the opened PDF file?
>
> Well, maybe you already had such ideas, so you're going to tell me
> "Great, just implement it." - but that's not possible at the moment
> because I really don't know any C programming. So I just wanted to tell
> you that I (and maybe some other happy Evince users) really have a
> demand for such GUI-implemented scripts ;)
>
> OK, have a nice day, greetings,
>
> Matthias Stürmer
>
Hi Matthias
Thanks for the request, it's really useful to know users requirements. I
think this functionality is a bit aside of evince, but it would be
really nice to integrate it into nautilus scripts (that will not even
require C programming skills, you'll be just able to select some files
and then merge them in book in nautilus) or actions or something like
that. There is a project called Automato
http://blogs.gnome.org/view/rodrigo/2006/07/04/0
it's design looks appropriate.
And probably it would be nice to create poppler utility pdfbook, but it
will require some coding.
Attachment:
signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=