[XeTeX] caption problem with polyglossia

VAFA KHALIGHI vafa.khalighi at students.mq.edu.au
Thu Jul 3 06:21:56 CEST 2008


I think there is a minor problem with book and similar classes like amsbook
and etc.
The error that you get is the same.
If you run xelatex , you get:

This is XeTeXk, Version 3.1415926-2.2-0.999.2 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./sample.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech,
slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek,
mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk,
icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian,
esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan,
galicia
n, swedish, ukenglish, loaded.
(/usr/share/texmf-texlive/tex/latex/base/book.cls
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/bk10.clo))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/usr/share/texmf-texlive/tex/xelatex/graphics/graphics.cfg)
(/usr/share/texmf-texlive/tex/xelatex/graphics/xetex.def)))
(/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/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/bidi.sty)
(/usr/share/texmf-texlive/tex/xelatex/xltxtra.sty
(/usr/share/texmf-texlive/tex/xelatex/xunicode.sty)
(/usr/share/texmf-texlive/tex/latex/etex/etex.sty)
(/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty))
(/usr/share/texmf-texlive/tex/xelatex/url.sty)
(/usr/share/texmf-texlive/tex/xelatex/polyglossia/polyglossia.sty
(/usr/share/texmf-texlive/tex/latex/etoolbox/etoolbox.sty))
(/usr/share/texmf-texlive/tex/xelatex/polyglossia/hijrical.sty
(/usr/share/texmf-texlive/tex/xelatex/polyglossia/cal-util.def))
(/usr/share/texmf-texlive/tex/xelatex/polyglossia/gloss-farsi.ldf
(/usr/share/texmf-texlive/tex/xelatex/polyglossia/farsical.sty))
(/usr/share/texmf-texlive/tex/xelatex/polyglossia/gloss-english.ldf)
(/usr/share/texmf-texlive/tex/xelatex/polyglossia/gloss-arabic.ldf)
(./sample.aux) [1]

LaTeX Font Warning: Font shape `EU1/Nazli(0)/m/sl' undefined
(Font)              using `EU1/Nazli(0)/m/n' instead on input line 24.

[2] (./sample.toc) [3] [4]
فصل {\addfontfeature{Mapping=farsidigits}1}.
[5] <use  "lion.jpg" >

! Package xkeyval Error: `MAPPING' undefined in families `options'.

See the xkeyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.89 \end{document}

?


sO it is just the last bit, but after typing `r' and pressing `Enter', you
get all you wanted.

The other problem is that with this, the headers (right and left marks) and
footers are printed in the opposite direction and the chapter, section,
subsection numbers in heraders are printed as Western digits and not Persian
digits. (arabi package does not have this problem)

Thanks

-- 
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Vafa Khalighi \/\/\/\/\/\/\/\/\/
// / \\ \
^^^^^ ^^^^^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20080703/63fac78b/attachment-0001.html 


More information about the XeTeX mailing list