Skip to content

Commit d297b57

Browse files
authored
[201_99] 修复升级goldfish之后gnuplot无法使用的问题 (#3024)
1 parent 7d69687 commit d297b57

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

TeXmacs/plugins/gnuplot/goldfish/tm-gnuplot.scm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@
118118

119119
(define (parse-magic-line magic-line)
120120
(let ((parser (make-argument-parser)))
121-
(parser 'add '((name . "width") (short . "width") (default . "0.8par")))
122-
(parser 'add '((name . "height") (short . "height") (default . "0px")))
123-
(parser 'add '((name . "output") (short . "output") (default . "")))
124-
(parser 'parse (cdr (string-tokenize magic-line)))
121+
(parser :add '((name . "width") (short . "width") (default . "0.8par")))
122+
(parser :add '((name . "height") (short . "height") (default . "0px")))
123+
(parser :add '((name . "output") (short . "output") (default . "")))
124+
(parser :parse (cdr (string-tokenize magic-line)))
125125
(list (parser 'width) (parser 'height) (parser 'output))))
126126

127127
(define (flush-image path width height)

TeXmacs/plugins/gnuplot/progs/init-gnuplot.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
(string-append
3232
(string-quote (url->system (find-binary-goldfish)))
3333
" "
34-
"-l"
34+
"load"
3535
" "
3636
(string-quote
3737
(string-append (url->system (get-texmacs-path))

devel/201_99.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [201_99]
2+
3+
## 如何测试
4+
`https://liiistem.cn/docs/guide-gnuplot/docs/guide-gnuplot_1.html`
5+
`https://liiistem.cn/docs/guide-gnuplot/docs/guide-gnuplot_2.html`
6+
`https://liiistem.cn/docs/guide-gnuplot/docs/guide-gnuplot_3.html`
7+
通过该教程来进行测试Gnuplot是否能够正常使用
8+
9+
## 2026/03/23 修复升级goldfish之后gnuplot无法使用的问题

0 commit comments

Comments
 (0)