From: 邱红文 <qiuhongwen@gmail.com>
To: ntg-context@ntg.nl
Subject: [PATCH] chart-line-bug-fix.patch
Date: Thu, 15 Aug 2013 11:21:40 +0800 [thread overview]
Message-ID: <CAGbxxw6AvxLAB9C-pOO6YPZ9dBn8xyp5HO-b9+OFX1fycDcQDA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1795 bytes --]
The following patch(pasted below and also attached as an attachment) fixes
the bug that \setupFLOWlines[rulethickness=whatever] have no effects:
--- m-chart.lua.orig 2013-03-12 09:22:42.000000000 +0800
+++ m-chart.lua 2013-08-15 10:52:08.617268698 +0800
@@ -499,7 +499,7 @@
local linesettings = settings.line
context("flow_shape_line_color := \\MPcolor{%s} ;",
linesettings.color)
context("flow_shape_fill_color := \\MPcolor{%s} ;",
linesettings.backgroundcolor)
- context("flow_shape_line_width := %s ; ",
points(linesettingsrulethickness))
+ context("flow_shape_line_width := %s ; ",
points(linesettings.rulethickness))
elseif focus[cell.focus] or focus[cell.name] then
local focussettings = settings.focus
context("flow_shape_line_color := \\MPcolor{%s} ;",
focussettings.framecolor)
@@ -580,7 +580,7 @@
context("flow_touchshape := %s ;",
linesettings.offset == v_none and "true" or "false")
context("flow_dsp_x := %s ; flow_dsp_y := %s
;",connection.dx or 0, connection.dy or 0)
context("flow_connection_line_color :=
\\MPcolor{%s} ;",linesettings.color)
- context("flow_connection_line_width := 2pt
;",points(linesettings.rulethickness))
+ context("flow_connection_line_width := %s
;",points(linesettings.rulethickness))
context("flow_connect_%s_%s (%s) (%s,%s,%s)
(%s,%s,%s)
;",where_cell,where_other,j,cellx,celly,what_cell,otherx,othery,what_other)
context("flow_dsp_x := 0 ; flow_dsp_y := 0 ;")
end
[-- Attachment #1.2: Type: text/html, Size: 2088 bytes --]
[-- Attachment #2: chart-line-bug-fix.patch --]
[-- Type: application/octet-stream, Size: 1667 bytes --]
--- m-chart.lua.orig 2013-03-12 09:22:42.000000000 +0800
+++ m-chart.lua 2013-08-15 10:52:08.617268698 +0800
@@ -499,7 +499,7 @@
local linesettings = settings.line
context("flow_shape_line_color := \\MPcolor{%s} ;", linesettings.color)
context("flow_shape_fill_color := \\MPcolor{%s} ;", linesettings.backgroundcolor)
- context("flow_shape_line_width := %s ; ", points(linesettingsrulethickness))
+ context("flow_shape_line_width := %s ; ", points(linesettings.rulethickness))
elseif focus[cell.focus] or focus[cell.name] then
local focussettings = settings.focus
context("flow_shape_line_color := \\MPcolor{%s} ;", focussettings.framecolor)
@@ -580,7 +580,7 @@
context("flow_touchshape := %s ;", linesettings.offset == v_none and "true" or "false")
context("flow_dsp_x := %s ; flow_dsp_y := %s ;",connection.dx or 0, connection.dy or 0)
context("flow_connection_line_color := \\MPcolor{%s} ;",linesettings.color)
- context("flow_connection_line_width := 2pt ;",points(linesettings.rulethickness))
+ context("flow_connection_line_width := %s ;",points(linesettings.rulethickness))
context("flow_connect_%s_%s (%s) (%s,%s,%s) (%s,%s,%s) ;",where_cell,where_other,j,cellx,celly,what_cell,otherx,othery,what_other)
context("flow_dsp_x := 0 ; flow_dsp_y := 0 ;")
end
[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2013-08-15 3:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAGbxxw6AvxLAB9C-pOO6YPZ9dBn8xyp5HO-b9+OFX1fycDcQDA@mail.gmail.com \
--to=qiuhongwen@gmail.com \
--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).