Great. It works!<br><br>Thanks a lot!<br><br>Bob<br><br><div class="gmail_quote">On Mon, Oct 27, 2008 at 7:07 PM, Jonathan Kew <span dir="ltr"><<a href="mailto:jonathan@jfkew.plus.com">jonathan@jfkew.plus.com</a>></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;"><div><div></div><div class="Wj3C7c">On 28 Oct 2008, at 12:00 AM, Bob Yu wrote:<br>
<br>
> Dear all, I am having a problem with Adobe Garamond font. I am using<br>
> the following command:<br>
><br>
> \setromanfont{Adobe Garamond Pro}<br>
> \usepackage[numbers,sort&compress]{natbib}<br>
> \renewcommand{\bibnumfmt}[1]{#1.}<br>
><br>
> However the sort&compress does not come out right. See the attached<br>
> figure. The line between reference 1-4 is very ugly.<br>
><br>
> Any help will be appreciated!<br>
<br>
</div></div>Looks like you need to apply the tex-text mapping, which converts "--"<br>
into an en-dash, as is conventional in TeX fonts. Try:<br>
<br>
\setromanfont[Mapping=tex-text]{Adobe Garamond Pro}<br>
<br>
(You'll also need this if you use things like ``TeX-style quotes'' and<br>
dashes---like that---in your text.)<br>
<br>
JK<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>
</blockquote></div><br>