* [PATCH] chart-line-bug-fix.patch
@ 2013-08-15 3:21 邱红文
0 siblings, 0 replies; only message in thread
From: 邱红文 @ 2013-08-15 3:21 UTC (permalink / raw)
To: ntg-context
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-15 3:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-15 3:21 [PATCH] chart-line-bug-fix.patch 邱红文
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).