* Definition of new fonts
@ 2003-04-18 16:04 Christoph Bachmann
0 siblings, 0 replies; only message in thread
From: Christoph Bachmann @ 2003-04-18 16:04 UTC (permalink / raw)
Hi,
I try to use a font, which is not packaged with TeX or ConText. I already used
the texfont script to install it (successfully). But I can't make the system
USE the font. Below is the snippet. The commands do (in the end) have no
influence at all. The text is typeset in Computer Modern.
If I activate the (now commented) "\starttypescript [xxx]" command, I get an
"unknown variant - xxx" error in the log.
Does anybody have an idea? Unfortunately, the mfonts.pdf didn't help me much.
Thanks a lot and happy easter holidays,
Chris.
\starttypescript [map] [ec]
\loadmapfile [ec-adobe-lucidaserif]
\stoptypescript
\starttypescript[serif][adobelucida][name]
\definefontsynonym[Serif][Lucida]
\definefontsynonym[SerifBold][Lucida-Bold]
\definefontsynonym[SerifBoldItalic][Lucida-BoldItalic]
\definefontsynonym[SerifItalic] [Lucida-Italic]
\stoptypescript
\starttypescript[sans][adobelucida][name]
\definefontsynonym[Sans][LucidaSans]
\definefontsynonym[SansBold][LucidaSans-Bold]
\definefontsynonym[SansBoldItalic][LucidaSans-BoldItalic]
\definefontsynonym[SansItalic][Lucida-Italic]
\stoptypescript
\starttypescript[mono][adobelucida][name]
\definefontsynonym[Mono][LucidaSansTypewriter]
\definefontsynonym[MonoBold][LucidaSansTypewriter-Bd]
\definefontsynonym[MonoBoldItalic][LucidaSansTypewriter-BdObl]
\definefontsynonym[MonoItalic][LucidaSansTypewriter-Obl]
\stoptypescript
\starttypescript[alb]
\usetypescript[serif,sans,mono][adobelucida][name]
\usetypescript[serif,sans,mono][default][size]
\usetypescript [map] [ec]
\stoptypescript
%\starttypescript [xxx]
\definetypeface [xxx] [rm] [serif] [alb] [default]
\definetypeface [xxx] [ss] [sans] [alb] [default] [rscale=.9]
\definetypeface [xxx] [tt] [mono] [alb][default][rscale=.9]
\definetypeface [xxx] [mm] [math] [alb] [default] [encoding=ec]
%\stoptypescript
\setupencoding[default=ec] % or EC, if you prefer
\usetypescript[xxx]
\setupbodyfont[xxx]
\setupalign [hanging]
\starttext
\input tufte
{\sc Tufte}\footnote{abcdefgh {\sc Tufte}}
\placeformula $$E=mc^2$$
\placeformula $$\Delta E=\Delta mc^2$$
\ss \input tufte
\tt \input tufte
\stoptext
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-18 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-18 16:04 Definition of new fonts Christoph Bachmann
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).