ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Unable to generate luatex formats
Date: Wed, 16 Apr 2008 20:29:24 +0200	[thread overview]
Message-ID: <6faad9f00804161129m385c801al9839ca21d56168e@mail.gmail.com> (raw)
In-Reply-To: <87zlrtj09u.fsf@cordelia.devereux.me.uk>

On Wed, Apr 16, 2008 at 5:18 PM, John Devereux wrote:
> "Mojca Miklavec" writes:
>
> >>  However I have been using context for years, and may well have messed
>  >>  something up! It seems to work OK with my "normal" documents. Except I
>  >>  notice \usemodule[gnuplot] does not work.
>  >
>  > What exactly goes wrong?
>
>  I have got this working now too. The problems were:
>
>   - the syntax seems to have changed since I originally used it. Used
>     to be \startGNUPLOTgraphic now needs to be \startGNUPLOTscript
>
>   - I missed the bit on the wiki about enabling write18
>
>   - I was misled by some examples (in the source code) into thinking
>     that parameters go in curly brackets, but this does not work for
>     me (and fails silently).
>
>  So in the source code you have
>
>   \startGNUPLOTscript{sin}
>       plot sin(x)
>   \stopGNUPLOTscript
>   \useGNUPLOTgraphic{sin}
>
>  but I needed
>
>
>   \startGNUPLOTscript[sin]
>       plot sin(x)
>   \stopGNUPLOTscript
>   \useGNUPLOTgraphic[sin]
>
>  to make it work.

I'm sorry about that. Yes, the syntax change is my fault, but it won't
happen again. If I wanted to support
   \useGNUPLOTgraphic[sin][1,3][width=.7\textwidth]
and alike, the curly braces didn't fit in so nicely.

The module has initially been part of ConTeXt (Hans has written most
of it at the beginning), but it was easier to develop it as a module
once I started writing metapost code for the dedicated terminal etc.

I have removed the faulty examples a few days ago (just didn't upload
the new version yet). I was trying to write code in such a way that
curly braces would work as well for backward compatibility, but failed
to do so (the code is there, but only half of it works). However, all
of these changes have happened rather early in the process and won't
happen again.

Moreover, it would be nice to get the TikZ terminal working with
ConTeXt (I need to find some time for it, and then finally convince
the gnuplot developers to include it into the binary).

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-04-16 18:29 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-12 20:53 Michael Green
2008-04-13  8:02 ` Taco Hoekwater
2008-04-13 11:54   ` Hans Hagen
2008-04-13 10:12 ` Jean Magnan de Bornier
2008-04-15  7:57 ` John Devereux
2008-04-15  9:31   ` Taco Hoekwater
2008-04-15  9:44     ` John Devereux
2008-04-15  9:56       ` Hans Hagen
2008-04-15 10:37         ` John Devereux
2008-04-15 10:46           ` Mojca Miklavec
2008-04-15 11:25             ` John Devereux
2008-04-15 12:17               ` Mojca Miklavec
2008-04-15 12:52                 ` John Devereux
2008-04-15 12:59                   ` Mojca Miklavec
2008-04-16 15:18                     ` John Devereux
2008-04-16 18:29                       ` Mojca Miklavec [this message]
2008-04-16 19:24                         ` gnuplot module John Devereux
2008-04-17 13:42                           ` Mojca Miklavec
2008-04-17 14:23                             ` Henning Hraban Ramm
2008-04-17 14:31                               ` Mojca Miklavec
2008-04-17 14:27                             ` John Devereux
2008-04-17 14:37                               ` Mojca Miklavec
2008-04-17 15:31                                 ` John Devereux
2008-04-15 14:16                   ` Unable to generate luatex formats Hans van der Meer
2008-04-15 14:29                     ` Mojca Miklavec
2008-04-15 14:31                       ` Mojca Miklavec
2008-04-15 15:00                     ` Hans Hagen
2008-04-15 10:40         ` Hans van der Meer
2008-04-15  9:43   ` Mojca Miklavec
2008-04-16 10:21   ` John Devereux
2008-04-16 18:53 ` Joel C. Salomon
2008-04-16 19:01   ` Mojca Miklavec
2008-04-16 20:32   ` Hans Hagen
2008-04-17  4:55     ` Joel C. Salomon
2008-04-17  7:50       ` Taco Hoekwater
2008-04-17  8:03       ` Hans Hagen
2008-04-15  5:43 Michael Green
2008-04-15 16:10 Michael Green

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=6faad9f00804161129m385c801al9839ca21d56168e@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).