Thanks Hans

the new upload works with the gnuplot-module as it should be!

Christian

Am Mi., 25. Nov. 2020 um 14:25 Uhr schrieb Christian Prim <
[email protected]>:

> Hi
>
> with the latest version of lmtx (upgraded a minute ago), the
> gnuplot-example from the wiki-page (for lmtx with externalfigure) doesn't
> work. Error is:
>
> tex error       > tex error on line 1 in file
> virtual://buffer.svg-sin-inclusion.1: Undefined control sequence
>
> <macro> \font_basics_predefine #1#2->\font_basics_defined_font_yes
>     [#2]\gletcsname #1\expandafter \endcsname \csname
> \v_font_identifier_basic \endcsname
> <macro> \predefinedfont [#1]->\ifcsname \??predefinedfont #1\endcsname
> \lastnamedcs \else \font_basics_predefined {#1}
>     \fi
> <macro> \svgnormal ...ame \??svgfamily #1\endcsname \lastnamedcs \else
> #1\fi -#2-#3}\predefinedfont [\s!spec :\p_font *\s!default \space @ 10bp]
>     \fi #4\egroup
>
> <lua output> \svgstartlayer
> \svgscaled{1}{arial}{normal}{normal}{\svgscaled{1}{arial}{normal}{normal}{\svghashed{1}}}
>     \svgstoplayer
>
> <lua output> \
>
> <local> \global \setbox \mptextbox \hbox {\clf_mptexttoks
>     }
> ...
>
> <line 6.1> \includegnuplotsvgfile[./sin.svg]
>     \resetbuffer[svg-sin-inclusion]
>
> <empty file>
>
>
> The control sequence at the end of the top line of your error message was
> never
> \def'ed. You can just continue as I'll forget about whatever was undefined.
>
>
> mtx-context     | fatal error: return code: 256
>
> here is the code:
>
> gnuplot.tex:
> \usemodule[gnuplot]
>
> \starttext
> \externalfigure[sin.gp][conversion=svg,width=4cm]
> \stoptext
>
> sin.gp:
> set format xy "$%g$"
>
> set title  'This is a plot of $y=\\sin(x)$'
> set xlabel 'This is the $x$ axis'
> set ylabel 'This is the $y$ axis'
>
> plot [0:6.28] [0:1] sin(x)
>
> The same code works on older lmtx (current version: 2020.09.20 23:02).
> It's not on the same linux-machine, but both have the same gnuplot-version
> installed.
>
> Is this a bug?
>
> Thanks
> Christian
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to