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:
jfbu 2016-11-17 10:12:53 +01:00
parent 8e1db118c0
commit 308d3aee89

View File

@ -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):