From: Troy Henderson <thenders@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Lucida Fonts with MKIV
Date: Fri, 19 Feb 2010 11:13:33 -0600 [thread overview]
Message-ID: <cf53c9501002190913p69944f3bxd40be51f906476c2@mail.gmail.com> (raw)
In-Reply-To: <4B7EA50B.1010707@wxs.nl>
> how did you set up your lucida fonts in mkiv?
First of all, I did not setup Lucida for MKIV (specifically). The
following fonts come with the complete Lucida set from TUG:
46 AFM's
41 PFB's
42 PFM's
164 TFM's
63 VF's
I placed all 356 of these font files into the same directory (ignoring
directory structure) as well as the following three files
lucida.ali
lucida.map
texnansi-yandy-luc.tex
I simply followed these steps from http://wiki.contextgarden.net/Lucida
1) Downloaded lucida-complete.zip from TUG one year ago and extracted
the files into my /usr/local/share/texmf tree. I followed the
instructions located at
http://www.tug.org/store/lucida/README.TUG
to ensure that they worked in LaTeX (and they have for the last year)
2) I copied all files (not just the AFM and PFB as the instructions
suggested) into the temporary directory (as indicated above)
3) Executed the following command:
texfont --fontroot=/opt/context-minimals/tex/texmf-local --ve=yandy
--co=luc --ma --in --expert
4) Downloaded and extracted the following file into
/opt/context-minimals/tex/texmf-local
http://dl.contextgarden.net/modules/lucida-cint.zip-0.9.zip
5) Nothing to do
6) Copied the type-luc.tex (provided by lucida-cint.zip-0.9.zip) into
/opt/context-minimals/tex/texmf-local/tex/context/base
7) Copied the cont-sys.tex (located originally in
/opt/context-minimals/tex/texmf-context/tex/context/base) into
/opt/context-minimals/tex/texmf-local/tex/context/user
and edited it adding the line
\usetypescriptfile[type-luc]
8) Executed `mktexlsr`
9) and 10) Added the following code to the preface of my ConTeXt document
\usetypescript[luc][texnansi]
\setupformulas[method=bold]
\setupbodyfont[luc,10pt]
\enablemathcollection[lbr]
\usemathcollection[lbr]
Notice that the line
\input math-lbr
was omitted because it is evidently not part of my ConTeXt minimals
installation (although it is in my TeX Live 2008 installation).
Now, by following these steps, I am able to successfully create
ConTeXt documents with Lucida fonts (with and without math) using MKII
(texexec). However, using the same document with MKIV (context), the
document builds fine, all text and math is Lucida, but the math fonts
are upright (Roman).
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-02-19 17:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-19 13:50 Troy Henderson
2010-02-19 13:52 ` Troy Henderson
2010-02-19 14:45 ` luigi scarso
2010-02-20 7:50 ` Wolfgang Schuster
2010-02-20 8:55 ` luigi scarso
2010-02-19 14:49 ` Hans Hagen
2010-02-19 17:13 ` Troy Henderson [this message]
2010-02-19 17:56 ` Hans Hagen
2010-02-19 15:46 ` Hans Hagen
2010-02-19 16:25 ` Mikael Persson
2010-02-19 17:58 ` Hans Hagen
2010-02-19 18:57 ` Martin Schröder
2010-02-19 19:06 ` Hans Hagen
2010-02-20 4:06 ` Mojca Miklavec
2010-02-20 4:20 ` Troy Henderson
2010-02-20 9:51 ` Hans Hagen
2010-02-20 13:41 ` Mojca Miklavec
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=cf53c9501002190913p69944f3bxd40be51f906476c2@mail.gmail.com \
--to=thenders@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).