From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83335 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context,gmane.comp.tex.context.devel Subject: Re: [dev-context] palatino at 10.5pt bold not found when using project structure w/ MkIV Date: Sun, 7 Jul 2013 22:38:50 +0200 Message-ID: References: <8738rs8wi3.fsf@approx.mit.edu> <3E3C010F-F61D-4098-9F74-F486822BAB60@gmail.com> <87wqp46krg.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1373229549 8821 80.91.229.3 (7 Jul 2013 20:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jul 2013 20:39:09 +0000 (UTC) Cc: "dev-context@ntg.nl Context" , mailing list for ConTeXt users To: Sanjoy Mahajan Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 07 22:39:11 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uvvji-0005FW-Ft for gctc-ntg-context-518@m.gmane.org; Sun, 07 Jul 2013 22:39:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 72E5E101E0; Sun, 7 Jul 2013 22:39:09 +0200 (CEST) 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 CsnKOWGztk1f; Sun, 7 Jul 2013 22:39:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AE5D4101E8; Sun, 7 Jul 2013 22:39:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6205B101EA for ; Sun, 7 Jul 2013 22:39:06 +0200 (CEST) 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 XWi8gETqfK7n for ; Sun, 7 Jul 2013 22:39:05 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 3A102101E0 for ; Sun, 7 Jul 2013 22:38:55 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (localhost [127.0.0.1]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r67KcsqX013533 for ; Sun, 7 Jul 2013 22:38:54 +0200 Original-Received: (from defang@localhost) by filter5-til.mf.surf.net (CanIt-Domain-PRO/Streamed) id r67KcrWh002425 for ; Sun, 7 Jul 2013 22:38:53 +0200 Original-Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [2a00:1450:4013:c00::232]) by lb1-til-v6.mf.surf.net (envelope-sender ) (CanIt-Domain-PRO/Pre-stream) with ESMTP id r67KcrPO013518; Sun, 7 Jul 2013 22:38:53 +0200 Original-Received: by mail-ee0-f50.google.com with SMTP id d49so2370021eek.23 for ; Sun, 07 Jul 2013 13:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=PeiZYUZYeLHcYhSSfnTPgXmhZAxFBGy0U4HIZl7tuNk=; b=UQNvFgTwAx0bU20xfJJZ7PV0BlSoBhD9Zo3Mi8AaHmQG3QGUuVWujwP5Q0iJMVJOrn 1N5OX7Duq0U8pMC8mpPtNW+8GUhbvHjLmr+oMlmk5YogMTQjHBth2zDWeLiXJDwScDRF z6FikMFl4gjrRMJn75dWp8g3cm8653wPM0pJmphbZ0YGL8FxPByWeagfbxpUaHjbRwG0 vJv15jEpN4ZTSOVJVWmo1fPLmcA9hhoQoIC6CQ8KIToSQzvq01GAO46ulj026ZNBPDfk MH+QETmetwA0CidhSgaDGCYS9oR0DlNE0mR3kXb7SbC6zBcW491C2rdoHG5UgyCkcS8/ FVKA== X-Received: by 10.14.119.136 with SMTP id n8mr21933019eeh.1.1373229533065; Sun, 07 Jul 2013 13:38:53 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf42fc.pool.mediaWays.net. [77.191.66.252]) by mx.google.com with ESMTPSA id y1sm36286076eew.3.2013.07.07.13.38.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Jul 2013 13:38:52 -0700 (PDT) In-Reply-To: <87wqp46krg.fsf@approx.mit.edu> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJVwCSCl - 642499519d28 - 20130707 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83335 gmane.comp.tex.context.devel:2249 Archived-At: Am 06.07.2013 um 12:33 schrieb Sanjoy Mahajan : > Wolfgang, > = > Thank you for all your solutions! > = >> 2. You can omit the \usetypescript line. > = > Good to know. Does the "palatino" keyword in \setupbodyfont > automatically do that now (in Mark IV)? > = > Should I wikify that bit of information (as MkIV-only)? (Since I don't > really understand how the fonts work, I am hesitant to wikify much about > it and put up incorrect information.) The normal way to load a new font from a external typescript is \usetypescriptfile[] \usetypescript[] \setupbofyfont[] In MkII you don=92t need \usetypescriptfile to load the default fonts (time= s, palatino etc.) because context loads them when it generates the format but MkIV loads them the fonts are used to save memory. Because in many cases the name of the file is the same (with a =93type-=94 = prefix) as the font context tries to load the file itself when you enable the font = with \setupbodyfont, even the \usetypescript call (the second argument isn=92t n= eeded because we aren=92t restricted to 256 anymore with LuaTeX) isn=92t necessary because this is also done by \setupbodyfont. >> 3. Move the \setupbodyfont setting *before* \startcomponent. > = > Right, I found that by experiment. But how should you do that with > projects? The \setupbodyfont is usually part of an environment file, > which is loaded by the project file. Should the "\project project_file" > line be placed before the "\startcomponent"? Like this: > = > \project project_file > \startcomponent component_name > = > If that's the recommended way, I can update > You can do this. It=92s always better to make the setup of the document bef= ore \starttext, startcomponent etc. because some values are set/reset with \sta= rttext. >> 4. Add \definebodyfontenvironment[10.5pt] to your document. > = > Thanks, that fixes everything. On the theory of teaching a man to fish, > how did you learn so much about making ConTeXt do just the right thing? > = >> 1. Use the normal and not the developer list for such a question. > = > I thought it was a bug (and it might be, though your > definebodyfontenvironment solution makes me wonder if it is just my not > knowing enough). In general, should bug reports go to the regular list? The only things which are posted on the developer list nowadays are bug rep= orts with possible fixes or extensions to the context programing language. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________