ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: System font handling problems in MacTeX 2011 dist
Date: Mon, 8 Aug 2011 22:30:13 +0200	[thread overview]
Message-ID: <206F8884-F23B-4C3C-8CD1-077E04EEA382@googlemail.com> (raw)
In-Reply-To: <69BA379E-A23D-4ADC-ADDD-F2126912ED24@gmail.com>


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
___________________________________________________________________________________


      reply	other threads:[~2011-08-08 20:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08  1:58 Dr. Joel Carpio Mendoza
2011-08-08 20:30 ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=206F8884-F23B-4C3C-8CD1-077E04EEA382@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).