From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109623 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christian Prim Newsgroups: gmane.comp.tex.context Subject: Problem with gnuplot-module in lmtx Date: Wed, 25 Nov 2020 14:25:54 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7332977802688905074==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34774"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 25 14:26:33 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khuoa-0008v6-UH for gctc-ntg-context-518@m.gmane-mx.org; Wed, 25 Nov 2020 14:26:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 066D01AA593; Wed, 25 Nov 2020 14:26:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02lnnUZGVXg3; Wed, 25 Nov 2020 14:26:10 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2C04C1AA59F; Wed, 25 Nov 2020 14:26:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 227E21AA593 for ; Wed, 25 Nov 2020 14:26:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HpD1Zx1zKSfj for ; Wed, 25 Nov 2020 14:26:08 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.54; helo=mail-io1-f54.google.com; envelope-from=christian.prim@gmail.com; receiver= Original-Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E6DB31AA32E for ; Wed, 25 Nov 2020 14:26:07 +0100 (CET) Original-Received: by mail-io1-f54.google.com with SMTP id m9so2088317iox.10 for ; Wed, 25 Nov 2020 05:26:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oOfSiVy6+dqrYSxoXRMD5RBpHAHu47mVzf8WaA/9m6A=; b=OaD6+WgUmANDFSBxZV6Tru2Vd/ALmzOWwdKcvKlS1jGyoiEpTxNAh7bTnK6VTFkFDv UVvvqP5KJExdy9exp3pr+bMmH4aD72+pmZQ5pez/sVNgGhs6TrafFkcFlcBM3pYhlcEl hfZ5j09wHfcudc1zhY++QfU/ZqJ4vxOXpMxnZz4uubhPzQ66+Ih8kPRvuTGOrUgIfkPp JRZ05Z4c0Q6+c8oXtzb2NqIxh8aWeWdplM3Km3VFqfiM7OkIMN3VGIwjeUGLD2UxhEE8 n/8iVqauy6KMtHSP0uvLfCXvVqIbo4DafntLLqrtrQyGNpQsdr6QD3rSdMxnYnGcYafx p0sA== X-Gm-Message-State: AOAM532ozFWjtEDTKw8cFsYzTtaSU8Ksm78FBq0j9PI5f8NT5em29kGc cCp9IFRu4DDRyLPxG8s+ALEzfX/QXj5zm6PEninLbXgl9Tjpdw== X-Google-Smtp-Source: ABdhPJxb4ZzVfdgXLp5XzrMIze0DWHH4BA+tB3Xlf695QG1m7bC+F1auGHj+z5aAx287Nkx4QfwiB4uza4Du1oopUWk= X-Received: by 2002:a6b:600a:: with SMTP id r10mr2565164iog.143.1606310766091; Wed, 25 Nov 2020 05:26:06 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109623 Archived-At: --===============7332977802688905074== Content-Type: multipart/alternative; boundary="0000000000009ca2e305b4ee5e9d" --0000000000009ca2e305b4ee5e9d Content-Type: text/plain; charset="UTF-8" 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 \font_basics_predefine #1#2->\font_basics_defined_font_yes [#2]\gletcsname #1\expandafter \endcsname \csname \v_font_identifier_basic \endcsname \predefinedfont [#1]->\ifcsname \??predefinedfont #1\endcsname \lastnamedcs \else \font_basics_predefined {#1} \fi \svgnormal ...ame \??svgfamily #1\endcsname \lastnamedcs \else #1\fi -#2-#3}\predefinedfont [\s!spec :\p_font *\s!default \space @ 10bp] \fi #4\egroup \svgstartlayer \svgscaled{1}{arial}{normal}{normal}{\svgscaled{1}{arial}{normal}{normal}{\svghashed{1}}} \svgstoplayer \ \global \setbox \mptextbox \hbox {\clf_mptexttoks } ... \includegnuplotsvgfile[./sin.svg] \resetbuffer[svg-sin-inclusion] 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 --0000000000009ca2e305b4ee5e9d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

with the latest version of lmtx (upg= raded a minute ago), the gnuplot-example from the wiki-page (for lmtx with = externalfigure) doesn't work. Error is:

tex er= ror =C2=A0 =C2=A0 =C2=A0 > 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
=C2=A0 =C2=A0 [#= 2]\gletcsname #1\expandafter \endcsname \csname \v_font_identifier_basic \e= ndcsname
<macro> \predefinedfont [#1]->\ifcsname \??predefinedf= ont #1\endcsname \lastnamedcs \else \font_basics_predefined {#1}
=C2=A0 = =C2=A0 \fi
<macro> \svgnormal ...ame \??svgfamily #1\endcsname \la= stnamedcs \else #1\fi -#2-#3}\predefinedfont [\s!spec :\p_font *\s!default = \space @ 10bp]
=C2=A0 =C2=A0 \fi #4\egroup

<lua output> \sv= gstartlayer \svgscaled{1}{arial}{normal}{normal}{\svgscaled{1}{arial}{norma= l}{normal}{\svghashed{1}}}
=C2=A0 =C2=A0 \svgstoplayer

<lua ou= tput> \

<local> \global \setbox \mptextbox \hbox {\clf_mpte= xttoks
=C2=A0 =C2=A0 }
...

<line 6.1> \includegnuplotsvg= file[./sin.svg]
=C2=A0 =C2=A0 \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&= #39;ll forget about whatever was undefined.


mtx-context =C2=A0 = =C2=A0 | fatal error: return code: 256

here is= the code:

gnuplot.tex:
\usemodule[gnupl= ot]

\starttext
\externalfigure[sin.gp][conversion=3Dsvg,width=3D4cm]
\stoptext

sin.gp:
set format xy "$%g$&q= uot;

set title =C2=A0'This is a plot of $y=3D\\sin(x)$'
s= et xlabel 'This is the $x$ axis'
set ylabel 'This is the $y$= axis'

plot [0:6.28] [0:1] sin(x)

T= he same code works on older lmtx (current version: 2020.09.20 23:02). It= 9;s not on the same linux-machine, but both have the same gnuplot-version i= nstalled.

Is this a bug?

= Thanks
Christian
--0000000000009ca2e305b4ee5e9d-- --===============7332977802688905074== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7332977802688905074==--