[XeTeX] Issue with punctuation in math mode

Quang Minh Nguyen algebraicminh at gmail.com
Wed Feb 3 20:40:41 CET 2016


Hi all,

I just mindlessly updated all the packages through TeX Live Utility (on a
Mac 10.9.5 with TL2015) and I just noticed that punctuation in math mode
went wrong.  I'm attaching a minimal example.  It compiles fine with
pdflatex, but weird symbols are substituted with xelatex.

\documentclass[12pt]{article}

%%%% Fonts definition (requires XeTeX)
\usepackage{ifxetex}
\ifxetex
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{TeX Gyre Pagella}
\fi
%%%%

\pagestyle{empty}

\begin{document}
 Strange behavior with punctuation in math mode.  I'm typing
 ``1, a. b'':
 $$1, a. b$$

\end{document}


Any thought?  Thanks,
Minh
--
Nguyễn Quang Minh || 阮光明
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20160203/1be9bcbc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimalexample.tex
Type: application/x-tex
Size: 365 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20160203/1be9bcbc/attachment.tex>


More information about the XeTeX mailing list