Re: Complete Re: adding pdf hyperlink support
2011-07-12 21:20:26 GMT
Can you send me a sample PS and PDF that doesn't work for you?
I did refer to the adobe docs when I wrote it and it works for me.
The destinations aren't random afaik just top-of-page.
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Hi,I patched your code in, compiled and voilà, the nice red boxes are there around my links. Alas, clicking does nothing but highlight them. Maybe we have different Ghostscript versions? I've read here [http://www.madepublic.com/rc.php?RCD_ID=15191] that one must know the number of the page one is jumping to, and add it with "/Page 7", say. Might this not solve the more-or-less-random-destinations problem?Also, the pdfmark docs might offer some insight: http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/pdf_creation_apis_and_specs/pdfmarkReference.pdf.Regards,
Miguel de Benito.On Mon, Jul 11, 2011 at 18:07, Sam Liddicott <sam <at> liddicott.com> wrote:As far as I can test, the latex hyperlink stuff displays the same behavior so I don't know if there is a solution.
On 11/07/11 12:55, Philippe Joyez wrote:
I just tested your patch, and it's indeed pretty close to be working
perfectly. Like you said, the only frustrating part is that the pdf reader
doesn't jump exactly at the link, but nearby. Not always at the top of the
page by the way: some times in the middle, at the bottom, occasionnally
close to the dest but on the next page... It seems that the numbers for the
dest rect are off, for some reason. I guess you have already tried to
understand this wierdness.
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
_______________________________________________ Texmacs-dev mailing list Texmacs-dev <at> gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev