mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
More shorthandoff languages.
This commit is contained in:
parent
355019b2cf
commit
78072ec1e1
@ -90,7 +90,8 @@ class LaTeXWriter(writers.Writer):
|
||||
|
||||
class ExtBabel(Babel):
|
||||
def get_shorthandoff(self):
|
||||
if self.language == 'de':
|
||||
shortlang = self.language.split('_')[0]
|
||||
if shortlang in ('de', 'sl', 'pt', 'es', 'nl', 'pl'):
|
||||
return '\\shorthandoff{"}'
|
||||
return ''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user