Browse Source

UCWTeX: Fix languages

jk-bakalarka
Jiří Kalvoda 6 months ago
parent
commit
73af3473c7
  1. 2
      src/formatitko/tex_generator.py

2
src/formatitko/tex_generator.py

@ -89,7 +89,7 @@ class UCWTexGenerator(OutputGenerator):
elif lang == "sk": elif lang == "sk":
return r"\uselanguage{slovak}\frenchspacing\lefthyphenmin=2\righthyphenmin=2{}" return r"\uselanguage{slovak}\frenchspacing\lefthyphenmin=2\righthyphenmin=2{}"
elif lang == "en": elif lang == "en":
return r"\uselanguage{english}\nofrenchspacing\lefthyphenmin=2\righthyphenmin=2{}" return r"\uselanguage{USenglish}\nonfrenchspacing\lefthyphenmin=2\righthyphenmin=2{}"
else: else:
return "" return ""

Loading…
Cancel
Save