[tex-eplain] Contents hyperlinks

Philip Taylor P.Taylor at Rhul.Ac.Uk
Tue Aug 2 16:55:52 CEST 2016



Rodolfo Medina wrote:
> In eplain.pdf, I read:
>>  There is currently no special support for hyperlinks in the table of contents,
>>  but implementing them with the \hldest and \hlstart ... \hlend commands should
>>  be possible.
> Could anyone please suggest a way to do that?
I use the following :

> \def \tocentry #1#2{\noindent #1\dotfill $\mkern 2 mu$#2\endgraf}
>
> \def \addtocentry #1{\immediate \write \toc {\string \tocentry \space {#1}{\string \hlidxpage {}{\the \pageno}}}}
>

** Phil.
-- 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-eplain/attachments/20160802/f9663e35/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 12104 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-eplain/attachments/20160802/f9663e35/attachment.jpe>


More information about the tex-eplain mailing list