[XeTeX] Polyglossia "broken"?

VAFA KHALIGHI vafaklg at gmail.com
Wed Sep 21 16:27:46 CEST 2011


For me, the attached example gives no error.

On Thu, Sep 22, 2011 at 12:23 AM, Arash Zeini <arash.zeini at gmail.com> wrote:

> On Wednesday 21 September 2011, VAFA KHALIGHI wrote:
> > fontspec loads xunicode and xunicode has been updated recently. What
> > happens if you load exaccent before polyglossia?
>
> Nothing. I get the same error messages as before.
>
> Arash
>
>
> > On Thu, Sep 22, 2011 at 12:04 AM, Arash Zeini <arash.zeini at gmail.com>
> wrote:
> > > Thanks for all the posts. Vafa's mail below answers my question about
> > > recent
> > > changes.
> > >
> > > Loading xkeyval before polyglossia takes care of the problem in the
> > > minimal example, but not in my actual document where I also load
> > > exaccent. In this case I receive complaints about \upperaccent and
> other
> > > commands being already
> > > defined.
> > >
> > > Arash
> > >
> > > On Wednesday 21 September 2011, VAFA KHALIGHI wrote:
> > > > I do not know about your other error messages but I guess they all
> > > > should be related to fontspec. A similar questions was asked on the
> > > > TeXLive mailing list and Wagner perhaps thought that your question
> was
> > > > on the TeXLive mailng list; that is why...
> > > >
> > > > fontspec does not load xkeyval anymore (but used to load xkeyval),
> > > > polyglossia uses xkeyval but does not load it since it loads fontspec
> > > > and fontspec used to load xkeyval anymore.
> > > >
> > > > 2011/9/21 Arash Zeini <arash.zeini at gmail.com>
> > > >
> > > > > On Wednesday 21 September 2011, Zdenek Wagner wrote:
> > > > > > 2011/9/21 Arash Zeini <arash.zeini at gmail.com>:
> > > > > > > Hello,
> > > > > >
> > > > > > See the previous thread open by Alex Hamann
> > > > >
> > > > > Thanks for your prompt response. I am unable to locate a recent and
> > > > > relevant
> > > > > thread started by Alex Hamann.
> > > > >
> > > > > Vafa's suggestion of loading xkeyval before polyglossia reduces the
> > > > > number of
> > > > > errors drastically but brings up new ones related to exaccent,
> which
> > > > > I load after xkeyval and polyglossia.
> > > > >
> > > > > My apologies if I am missing the obvious. I am wondering what could
> > >
> > > have
> > >
> > > > > changed in the past week or so.
> > > > >
> > > > > Thanks and best wishes,
> > > > > Arash
> > > > >
> > > > > > > I updated my vanilla TexLive 2011 installation two days ago and
> > >
> > > have
> > >
> > > > > > > since been unable to compile my document correctly. Nothing has
> > > > > > > changed in my document but I now receive 181 error messages,
> most
> > >
> > > of
> > >
> > > > > > > which relate to polyglossia. Here are some examples:
> > > > > > >
> > > > > > > Package polyglossia Warning: \english at font@rm is not defined
> on
> > >
> > > input
> > >
> > > > > > > line 27.
> > > > > > >
> > > > > > > ! Extra \fi.
> > > > > > > \inlineextras at german ...ds \german at shorthands \fi
> > > > > > >
> > > > > > > l.183 ...e (`\textgerman{individuelle Lebensdauer}
> > > > > > >
> > > > > > >
>  ').\footnote{For
> > >
> > > an
> > >
> > > > > > > altern...
> > > > > > >
> > > > > > > My editor opens up this section of polyglossia.sty:
> > > > > > >
> > > > > > > %% ensure localization of \markright and \markboth commands
> > > > > > > %%% THIS IS NOW DISABLED BY DEFAULT
> > > > > > > \define at boolkey{polyglossia}[xpg@]{localmarks}[false]{%
> > > > > > >
> > > > > > >   \ifbool{xpg at localmarks}{%
> > > > > > >
> > > > > > >      \xpg at info{Option:~ localmarks}%
> > > > > > >
> > > > > > > ...
> > > > > > >
> > > > > > > And this minimal example successfully reproduces the errors:
> > > > > > >
> > > > > > > \documentclass[a4paper,12pt,oneside]{memoir}
> > > > > > > \usepackage{fontspec}
> > > > > > > \setmainfont[Mapping=tex-text]{Linux Libertine O}
> > > > > > > \usepackage{polyglossia}
> > > > > > > \setdefaultlanguage[variant=british]{english}
> > > > > > > \setotherlanguages{german, french}
> > > > > > >
> > > > > > > \begin{document}
> > > > > > > \begin{quote}
> > > > > > >
> > > > > > >        \textgerman{Die Wahrheit wird, auch hier, in der Mitte
> der
> > > > > > >
> > > > > > > Gegensätze liegen \dots}
> > > > > > > \end{quote}
> > > > > > > \end{document}
> > > > > > >
> > > > > > > Does anyone happen to know what might cause these errors?
> > > > > > >
> > > > > > > Best wishes,
> > > > > > > Arash
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110922/3d92efa8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/x-tex
Size: 138 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20110922/3d92efa8/attachment-0001.tex>


More information about the XeTeX mailing list