thanks for the enlightenment... <br><br>as ever,<br>Rembrandt<br><br><br><div class="gmail_quote">On Wed, May 6, 2009 at 12:21, Ulrike Fischer <span dir="ltr">&lt;<a href="mailto:news3@nililand.de">news3@nililand.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am Wed, 6 May 2009 11:57:07 -0500 schrieb Rembrandt Wolpert:<br>
<div class="im"><br>
&gt; I attach the test.tex that works for me (and the pdf which results). Note<br>
&gt; that I had to explicitly load xunicode (without that it fails -- that&#39;s the<br>
&gt; weird bit), and that I had to load polyglossia after the incantation for<br>
&gt; xunicode and xltxtra. (I don&#39;t have a plain Garaond, so I subsituted<br>
&gt; Garamond Premier Pr -- which reacts like the Adobe Garamond Pro -- addition<br>
&gt; of xunicode and rearranged polyglossia)<br>
<br>
</div>This only works because you are actually not loading xunicode at<br>
all. xunicode makes its declarations for  encoding &quot;\UTFencname&quot;.<br>
The default for \UTFencname is U, but fontspec changes it to EU1. So<br>
you have a lot of definitions for the encoding U which will never be<br>
used and none for encoding EU1.<br>
<br>
So when you later use \d there is no definition for encoding EU1 and<br>
the default definition of OT1 (\DeclareTextAccentDefault{\d}{OT1} in<br>
latex) is used. That works (and is also suggested in the link I<br>
mentioned).<br>
<br>
But you are paying a high price. A lot of other commands declared by<br>
xunicode will not work, Try e.g. this once with xunicode and once<br>
without:<br>
<br>
\documentclass[12pt]{article}<br>
%\usepackage{xunicode}<br>
\usepackage{xltxtra}<br>
\setmainfont{Arial}<br>
\pagestyle{empty}<br>
\begin{document}<br>
\textyen<br>
<br>
\end{document}<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">Ulrike Fischer<br>
<br>
_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> 人有不為也而後可有為<br>