From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75964 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Font for MetaPost graphics Date: Fri, 4 May 2012 09:10:46 +0200 Message-ID: References: <20120503020859.65265f12@Zewz> <20120503031354.4eb059a3@Zewz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336115457 26666 80.91.229.3 (4 May 2012 07:10:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 May 2012 07:10:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 04 09:10:54 2012 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 1SQCfF-0007Zs-UG for gctc-ntg-context-518@m.gmane.org; Fri, 04 May 2012 09:10:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A797A101CF; Fri, 4 May 2012 09:10:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id O7f1iylaLqr7; Fri, 4 May 2012 09:10:52 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B159B101E0; Fri, 4 May 2012 09:10:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CE2D101E0 for ; Fri, 4 May 2012 09:10:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 87qgrLsUlti2 for ; Fri, 4 May 2012 09:10:48 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id AA177101CF for ; Fri, 4 May 2012 09:10:48 +0200 (CEST) Original-Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q447Akta025823 for ; Fri, 4 May 2012 09:10:47 +0200 Original-Received: by qcsd16 with SMTP id d16so2189122qcs.14 for ; Fri, 04 May 2012 00:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8BT8LJ8CZQqR5Bag2psib+YIwBSvFcb+OO0wKyX8VlM=; b=GaFm/wodwsbE1N0ee+DoYIUiAkMZyMrmPe9WPgFUYZVLMQrxmc2nMeByCtwFsmGf2j xabpPu/Ro8c7MJ1cbBuVsC9cu3CDxRBqJnCyTp2EX14hr7r7FAo8tzAotO96jRScTD4P w+DuoXKPLQFHN609AoStbujSxD8BbcLj5QfT8TXGcv4FMDxBHT3X3VlF+TKlM0QJaj3e O7u7as6+E8ue1JcGXPyv58DSMzuR8Zo3wGNxOlCkWBxjknTrpYa/4KRg3pyl8R1Ej9dm FSqCIxGQzIxNZy09IfWbRGyhIennMZ6fRmSNbaGuTuXrWxU+EZBjBwDXj49iytIIpr5h eBMw== Original-Received: by 10.224.26.199 with SMTP id f7mr2109152qac.32.1336115446287; Fri, 04 May 2012 00:10:46 -0700 (PDT) Original-Received: by 10.229.112.73 with HTTP; Fri, 4 May 2012 00:10:46 -0700 (PDT) In-Reply-To: <20120503031354.4eb059a3@Zewz> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; country=CA; region=ON; city=Hamilton; postalcode=l8n2g1; latitude=43.2500; longitude=-79.8333; http://maps.google.com/maps?q=43.2500,-79.8333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aH5HaK9b - 9911833f57eb - 20120504 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:75964 Archived-At: On Thu, May 3, 2012 at 3:13 AM, Marco wrote: > > The text in Metapost adapts to the text set in ConTeXt. But the font > setup should *only* be set for MetaPost, not regular text. > > Does that mean, that MPenvironment is deprecated and does not work > at all? Please don't rely on my answer since I haven't been following the development as closely as I used to in past. But my guess is that the argument goes into the opposite way. I past (and still in MKII) one *had to* set up fonts twice - once for the main document and once for MetaPost since MetaPost did its own processing of labels and MetaPost didn't see the ConTeXt font setups. So it was "difficult" to convince MetaPost to use the same font. Now (as Aditya explained) metapost automatically inherits font setups from the main document and it might be that nobody ever thought of / requested / needed to have a special setup for using different font for MetaPost labels. I can think of many workarounds to this, but I agree that there is a valid reason why \startMPenvironment (or some other command) should be able to change the font inside metapost labels only. Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________