Taco Hoekwater wrote:
I can't get the example to compile. Whatever I do, context insists on creating SerifRegular.tfm through mktextfm (sigh). I'm too lazy to figure out what is going on right now, so can someone create a full minimal example, please? I'd like to check this with all tracing on, because it hints are a problem deeper down somewhere.
I hope you're caught up with your fonts. Variants aren't defined with many, but they are here: \definetypeface[a][rm][serif][antykwa-torunska][default][encoding=texnansi] \definetypeface[a][tt][mono][modern][default][encoding=texnansi] \setupbodyfont [a] \starttext \startbuffer abc {x\variant[sc]\space pqr} abc {\variant[sc]pqr}\crlf {\it abc {\variant[sc]\space pqr} abc {\variant[sc]pqr}}\crlf % dbl spc only here {\bf abc {\variant[sc] pqr} abc {\variant[sc]pqr}}\crlf {\bi abc {\variant[sc]{x} pqr} abc {\variant[sc]pqr}}\crlf \stopbuffer \typebuffer \getbuffer \def\ignoreimplicitspaces {\doifnextcharelse\relax\relax\relax} \def\variant[#1]% slow {\dosetscaledfont \expanded{\definedfont% Careful about email wrapping here! [\truefontname{\fontstringA\fontstylesuffix\fontvariant\fontstringA{#1}} at \scaledfont]}\ignoreimplicitspaces} \getbuffer \stoptext -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-