Hi all,
I'm trying to setup my documentation pages for a project
to automatically detect missing pages. I've defined this
macro to indicate missing links in red:
\newcommand{\see}[1]
{
\IfFileExists{#1.tex}
{\xlink{#1}{#1.html}}
{\textcolor{red}{\xlink{#1}{#1.html}}}
}
I use the macro like this:
See also: \see{thisPage},\see{thatPage}
The latex output shows the missing page names in red,
as desired, but hyperlatex chokes on the IfFileExists
command. Is there anyway to "pass-through" latex macros
that hyperlatex doesn't understand?
If I knew anything at all about latex/hyperlatex, I
guess I would implement the following strategy for
hyperlatex. If I didn't understand a macro call, I would
pipe it through latex as a preprocessor to expand
that un-understood macro and then hyperlatex the
result. Of course, I don't even know if latex can
be used to provide limited levels of expansion...
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