ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Iwona again (solved?)
@ 2005-11-30 20:17 David Arnold
  2005-11-30 21:12 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2005-11-30 20:17 UTC (permalink / raw)


Hans,

How does this look?

%output=pdf

\setupwhitespace[medium]
\setupindenting[medium,yes]

\starttypescript[map][iwona,iwona-light,iwona-medium,iwona-heavy] 
[ec,texnansi]
\loadmapfile[iwona-\typescriptthree.map]
\loadmapfile[iwona-rm.map]
\loadmapfile[iwona-mi.map]
\loadmapfile[iwona-sy.map]
\loadmapfile[iwona-ex.map]
\stoptypescript

\starttypescript [sans] [iwona,iwona-light,iwona-medium]  
[texnansi,ec,qx,t5]
   \definefontsynonym[Iwona-Light]         [\typescriptthree-iwonal]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Regular]       [\typescriptthree-iwonar]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Medium]        [\typescriptthree-iwonam]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Bold]          [\typescriptthree-iwonab]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Heavy]         [\typescriptthree-iwonah]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-LightItalic]   [\typescriptthree-iwonali]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-RegularItalic] [\typescriptthree-iwonari]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-MediumItalic]  [\typescriptthree-iwonami]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-BoldItalic]    [\typescriptthree-iwonabi]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-HeavyItalic]   [\typescriptthree-iwonahi]  
[encoding=\typescriptthree]
\stoptypescript

\starttypescript [math] [iwona] [default]
   \definefontsynonym [Iwona-Math-Letters-Regular]       [rm-iwonar]
   \definefontsynonym [Iwona-Math-Letters-RegularItalic] [mi-iwonari]
   \definefontsynonym [Iwona-Math-Symbols-Regular]       [sy-iwonarz]
   \definefontsynonym [Iwona-Math-Extension-Regular]     [ex-iwonar]
\stoptypescript

\starttypescript [math] [iwona-light] [default]
   \definefontsynonym [Iwona-Math-Letters-Light]       [rm-iwonal]
   \definefontsynonym [Iwona-Math-Letters-LightItalic] [mi-iwonali]
   \definefontsynonym [Iwona-Math-Symbols-Light]       [sy-iwonalz]
   \definefontsynonym [Iwona-Math-Extension-Light]     [ex-iwonal]
\stoptypescript

\starttypescript [math] [iwona-medium] [default]
   \definefontsynonym [Iwona-Math-Letters-Medium]       [rm-iwonam]
   \definefontsynonym [Iwona-Math-Letters-MediumItalic] [mi-iwonami]
   \definefontsynonym [Iwona-Math-Symbols-Medium]       [sy-iwonamz]
   \definefontsynonym [Iwona-Math-Extension-Medium]     [ex-iwonam]
\stoptypescript

\usetypescript[map][iwona][texnansi]

\definetypeface[david][rm][sans][iwona][default][encoding=texnansi]
\definetypeface[david][mm][math][iwona][default]

\setupbodyfont[david,ss,10pt]

\starttext

In attempting to {\bf explain} this {\em typesetting ritual}, I found  
myself going {\sl round in circles}.
Not necessariy a {\sc bad} thing.

\input knuth

\placeformula[-]
\startformula
f(x)={1 \over {3-1}}\int_1^3 (x^2-2x-3)\, dx
\stopformula

\input knuth

\placeformula[-]
\startformula
f(x)=\cases{%
   1/3,& if $0\le x\le 1$;\cr
   2/3,& if $3\le x\le 4$;\cr
   0,& elsewhere.}
\stopformula
\stoptext


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-30 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-30 20:17 Iwona again (solved?) David Arnold
2005-11-30 21:12 ` Hans Hagen

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