[PPL-devel] Spacing problem with Doxygen 1.4.5

Enea Zaffanella zaffanella at cs.unipr.it
Thu Oct 6 18:16:32 CEST 2005


Dear Dimitri,

there is a spacing problem affecting the LaTeX output.
An inline math formula followed by a punctuation symbol, such as

    some words \f$x + y\f$, some other words

is translated into

   some words $x + y$ , some other words

where there is a spurious space between the closing dollar and the 
punctuation symbols.

The solution is just to comment away line 962 of file commentscan.l
(release 1.4.5), i.e.,

=================================================================
  /* --------------   Rules for handling formulas ---------------- */

<ReadFormulaShort>{CMD}"f$"		{ // end of inline formula
   					  formulaText+="$";
					  addOutput(addFormula());
					  // addOutput(' ');
					  BEGIN(Comment);
   					}
=================================================================

This seems to work well when generating both the html and LaTeX 
documentation of the PPL.

Cheers,
Enea Zaffanella.




More information about the PPL-devel mailing list