# arabxetex: how to properly write wasla sign?

How can I create "wasla" signs using arabxetex? Writing qad-i in.sarafa (an example from the arabtex documentation) produces:

In arabtex, it produces:

How can I get the same effect in arabxetex?

• Try with qad i-n.sarafa with full voc option – Salim Bou Sep 29 '15 at 8:47

This is less an answer than a comment that’s too long for a comment.

Page 7 of the arabxetex manual includes verses from the Quran containing instances of waṣla:

\begin{arab}[fullvoc]
sUraTu 'l-ssajdaTi

bi-'AyAtinA 'lla_dIna

ani 'l-ma.dAjii

tu_tIru 'l-'ar.da

tasq.I 'l-.har_ta

bi-'l-.haqqi
\end{arab}


These examples don’t look quite like what I’d expect from the documentation of arabtex; and all but one of the examples of waṣla in the arabtex documentation produce bad results in arabxetex.

The example that works is wa-ismuhu. I can fix some of the other examples:

\begin{arab}[fullvoc]
f--a-n.sarafa% not f--a-in.sarafa

'al-i-smu% not 'al-i-ismu

yA i-bnI% not yA ibnI

h_a_dA i-bnuh_u% not h_a_dA ibnuh_u

'al-i-^stirA'u% not 'al-i-i^stirA'u
\end{arab}


No luck yet with the remaining examples.

The documentation for arabxetex should address this, because it’s not just obvious how one is supposed to adapt the ASCII transliteration of arabtex for arabxetex.

• You're a wizard! Should I send the arabxetex maintainer a note with a link to our discussion? – user89 Oct 30 '15 at 1:28
• @user89 That may be a good idea. I worked this out at 3 o’clock in the morning, which may be why I couldn’t fix all the examples, but (still sleepy? and not really a wizard) I’ve had no more light on them. It would be nice if we could send the maintainer a complete account to insert into the documentation, but perhaps these cases will be enough to help someone else work out what’s going on. – Thérèse Oct 30 '15 at 1:40

See the output below

\documentclass[a4paper,10pt]{article}

\usepackage{arabtex}
\usepackage{utf8}

\begin{document}

\setcode{utf8}
\<قَدِ ٱنْصَرَفَ.  >

\end{document}


• Sure, but this uses arabtex, and not arabxetex. Also, it uses arabic input, rather than arabtex-like input. – user89 Sep 30 '15 at 4:45
• Is there any reason why you want to stick with arabxetex? – CroCo Sep 30 '15 at 23:46
• I thought it was more modern and up-to-date compared to arabtex? At least, that is the impression I got from its manual? – user89 Oct 1 '15 at 0:23