Hi Dr. Hamid:
I managed to recreate your problem by switching between lucida and cmr in regular context. I think you have erred in calling \switchtobodyfont[cmr] . If you haven't mapped another font to "rm", try \switchtobodyfont[rm] . This should give you cmr by default. Best wishes,
Matthew Huggett ----- Original Message ----- From: "Idris S Hamid" ishamid@attbi.com To: ntg-context@ntg.nl Sent: Tuesday, November 12, 2002 7:48 AM Subject: [NTG-context] \switchtobodyfont[cmr] in Gamma
Dear team, I sent a similar question before but got no response. Hopefully I'll get better luck this time;->
In Gamma (and perhaps in regular ConTeXt as well but I have no other fonts to test there) \setupbodyfont[cmr] does not seem to work/behaves strangely:
-------------cm-test.tex-------------- \input m-gamma.tex \input type-omg.tex
\setupbodyfont[cmr,14pt] %\setupbodyfont[omlgc, 14.4pt]
This is a test
\switchtobodyfont[omlgc, 14.4pt] %\switchtobodyfont[cmr,14pt]
This is a test
\switchtobodyfont[cmr, 14pt] %\switchtobodyfont[omlgc, 14.4pt]
This is a test
\stoptext ---------------------------
Results:
First line in cmr14, second line in omlgc14.4 (OK so far)
Third line in omlgc14 (This is wrong!)
Now lets switch things:
------------------------------- \input m-gamma.tex \input type-omg.tex
%\setupbodyfont[cmr,14pt] \setupbodyfont[omlgc, 14.4pt]
This is a test
%\switchtobodyfont[omlgc, 14.4pt] \switchtobodyfont[cmr,14pt]
This is a test
%\switchtobodyfont[cmr, 14pt] \switchtobodyfont[omlgc, 14.4pt]
This is a test
\stoptext -------------------------------
Results:
First line in omlgc14.4 (OK so far)
Second line in omlgc14 (instead of cmr14)
Third line in omlgc14.4 (OK)
As u can see, \switchtobodyfont[cmr] does not seem to work. Am I doing something wrong or is something else afoot? Note that I have not called any ocp lists so it's not an ocp interference.
Thanks in advance!
Best wishes Idris
-- Dr. Idris S Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 _______________________________________________ ntg-context mailing list ntg-context@ref.ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context