Hello Uwe, On Tue, Jun 10, 2008 at 12:35 AM, Uwe Koloska <[EMAIL PROTECTED]> wrote: > Hello Wolfgang, hello list, > > thank you for the help! > > Unfortunately the code doesn't work flawlessly with the current minimal > context distribution. So for the archive, here are the corrected files and a > short usage description: > > > The typescript that defines the context bindings for the delicious font from > http://www.josbuivenga.demon.nl/delicious.html > > --- type-delicious.--------------------------------------------------------- > \starttypescript [sans] [delicious] > \setups[font:fallback:sans] > \definefontsynonym [Sans] [Delicious-Regular] > \definefontsynonym [SansItalic] [Delicious-Italic] > \definefontsynonym [SansBold] [Delicious-Bold] > \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] > \definefontsynonym [SansCaps] [Delicious-Caps] > \stoptypescript > > \starttypescript [sans] [delicious] > \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] > \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] > \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] > \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] > \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] > \stoptypescript > > \starttypescript [delicious] > \definetypeface [delicious] [ss] [sans] [delicious] [default] > \stoptypescript > ---------------------------------------------------------------------------- > > Now the testfile: > --- delicious-test.tex ----------------------------------------------------- > \usetypescriptfile [type-delicious] > \usetypescript[delicious] > \setupbodyfont[delicious] > > \starttext > > My document with the delicious fonts. > > \input knuth > > \stoptext > ---------------------------------------------------------------------------- > > Now save these two file together with the otf-files from the delicious > download in a directory and call the luatex version of context with this > command: > texexec --lua delicious-test.tex > > > What did I change? > > 1. The interface for the \definefontsynonym command seems to have changed: > There is no third parameter -- this one "[features=default]" end up in the > document as text.
I will test it today evening and can give you tommorow an answer but what you say makes no sense, there was always a third parameter for \definefontsynonym and Hans use it too in type-otf.tex. > 2. To load the typescript, the command is not "\usetypefile [delicious]" > but "\usetypescriptfile [type-delicious]" Both commands are equivalent, I used always the short form in my documents since a few months and got never any problem with it. > Have fun! > Uwe Greetings Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
