Your message dated Tue, 11 Jan 2011 00:26:10 +0100
with message-id <1294701970.10754.80.ca...@lapjfs>
and subject line Re: Bug#609473: merging 2 PDF is made tricky and almost
impossible using pdftk
has caused the Debian Bug report #609473,
regarding merging 2 PDF is made tricky and almost impossible using pdftk
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
609473: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609473
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pdftk
Version: 1.41+dfsg-10
Severity: important
Hello
The issue is that it is not working. PDFTK is expert in PDF, so it shall by
itself merge the document and can be able to detect the number of pages of a
gives PDF.
How do you shuffle PDF pages if the pdf are always differnet to make
A 1 3 5 ..
B 2 4 6 ...
:/tmp$ pdftk
A=even_Parity__mathematics__-_Wikipedia__the_free_encyclopedia.pdf
B=Odd_-_Wikipedia__the_free_encyclopedia.pdf cat cat A1 B1 A2 B2 A3 B3 A4 B4
A5 B5 A6 B6 A7 B7 A8 B8 A9 B9 A10 B10 A11 B11 A12 B12 output final.pdf
Error: expecting page ranges. Instead, I got:
cat
Errors encountered. No output created.
Done. Input errors, so no output created.
It is in that sense of no use since even a simple shuffling merging is made
complex to even impossible.
Hoping to find better alternative than pdftk. I heard convert is not that bad
for similar issues
All the best
Kind regards
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pdftk depends on:
ii libbcmail-java 1.44+dfsg-2 Bouncy Castle generators/processor
ii libbcprov-java 1.44+dfsg-2 Bouncy Castle Java Cryptographic S
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libgcj-bc 4.4.5-1 Link time only library for use wit
ii libgcj10 4.4.5-2 Java runtime library for use with
ii libitext-java 2.1.7-2 Java Library to create and manipul
ii libitext-java-gcj 2.1.7-2 Java Library to create and manipul
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
pdftk recommends no packages.
Versions of packages pdftk suggests:
ii poppler-utils [xpdf-utils] 0.12.4-1.2 PDF utilitites (based on libpopple
-- no debconf information
--- End Message ---
--- Begin Message ---
Package: pdftk
Version: 1.41+dfsg-10
On Sunday, 09.01.2011, 19:21 +0100 yellow wrote:
> Hello
Hi!
> How do you shuffle PDF pages if the pdf are always differnet to make
> A 1 3 5 ..
> B 2 4 6 ...
>
>
> :/tmp$ pdftk
> A=even_Parity__mathematics__-_Wikipedia__the_free_encyclopedia.pdf
> B=Odd_-_Wikipedia__the_free_encyclopedia.pdf cat cat A1 B1 A2 B2 A3 B3 A4
> B4 A5 B5 A6 B6 A7 B7 A8 B8 A9 B9 A10 B10 A11 B11 A12 B12 output final.pdf
> Error: expecting page ranges. Instead, I got:
> cat
> Errors encountered. No output created.
> Done. Input errors, so no output created.
Remove the duplicated 'cat' argument from the command line and
everything should work.
> It is in that sense of no use since even a simple shuffling merging is made
> complex to even impossible.
pdftk 1.44 (in debian/experimental) supports the shuffle operation.
Another option is to generate the command line by using other programs,
e.g. for two documents with 10 pages:
pdftk A=DocumentA.pdf B=DocumentB.pdf cat $(perl -e 'print "A$_ B$_ " for
(1..10)') output merged.pdf
To get automatically the page count of a pdf file, you can use the
pdfinfo program from the poppler-utils package for example.
Best regards,
Johann Felix Soden
--- End Message ---