meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming:rst:symbols [2024/12/06 19:06] – niziak | programming:rst:symbols [2024/12/09 10:54] (current) – niziak | ||
---|---|---|---|
Line 42: | Line 42: | ||
</ | </ | ||
- | < | + | Workaround for different conditionals for '' |
+ | < | ||
+ | .. |br| replace:: |br_html| |br_latex| | ||
+ | |||
+ | .. |br_html| raw:: html | ||
+ | |||
+ | < | ||
+ | |||
+ | .. |br_latex| raw:: latex | ||
+ | |||
+ | | ||
+ | </ | ||
+ | |||
+ | Or Sphinx project wide: | ||
+ | |||
+ | <file python conf.py> | ||
+ | rst_prolog = r""" | ||
+ | .. |br| replace:: |br_html| |br_latex| | ||
+ | |||
+ | .. |br_html| raw:: html | ||
+ | |||
+ | < | ||
+ | |||
+ | .. |br_latex| raw:: latex | ||
+ | |||
+ | | ||
+ | """ | ||
+ | </file> | ||