From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: Re: \sometxt in staticMPfigure
Date: Mon, 25 Sep 2006 16:39:35 -0400 [thread overview]
Message-ID: <E1GRxEl-0007hC-2u@approximate.corpus.cam.ac.uk> (raw)
In-Reply-To: Your message of "Mon, 25 Sep 2006 15:45:49 +0200." <4517DD8D.7080400@wxs.nl>
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 #<TEX:0xb7bbe91c> (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
next prev parent reply other threads:[~2006-09-25 20:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-25 3:51 Sanjoy Mahajan
2006-09-25 13:45 ` Hans Hagen
2006-09-25 20:39 ` Sanjoy Mahajan [this message]
2006-09-25 22:06 ` Hans Hagen
2006-09-25 23:04 ` Sanjoy Mahajan
2006-09-26 10:04 ` Hans Hagen
2006-09-26 12:11 ` Sanjoy Mahajan
2006-10-04 22:01 ` Aditya Mahajan
2006-10-05 8:00 ` Hans Hagen
2006-10-05 12:56 ` Sanjoy Mahajan
2006-09-26 0:53 ` Sanjoy Mahajan
2006-09-26 9:57 ` Hans Hagen
2006-09-26 12:02 ` Sanjoy Mahajan
2006-09-26 12:30 ` Hans Hagen
2006-09-26 13:33 ` Sanjoy Mahajan
2006-09-26 20:11 ` Hans Hagen
2006-09-27 4:29 ` Sanjoy Mahajan
2006-09-26 16:17 ` Sanjoy Mahajan
2006-09-26 16:21 ` Hans Hagen
2006-09-27 4:06 ` Sanjoy Mahajan
2006-09-27 8:03 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1GRxEl-0007hC-2u@approximate.corpus.cam.ac.uk \
--to=sanjoy@mrao.cam.ac.uk \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).