ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: gnuplot mode
Date: Sun, 19 Feb 2006 05:08:59 -0800	[thread overview]
Message-ID: <6faad9f00602190508x5cee9b6cja3e26f3bfcac68d4@mail.gmail.com> (raw)
In-Reply-To: <43F6E3F4.8060908@wxs.nl>

On 2/18/06, Hans Hagen wrote:
> Mojca Miklavec wrote:
> > It's very easy to fix gnuplot, so that it will be able to place
> > additional commands inside "verbatimtex" section. If anyone needs
> > that, I can add it and submit it to patches, but I can only provide
> > you windows binaries after that. (I tried to compile it on three linux
> > boxes without success, although it should be trivial.)
> >
> that option would make it possibel to pass the mp environment to
> gnuplot/tex and solve the lucida problems mentioned; it means that one
> can have her/his text in sycn with the graphic

Hmmm ... I tried to copy the implementation from epslatex terminal, so
that one was already able to say
    set terminal context header "\\setupbodyfont[20pt]"
but I figured out that after it was run five or ten times, it crashed.
After that I realized that the epslatex terminal crashes too, but I
didn't figure out yet how to debug gnuplot.
If anyone has more experince with allocs, feel free to fix my source.

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
\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.

> 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).

Mojca

  reply	other threads:[~2006-02-19 13:08 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 [this message]
2006-02-20 11:12                         ` Hans Hagen
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=6faad9f00602190508x5cee9b6cja3e26f3bfcac68d4@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).