mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove empty else block from latex writer
This commit is contained in:
@@ -301,10 +301,10 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
'passoptionstopackages': '',
|
||||
'inputenc': ('\\ifPDFTeX\n'
|
||||
' \\usepackage[utf8]{inputenc}\n'
|
||||
'\\else\\fi'),
|
||||
'\\fi'),
|
||||
'utf8extra': ('\\ifdefined\\DeclareUnicodeCharacter\n'
|
||||
' \\DeclareUnicodeCharacter{00A0}{\\nobreakspace}\n'
|
||||
'\\else\\fi'),
|
||||
'\\fi'),
|
||||
'cmappkg': '\\usepackage{cmap}',
|
||||
'fontenc': '\\usepackage[T1]{fontenc}',
|
||||
'amsmath': '\\usepackage{amsmath,amssymb,amstext}',
|
||||
|
||||
Reference in New Issue
Block a user