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 <schuster.wolfg...@googlemail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] System font handling problems in MacTeX
>       2011 dist
> Message-ID: <206f8884-f23b-4c3c-8cd1-077e04eea...@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
> *******************************************

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to