mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
latex: Fix #3878 by using `\sphinxbfcode
and not
\sphinxstrong
`
This commit is contained in:
parent
0b70314f66
commit
0a805ce03b
2
CHANGES
2
CHANGES
@ -30,6 +30,8 @@ Bugs fixed
|
|||||||
* #3865: use of self.env.warn in sphinx extension fails
|
* #3865: use of self.env.warn in sphinx extension fails
|
||||||
* #3824: production lists apply smart quotes transform since Sphinx 1.6.1
|
* #3824: production lists apply smart quotes transform since Sphinx 1.6.1
|
||||||
* latex: fix ``\sphinxbfcode`` swallows initial space of argument
|
* latex: fix ``\sphinxbfcode`` swallows initial space of argument
|
||||||
|
* #3878: Quotes in auto-documented class attributes should be straight quotes
|
||||||
|
in PDF output
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
@ -1231,7 +1231,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
|||||||
|
|
||||||
def visit_desc_annotation(self, node):
|
def visit_desc_annotation(self, node):
|
||||||
# type: (nodes.Node) -> None
|
# type: (nodes.Node) -> None
|
||||||
self.body.append(r'\sphinxstrong{')
|
self.body.append(r'\sphinxbfcode{')
|
||||||
|
|
||||||
def depart_desc_annotation(self, node):
|
def depart_desc_annotation(self, node):
|
||||||
# type: (nodes.Node) -> None
|
# type: (nodes.Node) -> None
|
||||||
|
Loading…
Reference in New Issue
Block a user