doxyrest icon indicating copy to clipboard operation
doxyrest copied to clipboard

Sphinx LaTeX build: export plain source code?

Open markhh80 opened this issue 3 years ago • 0 comments

Hi,

I'm exporting a sphinx documentation to LaTeX and the doxyrest code blocks are generated with {sphinxalltt} environments, example:

\begin{sphinxalltt} namespace ContextInfo { // enums enum {\hyperref[\detokenize{reference/enum_MyNamespace_ContextInfo_ChannelIndexMode:doxid-namespace-mynamespace-1-1-context-info-1adde2196f72f6de24085dd9f2b0666c7d}]{\sphinxcrossref{\DUrole{std,std-ref}{ChannelIndexMode}}}}; ... \end{sphinxalltt}

Is there a way to have them exported as "plain" source code without references so they can be used with code listing environments instead (example: package {listings} or {sphinxVerbatim})? Preferably, only for LaTeX builds.

Thanks!

markhh80 avatar Feb 15 '21 12:02 markhh80