mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix `\sphinxbfcode
` latex macro swallows initial space of argument
This commit is contained in:
parent
ab2cc9d8f1
commit
0b70314f66
1
CHANGES
1
CHANGES
@ -29,6 +29,7 @@ Bugs fixed
|
||||
* #3850: Fix color handling in make mode's help command
|
||||
* #3865: use of self.env.warn in sphinx extension fails
|
||||
* #3824: production lists apply smart quotes transform since Sphinx 1.6.1
|
||||
* latex: fix ``\sphinxbfcode`` swallows initial space of argument
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
@ -1402,7 +1402,7 @@
|
||||
\lowercase{\endgroup\def~{\leavevmode\kern\z@\char`#1 }}}
|
||||
\def\sphinx@literal@nolig@list {\do\`\do\<\do\>\do\'\do\-}%
|
||||
|
||||
\protected\def\sphinxbfcode#1{\sphinxcode{\bfseries#1}}
|
||||
\protected\def\sphinxbfcode#1{\sphinxcode{\bfseries{}#1}}
|
||||
\protected\def\sphinxemail#1{\textsf{#1}}
|
||||
\protected\def\sphinxtablecontinued#1{\textsf{#1}}
|
||||
\protected\def\sphinxtitleref#1{\emph{#1}}
|
||||
|
Loading…
Reference in New Issue
Block a user