lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ps2pdf issues


From: Masamichi Hosoda
Subject: Re: ps2pdf issues
Date: Wed, 20 Jul 2016 21:37:47 +0900 (JST)

> Just for fun I tried to execute
> 
>   ps2pdf notation.pdf notation.pdf.new
> 
> I got zillions of warnings
> 
>    **** Warning: Outline has invalid link that was discarded.
> 
> and then zillions of
> 
>    **** Warning: Link annotation points out of the document page range.
> 
> It closes with
> 
>    **** This file had errors that were repaired or ignored.
>    **** The file was produced by: 
>    **** >>>> xdvipdfmx (20160307) <<<<
>    **** Please notify the author of the software that produced this
>    **** file that it does not conform to Adobe's published PDF
>    **** specification.
> 
> Any ideas?  Could someone try with a newer gs version?

I've tried Ghostscript 9.19.
The following warnings are displayed a lot.

   **** Warning: Outline has invalid link that was discarded.
   **** Warning: Link annotation points out of the document page range.

I think this is due to texinfo.tex bug.
This patch might fix it.

```
--- a/tex/texinfo.tex
+++ b/tex/texinfo.tex
@@ -1540,7 +1540,7 @@ output) for that.)}
   %
   % Emulate the primitive of pdfTeX
   \def\pdfdest name#1 xyz{%
-    \special{pdf:dest (name#1) address@hidden /XYZ @xpos @ypos]}%
+    \special{pdf:dest (name#1) address@hidden /XYZ @xpos @ypos null]}%
   }
   \def\pdfmkdest#1{{%
     % We have to set dummies so commands such as @code, and characters

```

However, even if fix this, there are two problems.

PDF outline is lost.
Remote PDF links (between PDFs) are lost.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]