[Top][All Lists]

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

Re: Observations using utmac

From: Pierre-Jean Fichet
Subject: Re: Observations using utmac
Date: Sun, 01 Nov 2020 12:59:20 +0100
User-agent: neatmail (git://

Hello John,

Thank you for the help.

John Gardner <> wrote:
> > It will work when using neatpost and ps2pdf. Neatpdf is great, but as
> > far as I know, it does not support pdf links yet.
> It doesn't have to. You can embed PDF-specific features by using PostScript's
> pdfmark operator
> < 
> reference.pdf>,
> supported in nearly every PostScript interpreter since the conception of
> PDF. The PostScript code  looks like this:
> [   /Dest    /revision-note
>     /Rect    [358632 -248700 361632 -239700]
>     /Color   [0 0 1]
>     /BS      << /S/U/W 0.1 >>
>     /Subtype /Link
>     /ANN     pdfmark

I'm using the \X'link ...' shortcut, translated to the following
sequence by neatpdf:

12 0 obj
  /Type /Annot
  /Subtype /Link
  /Rect [138.20 554.00 259.00 564.00]
  /A << /S /URI /URI (# >>

Links starting with a "#" are considered as internal ones when using
neatpost. On pdfs produced by neatpdf, the link is recognized, but as
an external one. My pdf viewer tries to launch a browser rather than
pointing to the reference in the document.

I guess it's the anchoring system which is not working, but I did not
investigate more. For information, utmac is using the following
postscript sequence to insert the needed anchor:

\X"ps [ /Dest / /DEST pdfmark"

Warm regards,

reply via email to

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