Problems with tikz plot file
![](https://secure.gravatar.com/avatar/c8215d393fc524974c25ac26da0a5eb9.jpg?s=120&d=mm&r=g)
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-bracket... 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
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
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-bracket... 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c8215d393fc524974c25ac26da0a5eb9.jpg?s=120&d=mm&r=g)
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-bracket... 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
___________________________________________________________________________________
participants (2)
-
Christian Prim
-
Hans Hagen