ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Lucida
Date: Tue, 9 Nov 2010 08:45:56 +0100	[thread overview]
Message-ID: <AANLkTi=tP=BJDsyZAjP1=u0KPAOwH_jSHo9wD56w6Sqs@mail.gmail.com> (raw)
In-Reply-To: <4CD867D7.5040908@FU-Berlin.DE>

2010/11/8 Herbert Voss wrote:
> 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?

You don't need any additional "fonts" subfolder since it is already in
the zip; and if you exctract the fonts into texmf-context, the font
might be deleted when you update the distribution, so you should
better use texmf-context, texmf-local, or ~/.texmf for example (not
100% about the last one, but I can check).

> 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 ...

You don't need any typescripts at all. They are already in
type-one.mkiv (type-one.mkii).

Just do the following:

1.) extract http://www.ctan.org/tex-archive/install/fonts/psfonts/bh/lucida.zip
into /opt/context/texmf-fonts/

2.) copy all *.pfb files into /opt/context/texmf-fonts/fonts/type1/bh/lucida

3.) run mktexlsr and mtxrun --generate

And don't use any self-made typescript. Math is done using
    \starttypescript [math] [lucida]
        \loadfontgoodies[lucida-math]
        \definefontsynonym[MathRoman][lucidamath@lucida-math]
    \stoptypescript

For details you may check the file
/opt/context/texmf-context/tex/context/fonts/lucida-math.lfg

The last file is typically not something that user is expected to
write on his own (if he/she does, it could just as well be included in
ConTeXt itself; as the number of available math fonts is very very
limited).

Mojca
___________________________________________________________________________________
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:[~2010-11-09  7:45 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   ` Lucida Herbert Voss
2010-11-09  7:45     ` Mojca Miklavec [this message]
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='AANLkTi=tP=BJDsyZAjP1=u0KPAOwH_jSHo9wD56w6Sqs@mail.gmail.com' \
    --to=mojca.miklavec.lists@gmail.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).