[XeTeX] various problems with ArabXeTeX
Benjamin Geer
benjamin.geer at gmail.com
Tue Nov 25 13:23:32 CET 2008
2008/11/25 Ross Moore <ross at ics.mq.edu.au>:
> The default without specifying any font at all is in fact Scheherazade
> with a scale factor of 2 --- see line 44 of arabxetex.sty .
OK, but even if I let ArabXeTeX use its default font and scale factor,
the line spacing is still uneven. (See the attached files,
arabxetex-test.tex and arabxetex-test.pdf; it's especially easy to see
the unevenness in the last few lines of the document.) Thank you for
showing me different ways of setting font size and line spacing, but
since I'm not a professional typesetter, I have no idea what values to
use. Professional typesetters know how to calculate line spacing in
relation to font size in order to make the result look good, and LaTeX
knows, too, when I use it to write in English.
It's polyglossia that produces tiny, unreadable text if I don't
specify a font size (see the attached files,
polyglossia-tiny-text-test.tex and polyglossia-tiny-text-test.pdf).
Also, polyglossia crashes if I don't specify a font (see
polyglossia-crash-test.tex):
**********
ben at lenovo-laptop:~/work/arabic-work/textest$ xelatex
polyglossia-crash-test.tex
This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./polyglossia-crash-test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, farsi, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/xelatex/paraglossia/polyglossia.sty
(/usr/share/texmf-texlive/tex/latex/etoolbox/etoolbox.sty
(/usr/share/texmf-texlive/tex/latex/etex/etex.sty))
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.tex
(/usr/share/texmf-texlive/tex/latex/xkeyval/keyval.tex)))
(/usr/share/texmf/tex/latex/lm/lmodern.sty)
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1enc.def)
(/usr/share/texmf-texlive/tex/xelatex/euenc/lm/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.cfg)))
(/usr/share/texmf-texlive/tex/xelatex/paraglossia/gloss-arabic.ldf
(/usr/share/texmf-texlive/tex/xelatex/bidi.sty)
(/usr/share/texmf-texlive/tex/xelatex/paraglossia/hijrical.sty
(/usr/share/texmf-texlive/tex/xelatex/paraglossia/cal-util.def)))
(./polyglossia-crash-test.aux)kpathsea: Running mktextfm
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation 6 for 600.
/usr/share/texmf/web2c/mktexnam: Need to update
/usr/share/texmf-texlive/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
nonstopmode; input
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexmf
! I can't find file `'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input
Transcript written on mfput.log.
grep: .log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input ' failed to make .tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \zf at basefont="" not loadable: Metric (TFM) file or installed font not fo
und.
<to be read again>
\zf at family@fontdeflmr
l.21 \begin{document}
? X
No pages of output.
Transcript written on polyglossia-crash-test.log.
**********
It seems to me that default values should produce readable text and
even line spacing.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arabxetex-test.tex
Type: application/x-tex
Size: 8589 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20081125/f7b0f6d1/attachment-0003.tex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arabxetex-test.pdf
Type: application/pdf
Size: 37596 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20081125/f7b0f6d1/attachment-0002.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polyglossia-crash-test.tex
Type: application/x-tex
Size: 8615 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20081125/f7b0f6d1/attachment-0004.tex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polyglossia-tiny-text-test.tex
Type: application/x-tex
Size: 8602 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20081125/f7b0f6d1/attachment-0005.tex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polyglossia-tiny-text-test.pdf
Type: application/pdf
Size: 33626 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20081125/f7b0f6d1/attachment-0003.pdf
More information about the XeTeX
mailing list