Good day! Thank you so much. Tried the simplefonts module solution and it worked. joel
Message: 7 Date: Mon, 8 Aug 2011 22:30:13 +0200 From: Wolfgang Schuster
To: mailing list for ConTeXt users Subject: Re: [NTG-context] System font handling problems in MacTeX 2011 dist Message-ID: <206F8884-F23B-4C3C-8CD1-077E04EEA382@googlemail.com> Content-Type: text/plain; charset=us-ascii Am 08.08.2011 um 03:58 schrieb Dr. Joel Carpio Mendoza:
Good day!
Tried to typeset a document using a template I created using MacTeX 2010. Below are the font setup lines that I used:
\definefont[hla][abalone at 10pt] \definefont[hlb][bigcaslon at 10pt]
\definebodyfont[9pt,10pt,11pt,12pt][rm,ss,tt,mm][default] \definefontsynonym[Serif][MinionPro-Regular][encoding=utf8] \definefontsynonym[SerifBold][MinionPro-Semibold] \definefontsynonym[SerifItalic][MinionPro-It] \definefontsynonym[SerifBoldItalic][MinionPro-SemiboldIt] \definefontsynonym[SerifCaps][MinionPro-Medium][features=smallcaps] \definetypeface[cb][rm][serif][MinionPro-Regular][default][encoding=utf8] \setupbodyfont[rm,9pt]
In MacTeX 2010 and MacTeX 2011, I have no problems typesetting text marked with \hla or \hlb. However, when it comes to the body font, I am only able to successfully typeset using the specified fonts in MacTeX 2010 but not in MacTeX 2011. What happens in MacTeX 2011 is that the body font remains the default modern latin fonts. It seems like \definefontsynonym in MacTeX 2011 does not map the specified font (e.g. MinionPro-Regular) into Serif. As is, the only way I can use system fonts in the body would be to use \definefont definitions of the desired system fonts into \tf, \bf, \it, \bi, etc. tags. Is there a way to go about this?
Any help would be greatly appreciated.
MkIV:
\usemodule[simplefonts]
\setmainfont[MinionPro]
\setupbodyfont[9pt]
\definefont[hla][abalone at 10pt] \definefont[hlb][bigcaslon at 10pt]
\starttext
{\hla Abalone}
{\hlb Big Caslon}
\input knuth
\stoptext
Wolfgang
------------------------------
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
End of ntg-context Digest, Vol 86, Issue 28 *******************************************