From 4cf5cc429fa8c2702b6ed4de3ad2417bc90392d0 Mon Sep 17 00:00:00 2001 From: wumo Date: Mon, 23 Mar 2026 14:33:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=87=E7=BA=A7goldfis?= =?UTF-8?q?h=E4=B9=8B=E5=90=8Egnuplot=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TeXmacs/plugins/gnuplot/goldfish/tm-gnuplot.scm | 8 ++++---- TeXmacs/plugins/gnuplot/progs/init-gnuplot.scm | 2 +- devel/201_99.md | 7 +++++++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 devel/201_99.md diff --git a/TeXmacs/plugins/gnuplot/goldfish/tm-gnuplot.scm b/TeXmacs/plugins/gnuplot/goldfish/tm-gnuplot.scm index 8c6401b6a9..710aed5943 100644 --- a/TeXmacs/plugins/gnuplot/goldfish/tm-gnuplot.scm +++ b/TeXmacs/plugins/gnuplot/goldfish/tm-gnuplot.scm @@ -118,10 +118,10 @@ (define (parse-magic-line magic-line) (let ((parser (make-argument-parser))) - (parser 'add '((name . "width") (short . "width") (default . "0.8par"))) - (parser 'add '((name . "height") (short . "height") (default . "0px"))) - (parser 'add '((name . "output") (short . "output") (default . ""))) - (parser 'parse (cdr (string-tokenize magic-line))) + (parser :add '((name . "width") (short . "width") (default . "0.8par"))) + (parser :add '((name . "height") (short . "height") (default . "0px"))) + (parser :add '((name . "output") (short . "output") (default . ""))) + (parser :parse (cdr (string-tokenize magic-line))) (list (parser 'width) (parser 'height) (parser 'output)))) (define (flush-image path width height) diff --git a/TeXmacs/plugins/gnuplot/progs/init-gnuplot.scm b/TeXmacs/plugins/gnuplot/progs/init-gnuplot.scm index 0235062dc2..4ec258bcd9 100644 --- a/TeXmacs/plugins/gnuplot/progs/init-gnuplot.scm +++ b/TeXmacs/plugins/gnuplot/progs/init-gnuplot.scm @@ -31,7 +31,7 @@ (string-append (string-quote (url->system (find-binary-goldfish))) " " - "-l" + "load" " " (string-quote (string-append (url->system (get-texmacs-path)) diff --git a/devel/201_99.md b/devel/201_99.md new file mode 100644 index 0000000000..f780467137 --- /dev/null +++ b/devel/201_99.md @@ -0,0 +1,7 @@ +# [201_99] + +## 如何测试 +`https://liiistem.cn/docs/guide-gnuplot/docs/guide-gnuplot_1.html` +通过该教程来进行测试Gnuplot是否能够正常使用 + +## 2026/03/23 修复升级goldfish之后gnuplot无法使用的问题 From 93cb2ea6e6ecad9d02739e752e2f5c0de59d6314 Mon Sep 17 00:00:00 2001 From: wumo Date: Mon, 23 Mar 2026 14:37:24 +0800 Subject: [PATCH 2/2] wip --- devel/201_99.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/201_99.md b/devel/201_99.md index f780467137..56d84dbe53 100644 --- a/devel/201_99.md +++ b/devel/201_99.md @@ -2,6 +2,8 @@ ## 如何测试 `https://liiistem.cn/docs/guide-gnuplot/docs/guide-gnuplot_1.html` +`https://liiistem.cn/docs/guide-gnuplot/docs/guide-gnuplot_2.html` +`https://liiistem.cn/docs/guide-gnuplot/docs/guide-gnuplot_3.html` 通过该教程来进行测试Gnuplot是否能够正常使用 ## 2026/03/23 修复升级goldfish之后gnuplot无法使用的问题