ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* gnuplot module does not work
@ 2012-01-13 13:35 zs
  2012-01-13 16:10 ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: zs @ 2012-01-13 13:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

it seem like gnuplot module does not work with recent ConTeXt Standalone.

Zdenek


------- example ---------

\usemodule[gnuplot]

\starttext

\startGNUPLOTscript[aaa]
plot [0:5] "-"
0	1
1	2
2	5
3	10
4	17
5	26
e
\stopGNUPLOTscript

\useGNUPLOTgraphic[aaa]

\stoptext


------- error message --------

ConTeXt  ver: 2012.01.12 11:03 MKIV  fmt: 2012.1.13  int: english/english

system          > cont-new.mkiv loaded
(/opt/context2/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > pokus_min.top loaded
(pokus_min.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
resolvers       > modules > loaded: 'gnuplot'
(/opt/context2/tex/texmf-modules/tex/context/third/gnuplot/t-gnuplot.tex
loading         > Gnuplot module
! Undefined control sequence.

system          > tex > error on line 110 in file pokus_min.tex: Undefined control sequence ...


l.110 \runMPgraphicstrue


___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnuplot module does not work
  2012-01-13 13:35 gnuplot module does not work zs
@ 2012-01-13 16:10 ` Mojca Miklavec
  2012-01-13 16:12   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2012-01-13 16:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Jan 13, 2012 at 14:35, zs wrote:
> Hello,
>
> it seem like gnuplot module does not work with recent ConTeXt Standalone.

Thank you very much for the report.

> ------- error message --------
>
> ! Undefined control sequence.
>
> system          > tex > error on line 110 in file pokus_min.tex: Undefined control sequence ...
>
>
> l.110 \runMPgraphicstrue

This one seems easy to fix - just comment out \runMPgraphicstrue in
t-gnuplot.tex. But I have other problems with buffers after trying
that. (See the topic "buffer broken?" from two days ago.)

I'm using 2012.01.12 15:48 and it bails out in the same way:

! Extra }, or forgotten \endgroup.

system          > tex > error on line 14 in file gptest.tex: Extra },
or forgotten  ...

 4
 5      \startGNUPLOTscript[aaa]
 6      plot [0:5] "-"
 7      0       1
 8      1       2
 9      2       5
10      3       10
11      4       17
12      5       26
13      e
14 >>   \stopGNUPLOTscript
15
16      \useGNUPLOTgraphic[aaa]
17
18      \stoptext
19


\stopGNUPLOTscript ->\egroup
                             \ifx \savebuffer \undefined \else \savebuffer [...
\buff_finish ...oup \buff_stop {stopGNUPLOTscript}
                                                  \endgroup
l.14  \stopGNUPLOTscript

?

Mojca


> ------- example ---------
>
> \usemodule[gnuplot]
>
> \starttext
>
> \startGNUPLOTscript[aaa]
> plot [0:5] "-"
> 0       1
> 1       2
> 2       5
> 3       10
> 4       17
> 5       26
> e
> \stopGNUPLOTscript
>
> \useGNUPLOTgraphic[aaa]
>
> \stoptext
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnuplot module does not work
  2012-01-13 16:10 ` Mojca Miklavec
@ 2012-01-13 16:12   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2012-01-13 16:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 13-1-2012 17:10, Mojca Miklavec wrote:

> This one seems easy to fix - just comment out \runMPgraphicstrue in
> t-gnuplot.tex. But I have other problems with buffers after trying
> that. (See the topic "buffer broken?" from two days ago.)
>
> I'm using 2012.01.12 15:48 and it bails out in the same way:
>
> ! Extra }, or forgotten \endgroup.

buffers are fixed in the next beta (not yet uploaded)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-13 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 13:35 gnuplot module does not work zs
2012-01-13 16:10 ` Mojca Miklavec
2012-01-13 16:12   ` Hans Hagen

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