Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
As soon as I added some URLs to my document I got the warning "Syntax Warning: PDFDoc::markDictionnary: Found recursive dicts". Here's an example of one of the links:
https://rogerbinns.github.io/apsw/[APSW] The links show up correctly in the PDF and they work. But it would be nice not to have the warnings. I'm using: Asciidoctor PDF 1.5.0.beta.1 using Asciidoctor 2.0.10 [https://asciidoctor.org] Runtime Environment (ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
What application are you using to read the PDF? -Dan On Thu, Aug 22, 2019 at 1:31 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote: As soon as I added some URLs to my document I got the warning "Syntax Warning: PDFDoc::markDictionnary: Found recursive dicts". Here's an example of one of the links: ... [show rest of quote] -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
My mistake, sorry!
I use okular (and evince when I have to) and both work fine. And asciidoctor-pdf is fine too. The problem arises when I use pdfseparate and pdfunite to extract just the TOC pages: Both these produce the errors I mentioned (but I don't care because they work anyway and asciidoctor-pdf also works fine). pdfseparate -f 1 -l 5 mybook.pdf /tmp/wx%d.pdf pdfunite /tmp/wx1.pdf /tmp/wx2.pdf /tmp/wx3.pdf /tmp/wx4.pdf /tmp/wx5.pdf mybook-TOC.pdf |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
That makes sense because once you start ripping the PDF apart and putting it back together you can end up with dangling or duplicate references / dictionaries. I strongly recommend using hexapdf instead. It's much more accurate. See https://hexapdf.gettalong.org/ Cheers, -Dan On Fri, Aug 23, 2019 at 1:06 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote: My mistake, sorry! ... [show rest of quote] -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Free forum by Nabble | Edit this page |