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: lucida ot
Date: Tue, 24 Apr 2012 19:53:37 +0200	[thread overview]
Message-ID: <43D245AF-FB79-423C-8A4B-37B71DEA700D@googlemail.com> (raw)
In-Reply-To: <CAGbDsP06V8doEyuS90ys+XXAQ7yWTA+E1vVw+Qt6LyZX16PZGw@mail.gmail.com>


Am 24.04.2012 um 18:57 schrieb Mari Voipio:

> On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
>> You need \starttypescript[serif][blackletter] but there is a shorter method:
>> 
>> \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT]
>> 
>> \setupbodyfont[lucidaot]
>> 
>> \starttext
>> Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright
>> \stoptext
> 
> 
> OK, so I went and got stuck again...
> 
> I want to use blackletter as my bodyfont (text and headings, no
> footers or headers or captions or anything else), BUT I'd prefer to
> use Lucida Calligraphy OT (\cg) as the font in emphasis both for the
> sake of legibility and because that is at least close to correct for
> the period I'm doing.
> 
> 
> If I do
> 
> {\lucidablackletter
>  component 5-loops-broad
> }
> 
> that is a) not neat and b) overrides any definition in my environment file like
> 
> \definebodyfontenvironment[lucidablackletter][em=cg]
> 
> or
> 
> 
> \definebodyfontenvironment[default][em=cg]
> 
> 
> 
> I can get either or, but not both - I think I'm being a clueless
> again, operating outside of the standard five font switches definitely
> is uncharted waters for me... So what's the neatest way of ensuring
> that when I compile this particular version of my product (with the
> appropriate environment file), bodyfont is blackletter and emphasis is
> calligraphy?
> All the other versions will use ConTeXt defaults (or at least close),
> it's just this one that needs a bit of expert help…

\definetypeface[mainface][rm][specserif]  [Lucida Blackletter OT][default][features=default]
\definetypeface[mainface][cg][calligraphy][lucidaot]             [default][features=default]

\setupbodyfont[mainface]

\definebodyfontenvironment[default][em=cg]

\starttext

\input knuth

roman {\cg calligraphic} roman {\em emphasized} roman

\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:[~2012-04-24 17:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 20:50 Hans Hagen
2012-03-16 21:03 ` Aditya Mahajan
2012-03-16 22:00   ` Hans Hagen
2012-03-16 22:08 ` Meer, H. van der
2012-03-16 22:10   ` Hans Hagen
2012-04-06 21:15 ` Mari Voipio
2012-04-06 21:25   ` Hans Hagen
2012-04-13 17:12     ` Mari Voipio
2012-04-13 17:40       ` Wolfgang Schuster
2012-04-13 18:06         ` Mari Voipio
2012-04-18 11:37           ` Mari Voipio
2012-04-20 13:24             ` Mari Voipio
2012-04-20 13:59               ` Hans Hagen
2012-04-21  9:36               ` Wolfgang Schuster
2012-04-21 11:52                 ` Mari Voipio
2012-04-24 16:57                 ` Mari Voipio
2012-04-24 17:53                   ` Wolfgang Schuster [this message]
2012-04-25 19:10                     ` Mari Voipio
2012-04-29 10:24                       ` Wolfgang Schuster

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=43D245AF-FB79-423C-8A4B-37B71DEA700D@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).