0

I have a lot of languages in my documents and suddenly there is an additional spacing when writing english oder greek words.

Here is an example: (between abc und def is an additional space and I don't know whats wrong.

\documentclass[
    12pt,
    headsepline,
    pagesize=auto,
    ngerman,
    greek,
    hebrew,
    english,
    russian,
    latin,
    bibliography=totocnumbered,
    oneside
]{scrreprt}
\usepackage{fontspec}
\usepackage{polyglossia}
    \setmainlanguage[spelling=new,babelshorthands=true]{german}
\usepackage{bidi}%\makeatletter\@Latintrue\makeatother
    \TeXXeTstate=1
    \setmainfont[%
        Mapping=tex-text,%
        Script=Latin%
    ]{Times New Roman} %
    \newfontfamily\englishfont[%
        Script=Latin%
    ]{Times New Roman}
    \setotherlanguage{english}

\newcommand{\engl}[1]{\textenglish{#1}}
\begin{document}
    abc \engl{def}
\end{document}
\endinput
Stefan Pinnow
  • 29,535
C.-P.
  • 119
  • A real MWE is: \documentclass{article} \usepackage{polyglossia} \setmainlanguage{german} \setotherlanguage{english} \begin{document} abc \textenglish{def} \end{document}. The same spurious (?) space is when swtiching language using \begin{lang} or \selectlanguage{lang}. – andc Nov 13 '19 at 13:51
  • Looks like a bug in polyglossia, so report it here: https://github.com/reutenauer/polyglossia/issues – Ulrike Fischer Nov 13 '19 at 13:58
  • Is there an easy bugfix possible until this is fixed? – C.-P. Nov 13 '19 at 15:23
  • Similar situation but solution doesn't work when switching language inline. This behavior is distinctive (only?) to english language, when switching to others langugages there is no such problem. – andc Nov 14 '19 at 06:34
  • I cannot report this bug, because I cannot create an account. Dont know why. Could somebody please post it there. github.com/reutenauer/polyglossia/issues – C.-P. Nov 25 '19 at 08:18
  • This bug seems to be corrected in the next polyglossia release. – andc Nov 25 '19 at 12:29
  • Thanks a lot for the information. – C.-P. Nov 26 '19 at 05:37

0 Answers0