What kind of investigations did you test regarding the newer versions?

What errors are there in the Latex code, code looks fine to me (and
compiles correctly). The part the second {'} is the closing quote of the
first one, in the HTML you see that the first line has a different color
than the second line (except for the second '. This is mimicked in the
Latex output by the 2 statements. In newer versions behavior is the similar.

Albert

On Fri, Aug 14, 2015 at 2:12 PM, Paul Anton Letnes <p...@letnes.com> wrote:

> Hi,
>
> I've found something that looks like a bug in doxygen --version: 1.8.6
> (and the same goes for 1.8.5)
>
> If I put this in a fenced code block:
>
> ~~~
>
> 'THIS IS A COMMENT
>
> 'NOTE! COMMENTS ARE IGNORED BY THE PROGRAM
> ~~~
> the resulting LaTeX code has errors in it (the HTML looks fine):
> \begin{DoxyCode}
> \textcolor{stringliteral}{'THIS IS A COMMENT}
> \textcolor{stringliteral}{'}NOTE! COMMENTS ARE IGNORED BY THE PROGRAM
> \end{DoxyCode}
>
> This leads to the \textcolor command passing through to the PDF document.
> Also, the curly brace looks off in the second line.
>
> Are there any fixes in more recent versions of doxygen? Or is there a
> workaround that's not too bad? Sometimes it helps to give the .m suffix,
> e.g. ~~~{.m}, to the code block - but weirdly, not always.
>
> -----------
> Paul Anton
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to