mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #4837: (latex with class memoir) Font command \sf is not supported
This commit is contained in:
parent
00bdea2411
commit
453d6a0b67
1
CHANGES
1
CHANGES
@ -26,6 +26,7 @@ Bugs fixed
|
||||
* #4817: wrong URLs on warning messages
|
||||
* #4784: latex: :confval:`latex_show_urls` assigns incorrect footnote numbers if
|
||||
hyperlinks exists inside substitutions
|
||||
* #4837: latex: Class memoir Error Font command ``\sf`` is not supported
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
@ -615,7 +615,9 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
if builder.config.language \
|
||||
and 'fncychap' not in builder.config.latex_elements:
|
||||
# use Sonny style if any language specified
|
||||
self.elements['fncychap'] = '\\usepackage[Sonny]{fncychap}'
|
||||
self.elements['fncychap'] = ('\\usepackage[Sonny]{fncychap}'
|
||||
'\\ChNameVar{\\Large\\sffamily}'
|
||||
'\\ChTitleVar{\\Large\\sffamily}')
|
||||
|
||||
self.babel = ExtBabel(builder.config.language)
|
||||
if builder.config.language and not self.babel.is_supported_language():
|
||||
|
Loading…
Reference in New Issue
Block a user