-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Milestone
Description
Describe the bug
I use simple indentations for terms and their explanation:
Example:
Listing:
:samp:`{file}.cc` :samp:`{file}.cp` :samp:`{file}.cxx` :samp:`{file}.cpp` :samp:`{file}.CPP` :samp:`{file}.c++` :samp:`{file}.C`
C++ source code that must be preprocessed. Note that in :samp:`.cxx`,
the last two letters must both be literally :samp:`x`. Likewise,
:samp:`.C` refers to a literal capital C.
:samp:`{file}.mm` :samp:`{file}.M`
Objective-C++ source code that must be preprocessed.
:samp:`{file}.mii`
Objective-C++ source code that should not be preprocessed.
:samp:`{file}.hh` :samp:`{file}.H` :samp:`{file}.hp` :samp:`{file}.hxx` :samp:`{file}.hpp` :samp:`{file}.HPP` :samp:`{file}.h++` :samp:`{file}.tcc`
C++ header file to be turned into a precompiled header or Ada specWhich results in the following HTML output:
Alabaster:
RTD theme:
While xelatex output does not contain a new line:
How to Reproduce
Build the snippet.
Expected behavior
No response
Your project
Build the snippet
Screenshots
No response
OS
Linux
Python version
3.8
Sphinx version
4.3.0
Sphinx extensions
No response
Extra tools
No response
Additional context
No response


