From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87703 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: internal mptopdf converter skips some glyphs in labels Date: Fri, 06 Jun 2014 01:19:36 +0200 Message-ID: <5390FB08.2020602@wxs.nl> References: <874nayy5k6.fsf@approx.mit.edu> <52056418.1000109@wxs.nl> <878upccd6h.fsf@approx.mit.edu> <53902476.3080803@wxs.nl> <87wqcvb11m.fsf@approx.mit.edu> <5390D225.2080805@wxs.nl> <8738fjavy4.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1402010414 20506 80.91.229.3 (5 Jun 2014 23:20:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 23:20:14 +0000 (UTC) To: Sanjoy Mahajan , ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 06 01:20:10 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wsgwx-0005V4-Su for gctc-ntg-context-518@m.gmane.org; Fri, 06 Jun 2014 01:19:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E89810226 for ; Fri, 6 Jun 2014 01:19:59 +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 DdGKxLgYRikN for ; Fri, 6 Jun 2014 01:19:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B094110207 for ; Fri, 6 Jun 2014 01:19:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EEF6101EA for ; Fri, 6 Jun 2014 01:19:48 +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 24XJ9HCPYz5g for ; Fri, 6 Jun 2014 01:19:46 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 229A0101E3 for ; Fri, 6 Jun 2014 01:19:40 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s55NJej1030003 for ; Fri, 6 Jun 2014 01:19:40 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.5a2) with ESMTP id 5333-1713362 for multiple; Fri, 06 Jun 2014 01:19:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <8738fjavy4.fsf@approx.mit.edu> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=Provincie Overijssel; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NMaLjEDj - 1ee3246a292d - 20140606 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:87703 Archived-At: On 6/5/2014 11:27 PM, Sanjoy Mahajan wrote: > Hans Hagen writes: > >> Alternatively, you can consider making your mp graphics like this: >> >> \startMPpage >> some code >> \stopMPpage >> >> This will use the regular font system, gives access to everything >> context as well, and makes it possible to opentype fonts. The resulting >> (cropped) graphic can of course be included. One can also have more of >> them: > > That's an improvement on what I am doing. (Though I may be getting lots > of ConTeXt and OpenType fonts, by using a preamble with > > verbatimtex %&cont-en > ... > etex > > ) I must admit that I never use verbatimtex (nor btex/etex). > Right now my figure source (blah.mpfig, say) is what would go in between > begin/endfig. The Makefile wraps it in begin/endfig, and includes a > header.mp with all the definitions hopefully consistent with the main > document's environment (terrible, I know), writes out blah.mp, which is > run through metapost and mptopdf. Including environments and styles is easier when you run the mp graphic as context file. Just \environment ... will do. > The disadvantage of incorparating everything into the .tex may be the > edit--compile cycle gets much longer for the figures, because you have > to compile the whole document or component to see the revised figure. > (My rule of thumb is that typing is about 10 times faster than > handwriting, unless one has to do equations, in which case you lose a > factor of 3; or if you have to make figures, in which case you lose the > other factor of 3 (3^2=10), and maybe more.) That is only true if you can produce content at high speed -) Otherwise the ratio typing - thinking - making up text etc is not that good. Are you sure' it's 'much' longer? You can still put graphics in external files, or use \useMPgraphic etc ... Running mp in context (luatex) is pretty fast (esp when your viewer refreshes fast too). And when at some point you want to use the new lua extension in mp you can only run it that way. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________