Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202589 > unrolled thread

pdfjoin loses web links in the PDFs

Started byGary Dale <garyndp@gmail.com>
First post2018-11-18 22:20 +0100
Last post2018-11-21 17:40 +0100
Articles 6 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  pdfjoin loses web links in the PDFs Gary Dale <garyndp@gmail.com> - 2018-11-18 22:20 +0100
    Re: pdfjoin loses web links in the PDFs Jonathan Dowland <jmtd@debian.org> - 2018-11-19 12:40 +0100
      Re: pdfjoin loses web links in the PDFs Steve McIntyre <steve@einval.com> - 2018-11-19 13:00 +0100
        Re: pdfjoin loses web links in the PDFs Gary Dale <garyndp@gmail.com> - 2018-11-19 17:50 +0100
    Re: pdfjoin loses web links in the PDFs Vincent Lefevre <vincent@vinc17.net> - 2018-11-21 12:40 +0100
      Re: pdfjoin loses web links in the PDFs Gary Dale <garyndp@gmail.com> - 2018-11-21 17:40 +0100

#202589 — pdfjoin loses web links in the PDFs

FromGary Dale <garyndp@gmail.com>
Date2018-11-18 22:20 +0100
Subjectpdfjoin loses web links in the PDFs
Message-ID<wVCE1-14g-1@gated-at.bofh.it>
This is frustrating. I'm running Debian/Buster (AMD64) and just finished 
creating web links (mostly mailto:<e-mail address> in a two-part 
directory I created using Scribus. I exported the files to PDF on a 
Debian/Stretch machine because Buster uses a version of Ghostscript that 
breaks the PDF export in Scribus (they recently broke it on Stretch as 
well, but I put the older Ghostscript 9.20 version on hold so I can 
still use Scribus).

The PDF files I created worked fine individually but when I tried to 
merge them into a single PDF, the web links are lost. I'm not sure if 
this a limitation of pdfjoin or a bug in the current implementation.

[toc] | [next] | [standalone]


#202602

FromJonathan Dowland <jmtd@debian.org>
Date2018-11-19 12:40 +0100
Message-ID<wVQ4h-22S-3@gated-at.bofh.it>
In reply to#202589
On Sun, Nov 18, 2018 at 04:16:21PM -0500, Gary Dale wrote:
>This is frustrating. I'm running Debian/Buster (AMD64) and just 
>finished creating web links (mostly mailto:<e-mail address> in a 
>two-part directory I created using Scribus. I exported the files to 
>PDF on a Debian/Stretch machine because Buster uses a version of 
>Ghostscript that breaks the PDF export in Scribus (they recently broke 
>it on Stretch as well, but I put the older Ghostscript 9.20 version on 
>hold so I can still use Scribus).
>
>The PDF files I created worked fine individually but when I tried to 
>merge them into a single PDF, the web links are lost. I'm not sure if 
>this a limitation of pdfjoin or a bug in the current implementation.

That is frustrating. All I can suggest is experimenting with an
alternative PDF joiner. I believe pdftk can do it (pdftk *pdf cat output
out.pdf)

-- 

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀ Please do not CC me, I am subscribed to the list.

[toc] | [prev] | [next] | [standalone]


#202603

FromSteve McIntyre <steve@einval.com>
Date2018-11-19 13:00 +0100
Message-ID<wVQnD-29X-1@gated-at.bofh.it>
In reply to#202602
Jonathan Dowland wrote:
>On Sun, Nov 18, 2018 at 04:16:21PM -0500, Gary Dale wrote:
>>This is frustrating. I'm running Debian/Buster (AMD64) and just 
>>finished creating web links (mostly mailto:<e-mail address> in a 
>>two-part directory I created using Scribus. I exported the files to 
>>PDF on a Debian/Stretch machine because Buster uses a version of 
>>Ghostscript that breaks the PDF export in Scribus (they recently broke 
>>it on Stretch as well, but I put the older Ghostscript 9.20 version on 
>>hold so I can still use Scribus).
>>
>>The PDF files I created worked fine individually but when I tried to 
>>merge them into a single PDF, the web links are lost. I'm not sure if 
>>this a limitation of pdfjoin or a bug in the current implementation.
>
>That is frustrating. All I can suggest is experimenting with an
>alternative PDF joiner. I believe pdftk can do it (pdftk *pdf cat output
>out.pdf)

qpdf also works well for me, although the command line can be a little
baroque...

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
 whether they're being malicious or incompetent. Capital letters are forecast."
 Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html

[toc] | [prev] | [next] | [standalone]


#202617

FromGary Dale <garyndp@gmail.com>
Date2018-11-19 17:50 +0100
Message-ID<wVUUh-571-11@gated-at.bofh.it>
In reply to#202603
On 2018-11-19 6:58 a.m., Steve McIntyre wrote:
> Jonathan Dowland wrote:
>> On Sun, Nov 18, 2018 at 04:16:21PM -0500, Gary Dale wrote:
>>> This is frustrating. I'm running Debian/Buster (AMD64) and just
>>> finished creating web links (mostly mailto:<e-mail address> in a
>>> two-part directory I created using Scribus. I exported the files to
>>> PDF on a Debian/Stretch machine because Buster uses a version of
>>> Ghostscript that breaks the PDF export in Scribus (they recently broke
>>> it on Stretch as well, but I put the older Ghostscript 9.20 version on
>>> hold so I can still use Scribus).
>>>
>>> The PDF files I created worked fine individually but when I tried to
>>> merge them into a single PDF, the web links are lost. I'm not sure if
>>> this a limitation of pdfjoin or a bug in the current implementation.
>> That is frustrating. All I can suggest is experimenting with an
>> alternative PDF joiner. I believe pdftk can do it (pdftk *pdf cat output
>> out.pdf)
> qpdf also works well for me, although the command line can be a little
> baroque...
>
It does seem a little odd to have to specify the file to manipulated as 
"empty" then add the pages from the two files I wanted to merge, but it 
did work. The links were preserved.

In my case the command line read:

     qpdf --empty --pages cabinet.pdf 1-z clubs.pdf 1-z -- 
2018-2019-directory.pdf

where the first 2 pdf files are the input and the last one is the output.

[toc] | [prev] | [next] | [standalone]


#202656

FromVincent Lefevre <vincent@vinc17.net>
Date2018-11-21 12:40 +0100
Message-ID<wWz1n-5Na-7@gated-at.bofh.it>
In reply to#202589
On 2018-11-18 16:16:21 -0500, Gary Dale wrote:
> This is frustrating. I'm running Debian/Buster (AMD64) and just finished
> creating web links (mostly mailto:<e-mail address> in a two-part directory I
> created using Scribus. I exported the files to PDF on a Debian/Stretch
> machine because Buster uses a version of Ghostscript that breaks the PDF
> export in Scribus (they recently broke it on Stretch as well, but I put the
> older Ghostscript 9.20 version on hold so I can still use Scribus).

FYI, there's a workaround (see the bug reports), but this may drop
print metadata as a consequence.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

[toc] | [prev] | [next] | [standalone]


#202664

FromGary Dale <garyndp@gmail.com>
Date2018-11-21 17:40 +0100
Message-ID<wWDHH-gD-7@gated-at.bofh.it>
In reply to#202656
On 2018-11-21 6:26 a.m., Vincent Lefevre wrote:
> On 2018-11-18 16:16:21 -0500, Gary Dale wrote:
>> This is frustrating. I'm running Debian/Buster (AMD64) and just finished
>> creating web links (mostly mailto:<e-mail address> in a two-part directory I
>> created using Scribus. I exported the files to PDF on a Debian/Stretch
>> machine because Buster uses a version of Ghostscript that breaks the PDF
>> export in Scribus (they recently broke it on Stretch as well, but I put the
>> older Ghostscript 9.20 version on hold so I can still use Scribus).
> FYI, there's a workaround (see the bug reports), but this may drop
> print metadata as a consequence.
>
To which problem - the PDF export or the missing links?

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web