From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65791 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: beta/problem with layers Date: Wed, 2 Feb 2011 11:46:48 -0500 (EST) Message-ID: References: <02031FE2-9F36-4EB5-94D7-69CC5A33907B@uni-koblenz.de> <81D3AF1B-699C-46B5-A618-714AF2D7B90E@gmail.com> <3B21D67B-85FF-4429-A093-629E95134B79@gmail.com> <4D497651.9030704@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1296665235 16602 80.91.229.12 (2 Feb 2011 16:47:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2011 16:47:15 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 02 17:47:10 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PkfrI-0008GA-T5 for gctc-ntg-context-518@m.gmane.org; Wed, 02 Feb 2011 17:47:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7361ACAAA2; Wed, 2 Feb 2011 17:47:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S9F8i5NX-c5W; Wed, 2 Feb 2011 17:47:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 225C7CAA93; Wed, 2 Feb 2011 17:47:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F63ECAA93 for ; Wed, 2 Feb 2011 17:47:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FXdDrX6b3CUM for ; Wed, 2 Feb 2011 17:46:56 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 7E1F5CAA91 for ; Wed, 2 Feb 2011 17:46:56 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p12GksWX023841 for ; Wed, 2 Feb 2011 17:46:55 +0100 Original-Received: FROM adi-netbook (Unknown [65.94.14.230]) By hellskitchen.mr.itd.umich.edu ID 4D498A7A.7B710.22460 ; Authuser adityam; 2 Feb 2011 11:46:50 EST In-Reply-To: <4D497651.9030704@wxs.nl> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eE34KSOf - 9db16b63d7fc - 20110202 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65791 Archived-At: On Wed, 2 Feb 2011, Hans Hagen wrote: > On 2-2-2011 4:07, Aditya Mahajan wrote: > >> There is no point in not loading the fonts in the begining if one would >> then have to come up with clever ways to force loading of a font. I hope >> that there is a more robust solution so that > > well, it depends ... how many use lm for documents? Don't know, but I am pretty sure that layers are used all over the place. In most of my documents, I set the layers in an evironment file, which is often loaded before \starttext. > as Wolfgang mentioned, setting a layer will use the current font which might > not be the same as one sets later; Oh, that is a bigger problem. That means that the first thing in a style should be font loading... if nothing else then just \setupbodyfont[11pt]. Perhaps \setlayer (or even \hbox!!) should issue a warning if the fonts have not been loaded yet. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________