At 11:19 AM 1/26/2002 -0800, David Arnold wrote:
>So, as simply as possible, how do I repair
>
>\setupbodyfont[lbr,10]
>
>which used to work in this file I have. I don't want to read about fonts
>(lazy-lazy, I know). I just want to use the existing lucida font in the
>simplest manner possible so that my old document will compile.
>
>How can I do this, preferably by adding just a line or two.
Well, you can make a file "type-ven.tex" with the following content,
%D \module
%D [ file=type-ven,
%D version=2002.01.27,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Vendor File Names,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
% \setupbodyfont[lbr]
%
% \setupencoding[default=texnansi]
% \usetypescriptfile[type-ven]
% \usetypescript[vendor][lucida]
%
% \starttext \input tufte \stoptext
\starttypescript [vendor] [lucida]
\definefontsynonym
[LucidaBright] [lbr] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaBright-Demi] [lbd] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaBright-DemiItalic] [lbdi] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaBright-Italic] [lbi] [encoding=\typefaceencoding]
\definefontsynonym [LucidaBrightSmallcaps] [lbrsc]
[encoding=\typefaceencoding]
\definefontsynonym [LucidaBrightSmallcaps-Demi] [lbdsc]
[encoding=\typefaceencoding]
\definefontsynonym
[LucidaBright-Oblique] [lbsl] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans] [lsr] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-Demi] [lsd] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-DemiItalic] [lsdi] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-Italic] [lsi] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-Bold] [lsb] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-BoldItalic] [lsbi] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-Typewriter] [lstr] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-TypewriterBold] [lstb] [encoding=\typefaceencoding]
\definefontsynonym [LucidaSans-TypewriterBoldOblique] [lstbo]
[encoding=\typefaceencoding]
\definefontsynonym
[LucidaSans-TypewriterOblique] [lsto] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaBright] [lbr] [encoding=\typefaceencoding]
\definefontsynonym [LucidaNewMath-AltItalic] [lbmo]
\definefontsynonym [LucidaNewMath-Arrows] [lbma]
\definefontsynonym [LucidaNewMath-Extension] [lbme]
\definefontsynonym [LucidaNewMath-Roman] [lbmr]
\definefontsynonym [LucidaNewMath-Italic] [lbmi]
\definefontsynonym [LucidaNewMath-Symbol] [lbms]
\definefontsynonym [LucidaBlackletter] [lbl]
\definefontsynonym [LucidaNewMath-AltDemiItalic] [lbmdo]
\definefontsynonym [LucidaNewMath-Arrows-Demi] [lbmad]
\definefontsynonym [LucidaNewMath-Extension] [lbme]
\definefontsynonym [LucidaNewMath-Demibold] [lbmd]
\definefontsynonym [LucidaNewMath-DemiItalic] [lbmdi]
\definefontsynonym [LucidaNewMath-Symbol-Demi] [lbmsd]
\definefontsynonym
[LucidaCalligraphy-Italic] [lbc] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaCasual] [lbkr] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaCasual-Italic] [lbki] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaHandwriting-Italic] [lbh] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaFax] [lfr] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaFax-Demi] [lfd] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaFax-DemiItalic] [lfdi] [encoding=\typefaceencoding]
\definefontsynonym
[LucidaFax-Italic] [lfi] [encoding=\typefaceencoding]
\stoptypescript
\endinput
Now, the file
\setupbodyfont[lbr]
\setupencoding[default=texnansi]
\usetypescriptfile[type-ven]
\usetypescript[vendor][lucida]
\starttext \input tufte \stoptext
should work; this leaves it up to you to make sure that the lbr.tfm's are
in texnansi encoding (but i presume that they are).
[btw, it really makes sense to look into mfonts, if only to be able to use
palatino math and times math and all those other fonts]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------