On Wed, Aug 18, 2010 at 02:21:42PM -0400, Joel C. Salomon wrote: > I have downloaded the free font Fontin Sans from Jos Buivenga’s exljbris > at <http://josbuivenga.demon.nl/fontinsans.html>. Trouble is, the > small-caps style is provided as a separate font, so I need to use the > “[BoldFont = …, SmallCapsFont = …]” style. Trouble with that is that > the file names have underscores, and the naïve invocation > \setsansfont[ > UprightFont = Fontin_Sans_R_45b, > BoldFont = Fontin_Sans_B_45b, > ItalicFont = Fontin_Sans_I_45b, > BoldItalicFont = Fontin_Sans_BI_45b, > SmallCapsFont = Fontin_Sans_SC_45b, > Ligatures = TeX > ]{Fontin Sans} > fails miserably. > > What I now have is a directory into which I have put hard links to the > Fontin Sans font files, under “nicer” names, so I can use the invocation > \setsansfont[ > Path = /home/chesky/font-links/ , > BoldFont = *-B , > ItalicFont = *-I , > BoldItalicFont = *-BI , > SmallCapsFont = *-SC , > Ligatures = TeX > ]{Fontin Sans} > which is ugly. > > How do I get around this? Is there an \makeunderscoreletter macro > available? (Expl3?)
Not a real answer, but can't you use font names instead of file names (assuming font names don't have underscores). Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex