ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* System font handling problems in MacTeX 2011 dist
@ 2011-08-08  1:58 Dr. Joel Carpio Mendoza
  2011-08-08 20:30 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. Joel Carpio Mendoza @ 2011-08-08  1:58 UTC (permalink / raw)
  To: ntg-context

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.

joel mendoza
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: System font handling problems in MacTeX 2011 dist
  2011-08-08  1:58 System font handling problems in MacTeX 2011 dist Dr. Joel Carpio Mendoza
@ 2011-08-08 20:30 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-08-08 20:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-08 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08  1:58 System font handling problems in MacTeX 2011 dist Dr. Joel Carpio Mendoza
2011-08-08 20:30 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).