[OS X TeX] texgyrepagella-math.otf not found

Murray Eisenberg murrayeisenberg at gmail.com
Wed Dec 26 16:37:51 EST 2012


On 25 Dec 2012 at 16:48:23 -0600, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> On Dec 25, 2012, at 4:33 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
>> Why isn't XeLaTeX (run from within TeXShop) finding the TeX Gyre OpenType math font?  This is with MacTex2012. 
>> 
>> Folder /Library/Fonts includes a subfolder "TeX Gyre" in which I see a file texgyrepagella-math.otf .
>> 
>> is there something else I need to do to "activate" the font? 
>> 
>> Example:
>> 
>> %%%%%%%%%%
>> \documentclass{article}
>> \usepackage{fontspec}
>> \usepackage{unicode-math}
>> 
>> \defaultfontfeatures{Ligatures=TeX}
>> \setmainfont[
>> 	BoldFont=texgyrepagella-bold.otf,
>> 	ItalicFont=texgyrepagella-italic.otf,
>> 	BoldItalicFont=texgyrepagella-bolditalic.otf]
>> 	{texgyrepagella-regular.otf}
>> \setmathfont{texgyrepagella-math.otf}
>> 
>> \begin{document}
>> Let $f$ be analytic in the region $G$ except for the isolated singularities $a_{1},a_{2},\dots, a_{m}$. 
>> \end{document}
>> %%%%%%%%%%
>> 
> 
> Try to use the font name as displayed in Font Book rather than the file name. I have
> 
> \setmathfont{TG Pagella Math}
> 
> and it seems to work fine.
> 
> By the way, I believe there was an update to Pagella Math and I moved texgyerpagellamath-regular.otf from the opentype font folder in texmf-dist/fonts/opentype/public/tex-gyre-math into my personal ~/Library/Fonts 

OK, changing to "\setmathfont{TG Pagella Math}" fixed the problem. Thanks.

But now I'm confused, given thatI do have the several texgyrepagella-xxxxl.otf text fonts and texgyrepagellamath-regular.otf in /usr/local/texlive/2012/texmf-dist/fonts/opentype/public/tex-gyre and /usr/.../tex-gyre-math folders, respectively.

(1) Why then does my indicated declaration for \setmainfont work with actual file names?

(2) Why didn't the file-name work for texgyrepagella-math.otf when that file was in texmf-dist? 


---
Murray Eisenberg                     murrayeisenberg at gmail.com
80 Fearing Street                      phone 413 549-1020 (H)
Amherst, MA 01002-1912








More information about the MacOSX-TeX mailing list