Skip to content

Triple-slash comments not properly removed for \f[ and \dot (Origin: bugzilla #336053) #2097

@doxygen

Description

@doxygen

status RESOLVED severity major in component general for ---
Reported in version 1.4.x on platform Other
Assigned to: Dimitri van Heesch

On 2006-03-26 08:41:37 +0000, Dave Rahardja wrote:

Using triple-slash comments in C++ in conjunction with LaTeX formulas or inlined DOT graphs does not work. The triple slashes are not removed from the code passed to the LaTeX and DOT parsers.

For example, the following comment:

/** A formula.

  • \f[
  • x^{2} +
  • y^{2}
  • \f]
    */

Will generate the correct formula, i.e. x2+y2 (with appropriate superscripts).

But the following:

/// A formula.
/// \f[
/// x^{2} +
/// y^{2}
/// \f]

Will not. It generates the following instead:

///x2+///y2///

I encountered this problem in release 1.4.6-NO. The problem does not exist in release 1.4.5.

On 2006-03-26 08:43:10 +0000, Dave Rahardja wrote:

The same problem occurs with \dot...\enddot directives with triple slash comments.

Also, it doesn't matter if JAVADOC_AUTOBRIEF is ON or OFF.

On 2010-08-22 18:08:56 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2010-08-22 18:09:18 +0000, Dimitri van Heesch wrote:

*** Bug 487871 has been marked as a duplicate of this bug. ***

On 2010-10-09 08:19:30 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.2. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions