[NTG-context] Re: LaTeX2ConTeXt : external links not work after
recompiled
VnPenguin
vnpenguin at gmail.com
Mon Dec 6 00:32:24 CET 2004
On Sun, 05 Dec 2004 21:33:27 +0100, h h extern <pragma at wxs.nl> wrote:
> Patrick Gundlach wrote:
>
>
> in core.ref.tex, patch:
>
> \def\setouterlocation#1%
> {\ifundefined{\v!file:::#1}%
> \ifconditional\forceURLlocation
> \edef\otherURL{#1}%
> \let\otherfile\empty
> \else
> \let\otherURL\empty
> \edef\otherfile{#1}%
> \fi
> \else
> \let\doexternaldocument\setouterfilelocation
> \let\doexternalurl \setouterfilelocation % <<< missing line
> \csname\v!file:::#1\endcsname
> \fi
> \setfalse\forceURLlocation
> \doifparentfileelse\otherfile
> {\let\otherURL\empty
> \let\otherfile\empty
> \global\let\otherlabel\empty
> \let\otherprefix\empty}
> {\xdef\otherlabel{#1}%
> \edef\otherprefix{#1::}}}
>
> I need to rewrite this piece of code, currently there is some nasty overloading
> taking place (in order to safe hash entries i pack several things into one
> macro, which is used nested and which meaning gets overloaded)
Thank you! It works well now :)
Regards,
Quy
More information about the ntg-context
mailing list