From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106674 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?B?SmFuLUVyaWsgSMOkZ2dsw7Zm?= Newsgroups: gmane.comp.tex.context Subject: running gnuplot failure Date: Sun, 29 Mar 2020 20:32:17 +0200 Message-ID: <52D6394A-997A-488F-A43A-DB8079A24685@bahnhof.se> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: multipart/mixed; boundary="===============4073571727442583523==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="108055"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 29 20:32:34 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 1jIcjZ-000S01-RX for gctc-ntg-context-518@m.gmane-mx.org; Sun, 29 Mar 2020 20:32:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C37D3182E61; Sun, 29 Mar 2020 20:32:22 +0200 (CEST) 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 SAj_uYxHi-_j; Sun, 29 Mar 2020 20:32:21 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D3DC1182E6A; Sun, 29 Mar 2020 20:32:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A9909182E61 for ; Sun, 29 Mar 2020 20:32:20 +0200 (CEST) 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 QPEwI_NZyODa for ; Sun, 29 Mar 2020 20:32:19 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=79.136.2.41; helo=pio-pvt-msa2.bahnhof.se; envelope-from=janerik.hagglof@bahnhof.se; receiver= Original-Received: from pio-pvt-msa2.bahnhof.se (pio-pvt-msa2.bahnhof.se [79.136.2.41]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id BC65E182E24 for ; Sun, 29 Mar 2020 20:32:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTP id B782548300 for ; Sun, 29 Mar 2020 20:32:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Original-Received: from pio-pvt-msa2.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MtHL2bVqIw1u for ; Sun, 29 Mar 2020 20:32:17 +0200 (CEST) Original-Received: from [192.168.1.72] (h-248-232.A400.priv.bahnhof.se [85.24.248.232]) (Authenticated sender: mb287648) by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTPA id AD3FA482FF for ; Sun, 29 Mar 2020 20:32:17 +0200 (CEST) X-Mailer: Apple Mail (2.3608.80.23.2.2) 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:106674 Archived-At: --===============4073571727442583523== Content-Type: multipart/alternative; boundary="Apple-Mail=_826940AF-9873-479B-9ECA-8A8AEFB23DA1" --Apple-Mail=_826940AF-9873-479B-9ECA-8A8AEFB23DA1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi! I have tried to run the following codeexample with no success \usemodule [gnuplot]=20 \setupGNUPLOTterminal [context] [width=3D5in,height=3D2.5in,fontscale=3D0.9]=20 \setupGNUPLOTterminal [tikz][width=3D5in,height=3D2.5in,fontscale=3D0.9]=20 \starttext \startGNUPLOTinclusions set samples 400 set key left Left reverse \stopGNUPLOTinclusion \startGNUPLOTscript[myfunction] set zeroaxis set format y "%.1f" plot [-4:2][0:2] 1 t '' lt 0, exp(x) t '$e^x$' lt 1 lw 3 plot cos(atan(x))*sin(x) t '$\cos(\arctan(x))\sin(x)$' lw 3 lc 3=20 \stopGNUPLOTscript \placefigure{none}{\useGNUPLOTgraphic[myfunction][2]}=20 \setupGNUPLOT [terminal=3Dtikz]=20 \placefigure{none}{\useGNUPLOTgraphic[myfunction][1]}=20 \stoptext I=E2=80=99ve done the following in my LMTX installation mtxrun =E2=80=94generate context =E2=80=94make =E2=80=94all I am running gnuplot 5.2 installed via brew and I also checked that the terminal tikz is supported via set term So the module seems to be there Is there something more I need to do? Regards=20 Janne --Apple-Mail=_826940AF-9873-479B-9ECA-8A8AEFB23DA1 Content-Type: multipart/mixed; boundary="Apple-Mail=_932A2EA7-5B85-4173-90DF-14C63BB10650" --Apple-Mail=_932A2EA7-5B85-4173-90DF-14C63BB10650 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi!

I = have tried to run the following codeexample with no success

\usemodule
[gnuplot] 

\setupGNUPLOTterminal
[context]
[width=3D5in,height=3D2.5in,fontscale=3D0.9] 

\setupGNUPLOTterminal
[tikz][width=3D5in,height=3D2.5in,fontscale=3D0.9] 
<= div style=3D"margin: 0px; font-stretch: normal; font-size: 18px; = line-height: normal; font-family: Verdana; min-height: 22px;" = class=3D"">
\starttext
\startGNUPLOTinclusions
set samples 400
set key left Left reverse
\stopGNUPLOTinclusion
\startGNUPLOTscript[myfunction]
set zeroaxis
set format y "%.1f"
plot [-4:2][0:2] = 1 t '' lt 0, exp(x) t '$e^x$' lt 1 lw 3
plot cos(atan(x))*sin(x) t = '$\cos(\arctan(x))\sin(x)$' lw 3 lc 3 
\stopGNUPLOTscript
\placefigure{none}{\useGNUPLOTgraphic[myfunction][2]} 
\setupGNUPLOT
[terminal=3Dtikz] 
\placefigure{none}{\useGNUPLOTgraphic[myfunction][1]} 
\stoptext

= --Apple-Mail=_932A2EA7-5B85-4173-90DF-14C63BB10650 Content-Disposition: attachment; filename=test3-status.html Content-Type: text/html; x-unix-mode=0644; name="test3-status.html" Content-Transfer-Encoding: 7bit ConTeXt Error Information
ConTeXt Error Information
Error   ! Undefined control sequence
File    ./test3.tex
Line    4

 1     \usemodule
 2     [gnuplot] 
 3     
 4 >>  \setupGNUPLOTterminal
 5     [context]
 6     [width=5in,height=2.5in,fontscale=0.9] 
 7     
 8     \setupGNUPLOTterminal
 9     [tikz][width=5in,height=2.5in,fontscale=0.9] 
10     
11     \starttext
12     \startGNUPLOTinclusions
13     set samples 400
14     set key left Left reverse            
Job Name: test3     ConTeXt Version: 2020.03.10 14:52     Real Page: 1     Page: 1    
--Apple-Mail=_932A2EA7-5B85-4173-90DF-14C63BB10650 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

I=E2=80=99ve done the following in my LMTX = installation

mtxrun = =E2=80=94generate

context =E2=80=94make =E2=80=94all

I am running gnuplot 5.2 installed via = brew

and I = also checked that the terminal tikz is supported via

set term

So the module seems to = be there

Is = there something more I need to do?

Regards 

Janne

= --Apple-Mail=_932A2EA7-5B85-4173-90DF-14C63BB10650-- --Apple-Mail=_826940AF-9873-479B-9ECA-8A8AEFB23DA1-- --===============4073571727442583523== 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== --===============4073571727442583523==--