From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24724 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: developing large numbers of MP files for inclusion in source Date: Sat, 24 Dec 2005 16:25:11 -0800 Message-ID: <77530D27-021F-4DE1-B53D-4125A873F356@cox.net> References: <2F1ECAB6-F02B-46C8-BC39-76F1B4F5AE2F@cox.net> <43AD1225.9030509@elvenkind.com> <1ED3A921-3CB2-4201-9D57-4F37A5BBC23B@cox.net> <6faad9f00512241617n4a2102c6mcdde847afc67ea48@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135470399 11214 80.91.229.2 (25 Dec 2005 00:26:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2005 00:26:39 +0000 (UTC) Cc: Context Mailing List List Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 25 01:26:38 2005 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EqJie-0007V9-TY for gctc-ntg-context-518@m.gmane.org; Sun, 25 Dec 2005 01:26:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8821D127BF; Sun, 25 Dec 2005 01:26:36 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31697-07; Sun, 25 Dec 2005 01:26:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C71D127B2; Sun, 25 Dec 2005 01:26:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5FD7127B2 for ; Sun, 25 Dec 2005 01:26:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31946-02 for ; Sun, 25 Dec 2005 01:26:26 +0100 (CET) Original-Received: from fed1rmmtao02.cox.net (fed1rmmtao02.cox.net [68.230.241.37]) by ronja.ntg.nl (Postfix) with ESMTP id 77060127B1 for ; Sun, 25 Dec 2005 01:26:25 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao02.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051225002450.TUGY17006.fed1rmmtao02.cox.net@[10.0.1.2]>; Sat, 24 Dec 2005 19:24:50 -0500 In-Reply-To: <6faad9f00512241617n4a2102c6mcdde847afc67ea48@mail.gmail.com> Original-To: Mojca Miklavec X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24724 Archived-At: Mojca, You pretty much describe the way I've always worked in the past. I am currently working on a technique where all my graphics for section1 of chapter 3 are inside a file named sectionfigs.tex. I am using MPpage and friends to make these. The file currently contains about 14 graphics and files .1 through .14 are produced when I run the file with texexec. Next, I have a file section1figs.xml that is working as per the directions in xfigures-s.pdf from Pragma. It produces a nice listing of all of the figures for section 1 and their new labels (names). I am now in my main document section1.tex including these figures as per directions in xfigures-s.pdf. I'd be happy to send what I've done when I've finished. Let me know. On Dec 24, 2005, at 4:17 PM, Mojca Miklavec wrote: >> Do you have one metapost file with many figures in it? Is it possible >> to just compile for the figurein that file that you want? Is there >> a command that will compile then show the result? > > (sorry for not writing to the list) > > If you have an .mp file, it compiles "faster than you can switch from > command line back to the editor". No really, if you work with .mp, you > don't need to wait for hours as you do have to wait if you have > metafun graphics inside text. > > You get figures filename.1, filename.2, ... out of it, so you only > need to have GhostView with "filename.5" (or your desired figure) open > and it also changes instantly. If you need to have a text inside it, > it's an exception since it won't work until you convert the graphic > into PDF (mptopdf), which takes slightly longer, but may still be > acceptable. > > I alway create mp files first and then (eventually) copy the content > into the document if needed since it much faster. > > If you need metafun macros inside .mp files, you can load them with > input mp-tool; > input mp-spec; > (I guess.) > > Metapost files can't give you the flexibility to combine extremely > fancy stuff (typesetting text on paths created by metafun or vice > versa), but I guess you don't need that. > > Ask on the list again if you can inctruct mptopdf to convert into PDF > one figure only. > > Mojca