From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30995 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \sometxt in staticMPfigure Date: Mon, 25 Sep 2006 16:39:35 -0400 Message-ID: References: <4517DD8D.7080400@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159216818 29638 80.91.229.2 (25 Sep 2006 20:40:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 20:40:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 25 22:40:16 2006 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 1GRxF7-0007dj-4P for gctc-ntg-context-518@m.gmane.org; Mon, 25 Sep 2006 22:39:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B17A41FEBD; Mon, 25 Sep 2006 22:39:56 +0200 (CEST) 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 11200-04-4; Mon, 25 Sep 2006 22:39:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88DC41FE18; Mon, 25 Sep 2006 22:39:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90CE61FE18 for ; Mon, 25 Sep 2006 22:39:46 +0200 (CEST) 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 11200-04-3 for ; Mon, 25 Sep 2006 22:39:42 +0200 (CEST) Original-Received: from elasmtp-junco.atl.sa.earthlink.net (elasmtp-junco.atl.sa.earthlink.net [209.86.89.63]) by ronja.ntg.nl (Postfix) with SMTP id 099361FE07 for ; Mon, 25 Sep 2006 22:39:41 +0200 (CEST) Original-Received: from [18.188.75.22] (helo=approximate.corpus.cam.ac.uk) by elasmtp-junco.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1GRxEq-00064w-V3; Mon, 25 Sep 2006 16:39:41 -0400 Original-Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 4.60) (envelope-from ) id 1GRxEl-0007hC-2u; Mon, 25 Sep 2006 16:39:35 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Mon, 25 Sep 2006 15:45:49 +0200." <4517DD8D.7080400@wxs.nl> X-Mailer: MH-E 7.85; nmh 1.1; GNU Emacs 21.4.1 X-ELNK-Trace: dcd19350f30646cc26f3bd1b5f75c9f474bf435c0eb9d4786a166ed818d7c747c3ae418865a5529d2312b819e3cb45ac350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 18.188.75.22 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30995 Archived-At: Hans Hagen wrote: > demanding guy ... a static is just an mp graphic and mp does not know > a thing about \macros Thanks, I understand now; and sorry, I hadn't meant it as a feature request! I was trying only to learn the differences between all the ways of doing *TeX labels in figures, and was trying experiments. I should have added that the difference was probably from a confusion on my part (my conceptual model derailed when sometxt failed but textext worked). > you can try the bet ai just uploaded Thanks! I'm using the new beta (2006.09.25) to test sometxt in staticMPfigure but got derailed at this staticMPgraphic: ============= 4.tex ===================================== \starttext \startstaticMPfigure{fig} draw fullcircle scaled 1cm xscaled 2; \stopstaticMPfigure \usestaticMPfigure[fig] xyz \stoptext ================================================== The texexec run says "figure 4-fig.pdf can not be found" and 4.pdf shows a dummy figure in place of the figure. 4-fig.mp contains just ========================================= ; draw fullcircle scaled 1cm xscaled 2; ========================================= which looks a lot simpler than it did in previous versions. 4.log says that write18 ran texmfstart --ifchanged=4-fig.mp texexec --mpstatic 4-fig.mp I ran it by hand omitting the --ifchanged: $ texmfstart texexec --mpstatic 4-fig.mp /home/sanjoy/texmf/scripts/context/ruby/texexec.rb:101:in `mpstatic'TeXExec | option 'randomseed' is set to '1131' TeXExec | option 'filename' is set to '4-fig.mp' TeXExec | option 'mainlanguage' is set to 'standard' TeXExec | option 'bodyfont' is set to 'standard' TeXExec | option 'language' is set to 'standard' TeXExec | option 'engine' is set to 'standard' TeXExec | option 'distribution' is set to 'web2c' TeXExec | option 'texformats' is set to 'ennlmptopdf' TeXExec | option 'mpsformats' is set to 'metafun' TeXExec | option 'progname' is set to 'context' TeXExec | option 'interface' is set to 'standard' TeXExec | option 'runs' is set to '8' TeXExec | option 'backend' is set to 'standard' : undefined method `processmpstatic' for # (NoMethodError) from /home/sanjoy/texmf/scripts/context/ruby/texexec.rb:749 I guess because there's no processmpstatic procedure, whereas texexec.rb calls job.processmpstatic. But the analogous procedure, processmpgraphic, is a bit daunting so I haven't tried to write processmpstatic. -Sanjoy `A society of sheep must in time beget a government of wolves.' -- Bertrand de Jouvenal