copperspice / doxypress

Documentation generator using annotated sources for multiple computer languages
https://www.copperspice.com/
GNU General Public License v2.0
150 stars 14 forks source link

Markdown code blocks generated outside DoxyCode block in Latex output #16

Closed TransientResponse closed 7 years ago

TransientResponse commented 7 years ago

Take the example markdown file here:

# Usage with Python

The DCS-100 SDK can be used in Python code with either [IronPython](http://www.ironpython.net) or [Python.NET](http://pythonnet.github.io). The usage is a little different between the two.

## IronPython

~~~{.py}
import os
import clr
...

The generated Latex for this markdown will be something like:

The D\+C\+S-\/100 S\+DK can be used in Python code with either \href{http://www.ironpython.net}{\tt Iron\+Python} or \href{http://pythonnet.github.io}{\tt Python.\+N\+ET}. The usage is a little different between the two.

\subsection*{Iron\+Python}

\begin{DoxyCode}
\end{DoxyCode}

1 \textcolor{keyword}{import} os
2 \textcolor{keyword}{import} clr
3 ...

Additionally, it would be nice if the latex output used Minted to format such code, as it would avoid the issues of pre-processing the code (for which I will file another issue I found) for DoxyPress and turn it into a straight-through transfer.

agserm commented 7 years ago

Thanks to your clear and repeatable report, we have been able to track this down. This will be fixed in the upcoming release of DoxyPress.

TransientResponse commented 7 years ago

Great, thanks! Awesome turnaround time on these issues. I really appreciate your work on these.

TransientResponse commented 7 years ago

Confirmed fixed in 1.2.10.