<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
(I reply here to a message that was sent to me off-list, as I think it
might be of interest to others.).<br>
<br>
<br>
Salut Juan!<br>
<br>
Thanks for your enthusiastic reaction.<br>
<br>
The reason why XeTeX tells you that its memory is exceeded is simple.
In your preamble you have:<font face="monospace"><br>
</font>
<blockquote><font face="monospace">\renewcommand{\RL}[1]{{\textarab[fullvoc]{#1}}}</font><br>
</blockquote>
Since the command \RL is already defined in my bidi.sty, and is
contained in the \textarab macro definition, by redefining it you
triggered an infinite loop. So you should change all occurences of \RL
in your document into something else, \AR for example. I realize that
by having created the macros \RL and \LR in bidi.sty, I made it
impossible to compile legacy ArabTeX files without making some changes
in the source file. This is intentional: my package is intended to
provide a new, modern interface, at the cost of automatic
backward-compatibility with ArabTeX. But as you see, this is easy to
fix. If you really think I should rename the macros \RL and \LR in
bidi.sty, it's of course still possible to change them, but I will have
to think about it.<br>
<br>
Yet with your shortcut macro for \textarab[fullvoc] (let's say you now
call
it \AR) you will encounter another problem that has to do with the
catcode redefinitions necessary for ArabTeX encoding. An easy solution,
which I shall document in the forthcoming beta version, is to include
those lines in your preamble:<br>
<blockquote><font face="monospace">\makeatletter</font><br>
<font face="monospace">\def\AR{\bgroup\arabtex@codes\text@arab[fullvoc]}</font><br>
<font face="monospace">\makeatother</font><br>
</blockquote>
(In a future version I might try to make this easier by implementing
some mechanism similar to the \CustomVerbatimCommand in the fancyvrb
package. Suggestions are welcome.)<br>
<br>
BTW, in order to compile your document (apart from changing the roman
font) I had to add definitions for \Ayn and \ayn, so I assume these are
defined in your custom version of xdiacomp?<br>
<br>
Hope this helps. <br>
Keep in touch!<br>
<br>
Best wishes,<br>
François<br>
<br>
<br>
<br>
ITS Mail wrote:
<blockquote cite="midf402455183dfb154c035108db9874a2a@its.org.uk"
type="cite">Salut François! <br>
<br>
We were just asking Heaven for your package to arrive, subhanaLlah!
Your documentation is excellent so far, and the package looks great.
We are using it in Mac, using Panther (10.3.9) <br>
<br>
When trying to run the attached, I am getting the following, ending in
error message: <br>
<br>
------------------------------------------------------------ <br>
This is XeTeX, Version 3.141592-2.2-0.995 (Web2C 7.5.5) <br>
entering extended mode <br>
(./its_charrette1.tex <br>
LaTeX2e <2003/12/01> <br>
Babel <v3.8d> and hyphenation patterns for american, british,
french,
german, n <br>
german, italian, latin, spanish, nohyphenation, loaded. <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/book.cls <br>
Document Class: book 2004/02/16 v1.4f Standard LaTeX document class <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/bk12.clo)) <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/fontspec/fontspec.sty <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/ifxetex/ifxetex.sty) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/calc.sty) <br>
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xkeyval/xkeyval.sty <br>
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xkeyval/xkeyval.tex <br>
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xkeyval/keyval.tex))) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/lm/lmodern.sty) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/fontenc.sty <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/euenc/eu1enc.def) <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/euenc/lm/eu1lmr.fd)) <br>
fontspec.cfg loaded. <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/fontspec/fontspec.cfg)) <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/xdiacomp.sty) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/longtable.sty) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/tools/array.sty) <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/arabxetex.sty <br>
(/Users/fatimaazzam/Library/texmf/tex/xelatex/bidi.sty) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsmath.sty <br>
For additional information on amsmath, use the `?' option. <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amstext.sty <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsgen.sty)) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsbsy.sty) <br>
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsopn.sty))) <br>
(./its_charrette1.aux) <br>
Runaway argument? <br>
{\arabicfont \addfontfeature {Mapping=arabtex-\ax@font@allah -\@tempa
\ETC. <br>
! TeX capacity exceeded, sorry [main memory size=6500000]. <br>
<argument> ...mpa }\arabicfont \addfontfeature {Ma <br>
<br>
pping=arabtex-\ax@font@all... <br>
l.35 \Asma{M\=alik Al-Mulk} & \RL{mAlik al-mulk} <br>
& \kill <br>
No pages of output. <br>
<br>
<br>
------------------------------------------------------ <br>
<br>
Any help? What am I doing wrong? <br>
<br>
Many thanks in advance, <br>
with our best regards and thanks, <br>
<br>
Juan <br>
___________ <br>
<font size="-1">Islamic Texts Society
<br>
22A Brooklands Avenue
<br>
Cambridge CB2 8DQ
<br>
United Kingdom
<br>
Telephone +44 (0)1223 314 387
<br>
Fax +44 (0)1223 324 342
<br>
Website: <a class="moz-txt-link-abbreviated" href="http://www.its.org.uk">www.its.org.uk</a>
<br>
Regd. Charity 283832</font>
</blockquote>
<br>
<br>
</body>
</html>