[tex-eplain] Cross-reference hyperlinks between different files
Oleg Katsitadze
olegkat at gmail.com
Tue Aug 14 12:24:42 CEST 2007
On Mon, Aug 13, 2007 at 07:59:48PM +0200, Rodolfo Medina wrote:
> Rodolfo Medina <rodolfo.medina at gmail.com> writes:
>
> > I'm glad to know that recent versions of eplain feature hyperlink capability,
> > but: is it not possible to have cross-reference hyperlinks between two
> > different files?
> >
> > I managed to achieve this in a quite complicated way building together macros
> > from eplain.tex and from hyperbasics.tex, and was hoping there is now some
> > simpler way.
>
>
>
> Oleg Katsitadze <olegkat at gmail.com> writes:
>
> > It is possible, see the filename link type.
> >
> >
> > Here's an example from the manual:
> >
> > \hlopts{ext=.pdf}
> > \hlstart{filename}{file=book}{dest123}
> > Link to dest123 in file `book.pdf'\hlend
> >
> > To simplify this, you can use something like:
> >
> > \hlopts{ext=.pdf}
> > \def\booklink{\hlstart{filename}{file=book}}
> >
> > \booklink{dest123}
> > Link to dest123 in file `book.pdf'\hlend
> >
> > Or did you mean something else?
>
>
>
> I was meaning to put together hyperlink *and* cross reference, which is
Oh, I see now.
> achieved in the recent versions of eplain with the \definexref and \ref or
> \refn commands, but only (as far as I know) within a single file.
You are right, it doesn't work cross-file.
> The commands you reported above cannot, if I understand well, play the role of
> cross referencies: e.g., let me read in a start point that something has
> changed in the destination point (paragraph number or so). If I'm wrong,
> please would you correct me.
Again, you are right.
> To do what I want I had to put old eplain cross references commands `inside'
> hyperbasics.tex commands and vice versa, and besides to make all the .aux files
> readable from every file.
I think cross-file xrefs would make a nice addition to Eplain. I've
added this to my list.
Best,
Oleg
More information about the tex-eplain
mailing list