When using hyperref and displaying the resulting PDF in xpdf, I see links that are active. I tried achieving the same with useURL, url and goto, but the resulting links aren't active in xpdf. I have to use acroread to have active links. Is there a compelling reason for this behavior? Thanks, Marko
Hi Marko, Marko Schütz wrote:
When using hyperref and displaying the resulting PDF in xpdf, I see links that are active.
I tried achieving the same with useURL, url and goto, but the resulting links aren't active in xpdf. I have to use acroread to have active links.
Is there a compelling reason for this behavior?
Quick test here works fine. Can you post a small example file? Taco
Dear Taco, At Wed, 25 Oct 2006 11:01:06 +0200, Taco Hoekwater wrote:
Hi Marko,
Marko Schütz wrote:
When using hyperref and displaying the resulting PDF in xpdf, I see links that are active.
I tried achieving the same with useURL, url and goto, but the resulting links aren't active in xpdf. I have to use acroread to have active links.
Is there a compelling reason for this behavior?
Quick test here works fine. Can you post a small example file?
below I attach a LaTeX and a ConTeXt version. In xpdf the LaTeX version gives me the link that launches urlCommand, whereas the ConTeXt version presents the url text, but does not make it a link. In acroread both documents result in links, however they are presented slightly different. Thanks, Marko
On Thu, 26 Oct 2006, Marko Schütz wrote:
Dear Taco,
At Wed, 25 Oct 2006 11:01:06 +0200, Taco Hoekwater wrote:
Hi Marko,
Marko Schütz wrote:
When using hyperref and displaying the resulting PDF in xpdf, I see links that are active.
I tried achieving the same with useURL, url and goto, but the resulting links aren't active in xpdf. I have to use acroread to have active links.
Is there a compelling reason for this behavior?
Quick test here works fine. Can you post a small example file?
below I attach a LaTeX and a ConTeXt version. In xpdf the LaTeX version gives me the link that launches urlCommand, whereas the ConTeXt version presents the url text, but does not make it a link.
Add \setupinteraction[state=start] in the beginning of the file.
In acroread both documents result in links, however they are presented slightly different.
That is because acroread tries to guess the url from the text. Aditya
Dear Aditya, At Thu, 26 Oct 2006 00:03:44 -0400 (EDT), Aditya Mahajan wrote:
On Thu, 26 Oct 2006, Marko Schütz wrote:
Dear Taco,
At Wed, 25 Oct 2006 11:01:06 +0200, Taco Hoekwater wrote:
Hi Marko,
Marko Schütz wrote:
When using hyperref and displaying the resulting PDF in xpdf, I see links that are active.
I tried achieving the same with useURL, url and goto, but the resulting links aren't active in xpdf. I have to use acroread to have active links.
Is there a compelling reason for this behavior?
Quick test here works fine. Can you post a small example file?
below I attach a LaTeX and a ConTeXt version. In xpdf the LaTeX version gives me the link that launches urlCommand, whereas the ConTeXt version presents the url text, but does not make it a link.
Add
\setupinteraction[state=start]
I tried your recommendation (see attached files), but did not obtain the desired results. Best regards, Marko
in the beginning of the file.
In acroread both documents result in links, however they are presented slightly different.
That is because acroread tries to guess the url from the text.
Aditya _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Your demimed ConTeXt source: ================================== \starttext \useURL[imara-web-page][http://imara.csail.mit.edu][http://imara.csail.mit.edu] An interesting project can be found at \url[imara-web-page]. \stoptext ================================== (by the way, I find it easiest if example tex code is placed inline in a message, unless it needs attaching due to strange character codes or whitespace issues, in which case quoted-printable encoding makes it easier to scan than base64 encoding does.)
From an earlier message in this thread:
Here is an example that I put on the wiki (because I kept forgetting how to do it and wanted one place to find it again, but I never can find it quickly there anyway, so now it's in the list archives at least): \setupcolors[state=start] \setupinteraction[state=start,color=middlered] \useURL [garden][http://contextgarden.net][][Context garden] \starttext The \from[garden] is useful. \stoptext I just tested it on the live context and it works fine with an active link in the pdf file. But it didn't work in the 2006.10.05 beta (the space in the "Context garden" caused problems). Maybe your example didn't have \setupinteraction[state=start] ? Which looks like one of the problems. For the other, you need to replace \url with \from, giving: \setupinteraction[state=start] \starttext \useURL[imara-web-page][http://imara.csail.mit.edu][http://imara.csail.mit.edu] An interesting project can be found at \from[imara-web-page]. \stoptext which works fine here. If you want colored links (green by default), add \setupcolors[state=start] And to change the link color, use the color= option to \setupinteraction: \setupinteraction[state=start,color=middlered] -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
Dear Sanjoy, At Thu, 26 Oct 2006 13:07:22 +0100, Sanjoy Mahajan wrote: [..]
Which looks like one of the problems. For the other, you need to replace \url with \from, giving:
thank you very much: the \from did the trick!
\setupinteraction[state=start] \starttext \useURL[imara-web-page][http://imara.csail.mit.edu][http://imara.csail.mit.edu] An interesting project can be found at \from[imara-web-page]. \stoptext
which works fine here. If you want colored links (green by default), add
here too. Thanks, Marko
participants (4)
-
Aditya Mahajan
-
Marko Schütz
-
Sanjoy Mahajan
-
Taco Hoekwater