ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems with tikz plot file
@ 2020-09-04  6:32 Christian Prim
  2020-09-04  8:08 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Prim @ 2020-09-04  6:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 825 bytes --]

Hi everyone

Following MWE produces an error on newest lmtx (current version: 2020.09.03
20:03):

\usemodule[tikz]
\starttext
\placefigure[here][]{}{\hbox{\starttikzpicture
   \draw plot file {data.table};
\stoptikzpicture}}
\stoptext

with data.table:

150 -0.102
150.1 -0.15
150.2 -0.389
150.3 -0.15
150.4 -0.389
150.5 -0.15
150.6 -0.293
150.7 -0.341
150.8 -0.485
150.9 -0.293

(data.table could be any x-y-pair)

The error says:
tex error on line 5 in file ./plot.tex: Argument of \pgf@parsexyline has an
extra }

It doesn't seem to be directly related to
https://unix.stackexchange.com/questions/10267/how-to-find-unmatched-brackets-in-a-text-file
as
I have tested to convert data.table to dos-Format with unix2dos. No success.

I'm working on linux (debian).

What am I missing? Or is this a bug?

Many thanks
Christian

[-- Attachment #1.2: Type: text/html, Size: 1285 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Problems with tikz plot file
  2020-09-04  6:32 Problems with tikz plot file Christian Prim
@ 2020-09-04  8:08 ` Hans Hagen
  2020-09-06 12:55   ` Christian Prim
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2020-09-04  8:08 UTC (permalink / raw)
  To: ntg-context@ntg.nl >> mailing list for ConTeXt users

On 9/4/2020 8:32 AM, Christian Prim wrote:
> Hi everyone
> 
> Following MWE produces an error on newest lmtx (current version: 
> 2020.09.03 20:03):
> 
> \usemodule[tikz]
> \starttext
> \placefigure[here][]{}{\hbox{\starttikzpicture
>     \draw plot file {data.table};
> \stoptikzpicture}}
> \stoptext
> 
> with data.table:
> 
> 150 -0.102
> 150.1 -0.15
> 150.2 -0.389
> 150.3 -0.15
> 150.4 -0.389
> 150.5 -0.15
> 150.6 -0.293
> 150.7 -0.341
> 150.8 -0.485
> 150.9 -0.293
> 
> (data.table could be any x-y-pair)
> 
> The error says:
> tex error on line 5 in file ./plot.tex: Argument of \pgf@parsexyline has 
> an extra }
> 
> It doesn't seem to be directly related to 
> https://unix.stackexchange.com/questions/10267/how-to-find-unmatched-brackets-in-a-text-file as 
> I have tested to convert data.table to dos-Format with unix2dos. No success.
> 
> I'm working on linux (debian).
> 
> What am I missing? Or is this a bug?
seems that i need to append a space to the lines read in .. i'll fix it

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Problems with tikz plot file
  2020-09-04  8:08 ` Hans Hagen
@ 2020-09-06 12:55   ` Christian Prim
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Prim @ 2020-09-06 12:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2071 bytes --]

Many thanks Hans for the quick fix!

Christian

Am Fr., 4. Sept. 2020 um 10:09 Uhr schrieb Hans Hagen <j.hagen@xs4all.nl>:

> On 9/4/2020 8:32 AM, Christian Prim wrote:
> > Hi everyone
> >
> > Following MWE produces an error on newest lmtx (current version:
> > 2020.09.03 20:03):
> >
> > \usemodule[tikz]
> > \starttext
> > \placefigure[here][]{}{\hbox{\starttikzpicture
> >     \draw plot file {data.table};
> > \stoptikzpicture}}
> > \stoptext
> >
> > with data.table:
> >
> > 150 -0.102
> > 150.1 -0.15
> > 150.2 -0.389
> > 150.3 -0.15
> > 150.4 -0.389
> > 150.5 -0.15
> > 150.6 -0.293
> > 150.7 -0.341
> > 150.8 -0.485
> > 150.9 -0.293
> >
> > (data.table could be any x-y-pair)
> >
> > The error says:
> > tex error on line 5 in file ./plot.tex: Argument of \pgf@parsexyline
> has
> > an extra }
> >
> > It doesn't seem to be directly related to
> >
> https://unix.stackexchange.com/questions/10267/how-to-find-unmatched-brackets-in-a-text-file as
>
> > I have tested to convert data.table to dos-Format with unix2dos. No
> success.
> >
> > I'm working on linux (debian).
> >
> > What am I missing? Or is this a bug?
> seems that i need to append a space to the lines read in .. i'll fix it
>
> Hans
>
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3462 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2020-09-06 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04  6:32 Problems with tikz plot file Christian Prim
2020-09-04  8:08 ` Hans Hagen
2020-09-06 12:55   ` Christian Prim

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