Resolving refs in htmlonly/latexonly blocks

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Resolving refs in htmlonly/latexonly blocks

Shawn Hoover
Hello,

I would like to use a footnote command based on the StackOverflow answer [1], like this:

ALIASES += footnote{1}="\latexonly\footnote\{\1\}\endlatexonly\htmlonly<span class=\"ref\"><span class=\"refnum\">†</span><span class=\"refbody\" style=\"display:none;\">\1</span></span>\endhtmlonly"

This works great for plain text, but doxygen commands in the custom command argument are not processed, due to the semantics of latexonly and htmlonly.

What I would like to do is include a reference in some footnotes, for example:

Documentation for foo. @footnote{For more details on things like foo, see @ref bar.}

Any ideas to allow a richer footnote command like this?

Thanks,
Shawn


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Loading...