mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
make shorthandoff extra safe also for turkish
(perhaps xelatex+babel+turkish may not use active ``=`` either now or in future)
This commit is contained in:
parent
8e1db118c0
commit
308d3aee89
@ -175,7 +175,7 @@ class ExtBabel(Babel):
|
||||
'italian'):
|
||||
return '\\if\\catcode`\\"\\active\\shorthandoff{"}\\fi'
|
||||
elif shortlang in ('tr', 'turkish'):
|
||||
return '\\shorthandoff{=}'
|
||||
return '\\if\\catcode`\\=\\active\\shorthandoff{=}\\fi'
|
||||
return ''
|
||||
|
||||
def uses_cyrillic(self):
|
||||
|
Loading…
Reference in New Issue
Block a user