[tex-eplain] Contents hyperlinks

Rodolfo Medina rodolfo.medina at gmail.com
Tue Aug 2 21:09:07 CEST 2016


Philip Taylor <P.Taylor at Rhul.Ac.Uk> writes:

> \input eplain
> \enablehyperlinks
>
> \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}}}}
>     
> \newread \toc
> \immediate \openin \toc = \jobname.toc
> \ifeof \toc \closein \toc \else \closein \toc \input \jobname.toc \fi
>
> \newwrite\toc
> \immediate \openout \toc = \jobname.toc
>
> \addtocentry {Section 1}
>
> Hallo.
>
> \immediate \closeout \toc
>
> \end


Unfortunately nothing, the link doesn't work for me.  I saw it does with
pdftex, but not in xdvi, processing the file with `tex test'.

Rodolfo



More information about the tex-eplain mailing list