Hans van der Meer wrote:
Let me be more specific. For handwriting I can do \setupbodyfont[luci,10pt,hw] and get everything in handwriting, or {\hw ...} for local handwriting. The typescript for handwriting is: \starttypescript [handwriting] [lucibr] [name] \definebodyfont [default] [hw] [tf=Handwriting sa 1] \definefontsynonym [Handwriting] [LucidaHandwriting-Italic] \definefontsynonym [LucidaHandwriting-Italic] [file:lbh.tfm] \stoptypescript and there is: \definetypeface [luci][hw] [handwriting] [lucibr][default] \definetypeface [luci][fx] [fax] [lucibr][default]
For the fax (fx) type I did add the same sort of typescript for the font plus for the size \starttypescript [fax] [lucibr] [name] \tracetypescript \definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt,24pt] [fx] [default] \stoptypescript
Addition of \definefontstyle [fx,fax][fx] make no difference. \setupbodyfont[luci,10pt,fx] has no effect and {\fx ...} crashes on an undefined \fx.
By the way. Font variants like \variant[blackletter] used to worked. I had serif typescript additions for it: \definefontvariant [Serif] [blackletter] [-Blackletter] \definefontsynonym [Serif-Blackletter] [LucidaBlackletter] and the accompanying reference to the tfm. Has this changed in mkiv too?
Actually, i never tested it (never used it either) and i wonder if it still makes sense to keep it in mkiv. I might as well kick it out as we have features now.
I hope this information will enable the answer. Either crushing my hopes for an easy solution or pointing out the way to go ;-)
On 19 aug 2009, at 09:08, Hans Hagen wrote:
Hans van der Meer wrote:
This used to define command \fx in a typescript: \definefontstyle [fax] [fx] \definestyle [fax] [\fx] [] However MKIV produces an undefined control sequence \fx. What happened?
and does \hw work ok? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------