On Wednesday 13 November 2002 00:39, Hans Hagen wrote:
At 11:10 PM 11/12/2002 +0100, you wrote:
Tuesday, November 12, 2002 Hans Hagen wrote:
I never managed to get typeface working correctly, other than defining things similarly to type-pre and using those with \switchbodyfont. Is there any documentation on how to *use* typefaces (not *define* them)?
HH> define:
HH> \definetypeface[mainface][....]
HH> then use 'm:
HH> \setupbodyfont[mainface]
Something like this?
You forgot to load the typescripts
\usetypescript [modern] [texnansi] \usetypescript [postscript] [texnansi]
It's still not working, even with grouping! -------------------------------------------------- \usetypescript [modern] [texnansi] %\usetypescript [postscript] [texnansi]
\starttext
\switchtobodyfont[modern]
This is a test
\switchtobodyfont[omlgc]
This is a test
{\switchtobodyfont[modern]
This is a test [This is STILL in omlgc!]}
\stoptext ----------------------------------------------------
Also, uncommenting %\usetypescript [postscript] [texnansi] cause omega's capacity to be exceeded. Which texmf.cnf values should I increase?:*** ---------------------- ! Omega capacity exceeded, sorry [number of strings=3265]. \dosetunexpanded ...sname #2\endcsname \endcsname }@EA #1@EA {@EA \s!do ...
@@expanded ...d \setgvalue {postscript17.3pttttf} {\xxdododefinefont {1.1}{1...
\dododododefinebodyfont ...}{\the \scratchtoks }}} \fi \fi \next7 #1,->\dodododefinebodyfont {tt}{17.3pt}{#1} \doprocesscommaitem <argument> \relax tf=Mono sa 1, bf=MonoBold sa 1, it=MonoItalic sa 1, sl=Mon...
\doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... ... l.32 \stoptypescript --------------------------
Has anyone figured out how to painlessly switch from omlgc (or any other font) to cmr? I don't want to have to write an entirely new typescript for cmr! The fact that I can switch from my private fonts to omlgc and back but not to cmr is really fishy:-)
Best wishes Idris
*** Strangely, fpTeX (with the same cnf values as teTeX) does not usually complain about exceeded capacity, in contrast to teTeX. I'll test this particular case as well shortly.