ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christian <metan0r@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Typescript troubles with semibold font.
Date: Wed, 9 Feb 2011 11:35:27 +0100	[thread overview]
Message-ID: <201102091135.27708.metan0r@gmx.de> (raw)

Hi all,

my goal is to use Minion Pro as text face and Myriad Pro as sans serif in 
headings etc. I use TeXlive, ConTeXt 2009.11.26 16:28, MKiV.
I found a typescipt once provided in this list in 2008 and adopted it. Here it 
is:

\starttypescript [serif] [minionpro]
   \definefontsynonym [MinionPro-Regular]    [name:minionproregular]
   \definefontsynonym [MinionPro-Bold]       [name:minionprobold]
   \definefontsynonym [MinionPro-It]     [name:minionproit]
   \definefontsynonym [MinionPro-BoldIt] [name:minionproboldit]
\stoptypescript

\starttypescript [serif] [minionpro]
   \definefontsynonym [Serif]           [MinionPro-Regular]	[features=default]
   \definefontsynonym [SerifBold]       [MinionPro-Bold]	[features=default]
   \definefontsynonym [SerifItalic]     [MinionPro-It]		[features=default]
   \definefontsynonym [SerifBoldItalic] [MinionPro-BoldIt]	[features=default]
\stoptypescript

\starttypescript [sans] [myriadpro]
   \setups[font:fallback:sans]
   \definefontsynonym [MyriadPro-Regular]	[name:myriadproregular]
   \definefontsynonym [MyriadPro-Bold]		[name:myriadprosemibold]
   \definefontsynonym [MyriadPro-It]     	[name:myriadproit]
   \definefontsynonym [MyriadPro-BoldIt]	[name:myriadprosemiboldit]
\stoptypescript

\starttypescript [sans] [myriadpro]
   \definefontsynonym [Sans]             [MyriadPro-Regular] [features=default]
   \definefontsynonym [SansBold]         [MyriadPro-Bold] [features=default]
   \definefontsynonym [SansItalic]       [MyriadPro-It] [features=default]
   \definefontsynonym [SansBoldItalic]   [MyriadPro-BoldIt] [features=default]
   \definefontsynonym [SansCaps]         [Sans] [features=latin-smallcaps]
\stoptypescript

The Problem is, as long as the bold font files are present in my .fonts folder, 
they get used instead of the semibold (that I declared with 
name:myriadprosemibold). When I delete them, the semibold ones get used.

My question is: Can anyone provide me some insight on how to use bold and 
semibold in the same document? Lets say chapter headings bold, sectionheadings 
semibold.

Thanks in advance,
Christian

P.S: A guide "how to get from font files to the desired output" would be great. 
Steps would include where to put the fonts (.otf in my case), how to make 
context know the fonts, writing the typescript, using font features.
___________________________________________________________________________________
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-02-09 10:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 10:35 Christian [this message]
2011-02-09 11:09 ` Taco Hoekwater
2011-02-09 11:38   ` Christian

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=201102091135.27708.metan0r@gmx.de \
    --to=metan0r@gmx.de \
    --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).