\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}


