ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christian Prim <christian.prim@gmx.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with gnuplot-module in lmtx
Date: Fri, 27 Nov 2020 18:10:08 +0100	[thread overview]
Message-ID: <CA+9XOxofZfsYCFeO4NdBOATk+=iBSOFZcyAj_m5zYQ3Bubv1-A@mail.gmail.com> (raw)
In-Reply-To: <CA+9XOxr=9kz4m2UdVtW=VqUxwkmKQGfU5AOHL6EcBTyUKe5JdQ@mail.gmail.com>


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

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 <
christian.prim@gmx.ch>:

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

[-- Attachment #1.2: Type: text/html, Size: 2806 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
___________________________________________________________________________________

      reply	other threads:[~2020-11-27 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25 13:25 Christian Prim
2020-11-27 17:10 ` Christian Prim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+9XOxofZfsYCFeO4NdBOATk+=iBSOFZcyAj_m5zYQ3Bubv1-A@mail.gmail.com' \
    --to=christian.prim@gmx.ch \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).