ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Herbert Voss <Herbert.Voss@FU-Berlin.DE>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Lucida
Date: Mon, 08 Nov 2010 22:12:55 +0100	[thread overview]
Message-ID: <4CD867D7.5040908@FU-Berlin.DE> (raw)
In-Reply-To: <AANLkTinenMOD5wxCN1rjYibmX=2c1pA1EzRctUO3P29v@mail.gmail.com>

Am 08.11.2010 14:42, schrieb Mojca Miklavec:
> 2010/11/8 Herbert Voss wrote:
>> Has someone a working typescript file for the Lucida
>> from TUG?
> 
> Lucida should work out of the box (since beginning of 2010) if you
> have the files from TUG installed:
> 
> % \usetypescript[lucida][ec] % for MKII
> \setupbodyfont[lucida]
> 
> If you have any problems setting up the font, please ask. (See also
> the beginning of http://wiki.contextgarden.net/Lucida, ignoring the
> old instructions.)

that didn't work for me. The documentation is no help
in this area. I put all Lucida fonts under
/opt/context/texmf-context/fonts/
Is this the correct dir, because there is also a texmf-fonts?
However, I tried to convert the commands for Libertine to Lucida
and now I can use the fonts except math. But I have
absoluteley no idea, if this is the right way ...

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Font Setup
\starttypescriptcollection [lucida]
\starttypescript[serif][lucida]
    \definefontsynonym[LucidaBright]           [name:lucidabrightce]
          [features=default]
    \definefontsynonym[LucidaBright-Italic]
[name:lucidabrightceitalic]        [features=default]
    \definefontsynonym[LucidaBright-Bold]
[name:lucidabrightcedemibold]      [features=default]

\definefontsynonym[LucidaBrightBold-Italic][name:lucidabrightcedemibolditalic][features=default]
    \definefontsynonym[LucidaBright-Caps]      [name:lucidabrightwest]
          [features=default]
\stoptypescript

\starttypescript[sans][lucida]
%    \setups[font:fallback:serif]
    \definefontsynonym[LucidaSans]           [name:lucidasansce]
      [features=default]
    \definefontsynonym[LucidaSans-Italic]    [name:lucidasansdemiitalic]
     [features=default]
    \definefontsynonym[LucidaSans-Bold]      [name:lucidasanscedemibold]
     [features=default]

\definefontsynonym[LucidaSans-BoldItalic][name:lucidasanscedemibolditalic][features=default]
    \definefontsynonym[LucidaSans-Caps]      [Lucidabright-Caps]
      [features=default]
\stoptypescript

\starttypescript[mono][lucida]
%    \setups[font:fallback:serif]
    \definefontsynonym[LucidaMono]     [name:lucidatypece]
[features=default]

\definefontsynonym[LucidaMono-Bold][name:lucidatypecebold][features=default]
\stoptypescript

\starttypescript[cal][lucida]
%    \setups[font:fallback:serif]
    \definefontsynonym[LucidaCal]       [name:lucidacalligraphy]
[features=default]

\definefontsynonym[LucidaCal-Italic][name:lucidacalligraphyitalic][features=default]
\stoptypescript

\starttypescript[handwritten][lucida]
%    \setups[font:fallback:serif]
    \definefontsynonym[LucidaHandwriting]
[name:lucidahandwriting]    [features=default]
    \definefontsynonym[LucidaHandwriting-Italic]
[name:lucidahandwritingitalic]    [features=default]
\stoptypescript

\starttypescript[lucida]
    \definetypeface[\typescriptone][rm][serif]      [lucida][default]
    \definetypeface[\typescriptone][ss][sans]       [lucida][default]
    \definetypeface[\typescriptone][tt][mono]       [lucida][default]
    \definetypeface[\typescriptone][cal][cal]       [lucida][default]
    \definetypeface[\typescriptone][hw][handwriting][lucida][default]
    \definetypeface[\typescriptone][mm][math]       [modern][default]
\stoptypescript
\stoptypescriptcollection
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setupbodyfont[lucida,11pt,rm]

\starttext

Lucida Bright \ss Lucida Sans
\tt Lucida Mono \hw Lucida Handwriting
\\cal Lucida Clalligraphic

\stoptext

Herbert
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2010-11-08 21:12 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-08 12:33 Lucida Herbert Voss
2010-11-08 13:42 ` Lucida Mojca Miklavec
2010-11-08 15:58   ` Lucida Herbert Voss
2010-11-08 20:49     ` Lucida Hans Hagen
2010-11-08 21:12   ` Herbert Voss [this message]
2010-11-09  7:45     ` Lucida Mojca Miklavec
2010-11-09  9:10       ` Lucida Herbert Voss
2010-11-09  9:47         ` Lucida Hans Hagen
2010-11-09 12:31         ` Lucida Herbert Voss
2010-11-09 13:08         ` Lucida Mojca Miklavec
2010-11-09 13:28           ` Lucida Herbert Voss
2010-11-09 14:12           ` Lucida Herbert Voss
2010-11-09 15:45             ` Lucida Mojca Miklavec
2010-11-09 16:42               ` Lucida Hans Hagen
2010-11-09  9:24       ` Lucida Hans van der Meer
  -- strict thread matches above, loose matches on Subject: below --
2002-12-10 14:46 lucida Siep
2002-12-10 15:21 ` lucida Matthew Huggett
2002-12-10 15:46   ` lucida Siep
2002-12-10 16:03     ` lucida Daniel Graham
2002-12-11  1:08       ` lucida Matthew Huggett
2002-12-11  9:04         ` lucida Siep
2002-12-11 17:50           ` lucida Larry Stamm
2002-12-13 11:58             ` lucida Siep
2002-12-13 17:48               ` lucida Hans Hagen
2002-12-11  1:07     ` lucida Matthew Huggett

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=4CD867D7.5040908@FU-Berlin.DE \
    --to=herbert.voss@fu-berlin.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).