<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hello Hartmut Niemann,<div><br></div><div>may be that the XeLaTex-package polyglossia could serve your purposes better much better. You could use many languages in one document, also Arabic and other RTL text.</div><div><br></div><div>Best wishes and best regards,</div><div>Jens Bakker</div><div><br></div><div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>Am 11.06.2024 um 12:06 schrieb Niemann, Hartmut via XeTeX <xetex@tug.org>:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;">Hello!<o:p></o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><o:p> </o:p></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">In my current project I use XeLaTeX to typeset PDF files from texts in different languages held in a separate database.<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">(This is done with a generator that is language-unaware, generating lines like<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">\long\def\msgtext{</span><span lang="EN-US" style="font-family: Arial, sans-serif;">عطل</span><span lang="EN-US"><span class="Apple-converted-space"> </span></span><span lang="EN-US" style="font-family: Arial, sans-serif;">في</span><span lang="EN-US"><span class="Apple-converted-space"> </span></span><span lang="EN-US" style="font-family: Arial, sans-serif;">التهيئة</span><span lang="EN-US"><span class="Apple-converted-space"> </span></span><span lang="EN-US" style="font-family: Arial, sans-serif;">البنيوماتية</span><span lang="EN-US"><span class="Apple-converted-space"> </span>GS}<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">Into a .inc file and a manually written, language dependent, frame document that defines \msgtext{}<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">I typeset a (mostly) Arabic document using XeLaTeX and \usepackage{arabxetex}[utf]<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">Arabxetex supports encoding Arabic in ASCII, and this interferes with the fact, that our texts have latin characters, like English abbreviations, location IDs and such.<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">The documented solution would be enclosing these latin characters which are to be typeset verbally into \text{LR}, which is rather hard if the text comes from a database.<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">Does anybody how to switch off arabxetex’s ASCII-to-arabic conversion completely?<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">Or is there a package that supports Arabic (with Arabic typographic conventions) but made for pure Unicode sources?<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">With best regards<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;"><span lang="EN-US">Hartmut Niemann</span></div></div></div></blockquote></div><br></div></body></html>