From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9834 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: Re: \switchtobodyfont[cmr] in Gamma Date: Wed, 13 Nov 2002 14:16:26 -0800 Organization: Imamology Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200211131416.26124.ishamid@attbi.com> References: <200211111448.05918.ishamid@attbi.com> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1037222153 29638 80.91.224.249 (13 Nov 2002 21:15:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2002 21:15:53 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18C4rX-0007hs-00 for ; Wed, 13 Nov 2002 22:15:51 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 2F72310AF0; Wed, 13 Nov 2002 22:17:33 +0100 (MET) Original-Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by ref.ntg.nl (Postfix) with ESMTP id 8EB4210AE6 for ; Wed, 13 Nov 2002 22:16:17 +0100 (MET) Original-Received: from linux ([12.252.37.110]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021113211615.JTGO2683.sccrmhc01.attbi.com@linux>; Wed, 13 Nov 2002 21:16:15 +0000 Original-To: ntg-context@ref.ntg.nl, ntg-context@ntg.nl User-Agent: KMail/1.4.2 In-Reply-To: <200211111448.05918.ishamid@attbi.com> Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9834 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9834 Ok, I've found a solution! Here is my new typescript file, type-cmr.tex. = There=20 is probably a way to condense this but I was taking no chances:->: ------------type-cmr.tex--------------- %%% Names and synonyms \starttypescript [serif] [knuth] [name] \usetypescript [serif] [computer-modern] [name] \stoptypescript \starttypescript [sans] [knuth] [name] \usetypescript [sans] [computer-modern] [name] \stoptypescript \starttypescript [mono] [knuth] [name] \usetypescript [mono] [computer-modern] [name] \stoptypescript \starttypescript [math] [knuth] [name] \usetypescript [math] [computer-modern] [name] \stoptypescript %%% Sizes \starttypescript [serif] [knuth] [size] \usetypescript [serif] [computer-modern] [size] \stoptypescript \starttypescript [sans] [knuth] [size] \usetypescript [sans] [computer-modern] [size] \stoptypescript \starttypescript [mono] [knuth] [size] \usetypescript [mono] [computer-modern] [size] \stoptypescript \starttypescript [math] [knuth] [size] \usetypescript [math] [computer-modern] [size] \stoptypescript %%% Final collection \starttypescript [MyCMR] \definebodyfontenvironment [mycmr] [default] [interlinespace=3D2.8ex] =20 \definetypeface [mycmr] [rm] [serif] [knuth] [knuth] \definetypeface [mycmr] [ss] [sans] [knuth] [knuth] \definetypeface [mycmr] [tt] [mono] [knuth] [knuth] \definetypeface [mycmr] [mm] [math] [knuth] [knuth] \stoptypescript --------------------------------------------- Now the following file works, also for the commented scenario! -------------cm-test.tex------------------ \input m-gamma.tex \input type-omg.tex \input type-cmr.tex \usetypescriptfile[type-cmr] \usetypescript[MyCMR] %\setupbodyfont[mycmr,14pt] \setupbodyfont[omlgc,14.4pt] \starttext This is a test=20 %\switchtobodyfont[omlgc,14.4pt] \switchtobodyfont[mycmr,14pt] This is a test=20 %\switchtobodyfont[mycmr,14pt] \switchtobodyfont[omlgc,14.4pt] This is a test=20 ------------------------------------------------ So now I'm sure that there's something wrong with the default setup:-> Question: why do I get the following warnings and how can I get rid of th= em? systems : begin file cm-test at line 10 bodyfont : bodyfont 9.7pt is defined (can better be done global) bodyfont : bodyfont 9.7pt is defined (can better be done global) bodyfont : bodyfont 11.2pt is defined (can better be done global) bodyfont : bodyfont 11.2pt is defined (can better be done global) bodyfont : bodyfont 8.4pt is defined (can better be done global) bodyfont : bodyfont 8.4pt is defined (can better be done global) bodyfont : bodyfont 16.7pt is defined (can better be done global) bodyfont : bodyfont 16.7pt is defined (can better be done global) bodyfont : bodyfont 14pt is defined (can better be done global) bodyfont : bodyfont 14pt is defined (can better be done global) [1.1] systems : end file cm-test at line 24 Question: ConTeXt takes a long time to load all the font info.=20 Can I suppress this info?=20 Is there a way to speed things up? About Omega, I changed ConTeXt's values in texmf.cnf: string_vacancies.context =3D 180000 max_strings.context =3D 200000 Question: why does every TeX-variant in the book have a full array of con= fig=20 values except for Omega, which only has ocp values?=20 Best wishes Idris --=20 Dr. Idris S Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523