From: Hans Hagen <pragma@wxs.nl>
Subject: Re: gnuplot mode
Date: Mon, 20 Feb 2006 12:12:08 +0100 [thread overview]
Message-ID: <43F9A408.4020004@wxs.nl> (raw)
In-Reply-To: <6faad9f00602190508x5cee9b6cja3e26f3bfcac68d4@mail.gmail.com>
Mojca Miklavec wrote:
> The problem with verbatim ... etex is that you somehow "preprocess it"
> or I don't know what you do with it. So if one writes
>
it's normally expanded, but with regards to passing environments, there
is hardly any expansion involved; also, when i set it from within
context, i can use the same mechanisms as with the normal mp run;
let's worry about that later
> \def\GnuplotPoint#1{...} into verbatimtex it results in something like
> \def \GnuplotPoint ##1 {}, of you write \let\GnuplotPoint\relax, it
> results in \let \relax. \input works because it has some luck that it
> doesn't get modified during preprocessing.
>
best put such defs in a separate environment, and then say \input
thatfile ; this avoids the expansion and hash duplication
>
>> set terminal mp verbatimtex "..."
>> set terminal context environment "..."
>>
>
> I already did that, but as I mentioned above - it crashed ...
>
> But in any case: global metapost environment works perfectly!!!
> (header would still be useful, but for graphics for inclusion the
> setting can be done in the main document and for standalone graphics
> one can temporary edit it manually, but I'll try to fix).
>
Hans
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-02-20 11:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 18:16 Renaud AUBIN
2006-02-15 18:51 ` Taco Hoekwater
2006-02-15 19:10 ` Renaud AUBIN
2006-02-15 20:05 ` Hans Hagen
2006-02-15 20:27 ` Renaud AUBIN
2006-02-15 20:57 ` Renaud AUBIN
2006-02-19 11:37 ` Mojca Miklavec
2006-02-15 21:10 ` Hans Hagen
2006-02-15 21:43 ` Renaud AUBIN
2006-02-15 22:26 ` Hans Hagen
2006-02-15 22:41 ` Renaud AUBIN
2006-02-16 9:10 ` Renaud AUBIN
2006-02-16 11:43 ` Mojca Miklavec
2006-02-16 13:52 ` Hans Hagen
2006-02-18 5:13 ` Mojca Miklavec
2006-02-18 9:08 ` Hans Hagen
2006-02-19 13:08 ` Mojca Miklavec
2006-02-20 11:12 ` Hans Hagen [this message]
2006-02-15 22:45 ` Adam Lindsay
2006-02-16 9:56 ` Hans Hagen
2006-02-16 10:03 ` Adam Lindsay
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=43F9A408.4020004@wxs.nl \
--to=pragma@wxs.nl \
--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).