[Doxygen-users] \htmlonly, \latexonly etc.
Brought to you by:
dimitri
From: Christoph K. <ko...@in...> - 2001-09-05 07:36:35
|
Hi. I have encountered a problem with the use of \htmlonly and \latexonly (at least I perceive it as a problem). I wrote a class documentation that was somewhat formula- heavy. I want to use the "pass-through" capability of Doxygen (via \latexonly) to have "good-looking" formulae in the LaTeX output. The problem is that the part between \latexonly and \endlatexonly is a not replacement but a supplement. If I want a textual approximation of the formula-heavy part to appear in the HTML output I have to use \htmlonly ... \endhtmlonly for that. But then the manpage output (and also the RTF output, I suppose, but I didn't explicitly check) has neither the \latexonly nor the \htmlonly part. What to do? Either add \xxxonly and \endxxxonly for every output format xxx, or invent something like \latexonly <The LaTeX specific part> \htmlonly <The HTML specific part> \otherformats <The default part, valid for the formats that were not explicitly mentioned before> \endlatexonly or \htmlonly <The HTML part> \otherformats <Default part> \endhtmlonly I. e., some \xxxonly part goes as far as the next \yyyonly, \otherformats, or \endxxxonly tag is encountered. Do I make any sense at all? Is there already a way to achieve what I want? Cheers, Christoph -- ================================================================================ Christoph Koegl, Dept. of Computer Science, University of Kaiserslautern E-Mail: christoph at familie-koegl dot de WWW: http://www dot familie-koegl dot de/ -------------------------------------------------------------------------------- There are no stupid questions, but there are a LOT of inquisitive idiots. -------------------------------------------------------------------------------- |