Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sphinx LaTeX build: export plain source code? #42

Open
markhh80 opened this issue Feb 15, 2021 · 0 comments
Open

Sphinx LaTeX build: export plain source code? #42

markhh80 opened this issue Feb 15, 2021 · 0 comments

Comments

@markhh80
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant