Re: [Doxygen-users] fenced code block bug
Brought to you by:
dimitri
|
From: woody <kn...@re...> - 2015-08-14 21:29:05
|
Given that curly braces enclose items, it is
Pretty clear that the {'} is a stand alone quote, and the remainder of the
line NOTE!.... is just a line of text, and passed through directly to the
output.
However, if the code was
{'NOTE!.......}
then I assume it will behave correctly. perhaps reformatting it so the
braces line up properly will reveal this.
>~~~
>
>'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
><mailto:Dox...@li...>Dox...@li...
>
>https://lists.sourceforge.net/lists/listinfo/doxygen-users
>
>------------------------------------------------------------------------------
>_______________________________________________
>Doxygen-users mailing list
>Dox...@li...
>https://lists.sourceforge.net/lists/listinfo/doxygen-users
|