Well in the meantime, I used this m4 macro-processor hack...

%define(see,`syscmd(test -e $1.tex)
    ifelse(sysval,0,\xlink{$1}{$1.html},
        \textcolor{red}{$1})')

The above should be entered on a single line,
not multiple lines as shown.

The advantage? You can bring the entire power
of Linux to bear via the syscmd macro in m4.

The disadvantage? You should run your latex source
through m4 before running latex/hyperlatex. Since
I'm using make to generate and upload the html pages,
this is not too big of a deal.

However, I will try the HlxEval trick for a cleaner
solution...

Hey, while I'm at it, is it possible to easily change
the link color in certain instances? This didn't work:

\textcolor{red}{\xlink{thisPage}{thisPage.html}}

The link still rendered in blue.

Thanks for all your help,

john


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Hyperlatex-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hyperlatex-users

Reply via email to