[texhax] Questions about Bibtex page range setting

阮铮 rz1991 at foxmail.com
Sat Jun 2 13:49:54 CEST 2012


Hi Herb Schulz,


That works for me. Thank you!!!


Ruan Zheng




------------------ Original ------------------
From:  "Herbert Schulz"<herbs at wideopenwest.com>;
Date:  Sat, Jun 2, 2012 07:29 PM
To:  "阮铮"<rz1991 at foxmail.com>; 

Subject:  Re: [texhax] Questions about Bibtex page range setting




On Jun 1, 2012, at 8:58 PM, 阮铮 wrote:

> Hi,
> 
> 
> I found the problem this morning. It seems the font I choose are to blame. A example of my condition is as follows:
> 
> 
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont{TeX Gyre Termes}
> \begin{document}
> I will cite this Muscle \cite{muscle}.
> \bibliography{tex}
> \bibliographystyle{plain}
> \end{document}
> 
> 
> 
> I compile it using xelatex. It will always generate two dashes in the bibliography. Other font will ease my situation.
> 
> 
> Ruan Zheng


Howdy,

You've got to tell fontspec that you want to use the TeX style ligatures (e.g., -- = en-dash) by

\setmainfont[Ligatures=TeX]{TeX Gyre Termes}

and the the translation will take place.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20120602/5fe5555a/attachment.html>


More information about the texhax mailing list