[tex-eplain] hypertext problems

Dan Luecking luecking at uark.edu
Tue Sep 9 22:08:44 CEST 2008


At 09:36 AM 9/9/2008, you wrote:

>If I Tex the following file:
>---------------------------------------------------------------
>\input eplain
>\beginpackages
>\usepackage{color}
>\usepackage{url}
>\endpackages
>\enablehyperlinks
>
>(1) Click on
>\href{http://www.math.neu.edu/undergrad/mthu130}{menu}
>to see a menu.
>
>(2) Click on
>\url{http://www.math.neu.edu/undergrad/mthu130}
>to see a menu.
>
>(3) Click on \hlstart{url}{}%
>{http://www.math.neu.edu/undergrad/mthu130}menu \hlend
>to see a menu.
>
>\bye
>---------------------------------------------------------------
>, then apply dvips (with the -z) option, then ps2pdf, a pdf file
>is produced.


>   For (1), /table/ appears colored, but is not a
>link.

[It would be amazing if "table" appeared without being in the
source.]

Method (1) works for me, with "menu" appearing (both colored and
boxed in AR8) as a link that takes me to the given URL. Perhaps
this is a version problem? My versions are
 From TeXLive2008,
   eplain:                 3.2
   url.sty:                3.3
   dvips:                  5.97
GhostScript (for ps2pdf): 8.63 (GPL version, Win32 build).

>(3) produces a link with "menu " appended to the
>url.  (1) is the form that I need.

As Jim Diamond suggested, drop the "%". Most likely eveything
after the second argument of \hlstart is interpreted differently
from the normal TeX meaning (URL's can contain % characters).
With this change (and a space added after \hlend) (3) works for me.


Dan


Daniel H. Luecking
Department of Mathematical Sciences
University of Arkansas
"Dubito ergo cogito, cogito ergo sum" --Descartes



More information about the tex-eplain mailing list