Merge pull request #3879 from jfbu/fixdescannotation

latex: Fix #3878 by using ``\sphinxbfcode`` and not ``\sphinxstrong``
This commit is contained in:
Takeshi KOMIYA 2017-06-25 01:00:55 +09:00 committed by GitHub
commit e0a1fede6d
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ Bugs fixed
* #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
* #3878: Quotes in auto-documented class attributes should be straight quotes
in PDF output
* #3881: LaTeX figure floated to next page sometimes leaves extra vertical
whitespace
* #3885: duplicated footnotes raises IndexError

View File

@ -1231,7 +1231,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
def visit_desc_annotation(self, node):
# type: (nodes.Node) -> None
self.body.append(r'\sphinxstrong{')
self.body.append(r'\sphinxbfcode{')
def depart_desc_annotation(self, node):
# type: (nodes.Node) -> None