RE2: Right-to-left text written left-to-right
outlook user
RACP at outlook.fr
Mon May 13 10:27:43 CEST 2024
I try to create MWE, so I redact out all what is not needed to reproduce the issue. For example in my previous issue, it was about Arabic script appearing or not. And it was reproducible only with Babel to write Arabic, so that's all I left out. But it's true that for that other issue, that part redacted out becomes useful. Didn't knew that it can create another problem so I didn't used it even in my original document, hence the actual problem
________________________________________
De : Sam Carter <sam.carter8 at aol.com>
Envoyé : lundi 13 mai 2024 10:24
À : outlook user <RACP at outlook.fr>
Cc : texhax at tug.org <texhax at tug.org>
Objet : Re: Right-to-left text written left-to-right
In your earlier examples, you already had `\usepackage[bidi=basic]{babel}`, why did you remove the bidi option and make your text a complete gibberish?
> On 13. May 2024, at 10:13, outlook user <RACP at outlook.fr> wrote:
>
> On version 1.16.0 of LuaHBTeX from TeX Live distribution version 2023 using LUALaTeX 2023.8.28
>
> Here's an example: <image.png>
> The letters are written in reverse order, making it complete gibberish
>
> ```LaTeX
> \documentclass{article}
>
> \usepackage{translations}
>
> \DeclareTranslation{Arabic}{text}{ ﻓﺼﺤﻰ اﻟﻌﺼﺮ }
>
> \usepackage{babel}
>
> \babelfont{rm}{FreeSerif}
>
> \begin{document}
>
> \selectlanguage{arabic}
>
> \GetTranslation{text}
>
> \end{document}
> ```
More information about the texhax
mailing list.