Re: [NTG-context] Problems with tikz plot file

2020-09-06 Thread Christian Prim
Many thanks Hans for the quick fix!

Christian

Am Fr., 4. Sept. 2020 um 10:09 Uhr schrieb Hans Hagen :

> 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
>
> ___
>
___
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
___


Re: [NTG-context] Problems with tikz plot file

2020-09-04 Thread Hans Hagen

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
___