* [m-chart] Focus feature
@ 2011-10-18 19:32 Marco
2011-10-18 20:07 ` Willi Egger
2011-10-18 21:49 ` Hans Hagen
0 siblings, 2 replies; 10+ messages in thread
From: Marco @ 2011-10-18 19:32 UTC (permalink / raw)
To: ntg-context
Hi,
it's me with flow chars again. I didn't get the focus
feature to work. The following example does not focus
anything. Has the syntax changed or is the feature gone?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usemodule [chart]
\setupFLOWfocus [framecolor=yellow]
\setupFLOWcharts [focus=bar]
\startFLOWchart [mychart]
\startFLOWcell
\name {foo}
\location {1,1}
\shape {action} % mandatory, otherwise error
\text {Foo}
\stopFLOWcell
\startFLOWcell
\name {bar}
\location {1,2}
\shape {action} % mandatory, otherwise error
\text {Bar}
\connection [tb] {foo}
\stopFLOWcell
\stopFLOWchart
\starttext
\FLOWchart [mychart]
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Another issue: According to the manual, “action” should be
the default shape. However, when no shape is specified, an
error is raised. Is it a bug?
Regards
Marco Patzer
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-18 19:32 [m-chart] Focus feature Marco
@ 2011-10-18 20:07 ` Willi Egger
2011-10-18 20:11 ` Hans Hagen
2011-10-18 20:19 ` Marco
2011-10-18 21:49 ` Hans Hagen
1 sibling, 2 replies; 10+ messages in thread
From: Willi Egger @ 2011-10-18 20:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi
It works here with version ConTeXt ver: 2011.07.19 11:22 MKIV incl. the autofocus feature.
It does not put the focus color in version ConTeXt ver: 2011.10.14 22:47 MKIV, nor does the autofocus feature work.
(Hans, however it does work again with the experimental version 2011.10.10 13:38 MKIV and module [chart], there is no focus in module [flow])
Willi
On 18 Oct 2011, at 21:32, Marco wrote:
> \usemodule [chart]
> \setupFLOWfocus [framecolor=yellow]
> \setupFLOWcharts [focus=bar]
>
> \startFLOWchart [mychart]
> \startFLOWcell
> \name {foo}
> \location {1,1}
> \shape {action} % mandatory, otherwise error
> \text {Foo}
> \stopFLOWcell
> \startFLOWcell
> \name {bar}
> \location {1,2}
> \shape {action} % mandatory, otherwise error
> \text {Bar}
> \connection [tb] {foo}
> \stopFLOWcell
> \stopFLOWchart
>
> \starttext
> \FLOWchart [mychart]
> \stoptext
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-18 20:07 ` Willi Egger
@ 2011-10-18 20:11 ` Hans Hagen
2011-10-18 20:19 ` Marco
1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2011-10-18 20:11 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Willi Egger
On 18-10-2011 22:07, Willi Egger wrote:
> Hi
>
> It works here with version ConTeXt ver: 2011.07.19 11:22 MKIV incl. the autofocus feature.
>
> It does not put the focus color in version ConTeXt ver: 2011.10.14 22:47 MKIV, nor does the autofocus feature work.
>
> (Hans, however it does work again with the experimental version 2011.10.10 13:38 MKIV and module [chart], there is no focus in module [flow])
module flow is gone .. it's chart again now (flow was a temp version)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-18 20:07 ` Willi Egger
2011-10-18 20:11 ` Hans Hagen
@ 2011-10-18 20:19 ` Marco
1 sibling, 0 replies; 10+ messages in thread
From: Marco @ 2011-10-18 20:19 UTC (permalink / raw)
To: ntg-context
On 2011-10-18 Willi Egger <context@boede.nl> wrote:
> Hi
>
> It works here with version ConTeXt ver: 2011.07.19 11:22 MKIV incl. the
> autofocus feature.
>
> It does not put the focus color in version ConTeXt ver: 2011.10.14 22:47
> MKIV, nor does the autofocus feature work.
Thanks for testing. Confirmed with versions:
works:
2011.06.11 16:45, beta-0.70.1-2011051911
fails:
2011.10.17 10:36, beta-0.70.1-2011051918
Marco
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-18 19:32 [m-chart] Focus feature Marco
2011-10-18 20:07 ` Willi Egger
@ 2011-10-18 21:49 ` Hans Hagen
2011-10-19 8:42 ` Marco
2011-10-19 20:00 ` Otared Kavian
1 sibling, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2011-10-18 21:49 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Marco
On 18-10-2011 21:32, Marco wrote:
> Another issue: According to the manual, “action” should be
> the default shape. However, when no shape is specified, an
> error is raised. Is it a bug?
fixed in next beta
also connection parsing is more tolerant now: "+ left - right" in
addition to "lr" etc
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-18 21:49 ` Hans Hagen
@ 2011-10-19 8:42 ` Marco
2011-10-19 20:00 ` Otared Kavian
1 sibling, 0 replies; 10+ messages in thread
From: Marco @ 2011-10-19 8:42 UTC (permalink / raw)
To: ntg-context
On 2011-10-18 Hans Hagen <pragma@wxs.nl> wrote:
> On 18-10-2011 21:32, Marco wrote:
>
> > Another issue: According to the manual, “action” should be
> > the default shape. However, when no shape is specified, an
> > error is raised. Is it a bug?
>
> fixed in next beta
Thanks for the quick fix. It works now.
Marco
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-18 21:49 ` Hans Hagen
2011-10-19 8:42 ` Marco
@ 2011-10-19 20:00 ` Otared Kavian
2011-10-20 8:43 ` Ian Lawrence
2011-10-20 11:38 ` Hans Hagen
1 sibling, 2 replies; 10+ messages in thread
From: Otared Kavian @ 2011-10-19 20:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 18 oct. 2011, at 23:49, Hans Hagen wrote:
> On 18-10-2011 21:32, Marco wrote:
>
>> Another issue: According to the manual, “action” should be
>> the default shape. However, when no shape is specified, an
>> error is raised. Is it a bug?
>
> fixed in next beta
>
> also connection parsing is more tolerant now: "+ left - right" in addition to "lr" etc
Dear Hans,
The command
\comment[r]{blabla}
does not work anymore in mkiv when using \usemodule[chart]: one gets an error message. (ConTeXt version 2011.10.19 00:02).
It seems that in the file
m-chart.mkvi
there is a typo at line 277: one finds there
\do_FLOW_commment
instead of \do_FLOW_comment. Fixing this typo eliminates the error message but the comment does not show up.
Best regards: OK
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-19 20:00 ` Otared Kavian
@ 2011-10-20 8:43 ` Ian Lawrence
2011-10-20 11:31 ` Hans Hagen
2011-10-20 11:38 ` Hans Hagen
1 sibling, 1 reply; 10+ messages in thread
From: Ian Lawrence @ 2011-10-20 8:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
Another one on flow cells:
The latest beta adds an unwanted frame around the text ' radiations that ionise', for cells like:
\startFLOWcell
\name{episode_04_title}
\location {1,5}
\shape{7}
\text[align=left]{{\bf Radiations that ionise}}
\connection[nb,pt]{episode_05_title}
\stopFLOWcell
And I'm not expert enough to figure out another way of aligning them left…
On 19 Oct 2011, at 21:00, Otared Kavian wrote:
>
> On 18 oct. 2011, at 23:49, Hans Hagen wrote:
>
>> On 18-10-2011 21:32, Marco wrote:
>>
>>> Another issue: According to the manual, “action” should be
>>> the default shape. However, when no shape is specified, an
>>> error is raised. Is it a bug?
>>
>> fixed in next beta
>>
>> also connection parsing is more tolerant now: "+ left - right" in addition to "lr" etc
>
> Dear Hans,
>
> The command
> \comment[r]{blabla}
> does not work anymore in mkiv when using \usemodule[chart]: one gets an error message. (ConTeXt version 2011.10.19 00:02).
> It seems that in the file
> m-chart.mkvi
> there is a typo at line 277: one finds there
> \do_FLOW_commment
> instead of \do_FLOW_comment. Fixing this typo eliminates the error message but the comment does not show up.
>
>
> Best regards: OK
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-20 8:43 ` Ian Lawrence
@ 2011-10-20 11:31 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2011-10-20 11:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 20-10-2011 10:43, Ian Lawrence wrote:
> Another one on flow cells:
>
> The latest beta adds an unwanted frame around the text ' radiations that ionise', for cells like:
>
> \startFLOWcell
> \name{episode_04_title}
> \location {1,5}
> \shape{7}
> \text[align=left]{{\bf Radiations that ionise}}
> \connection[nb,pt]{episode_05_title}
> \stopFLOWcell
\text[l]{...}
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread
* Re: [m-chart] Focus feature
2011-10-19 20:00 ` Otared Kavian
2011-10-20 8:43 ` Ian Lawrence
@ 2011-10-20 11:38 ` Hans Hagen
1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2011-10-20 11:38 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Otared Kavian
On 19-10-2011 22:00, Otared Kavian wrote:
>
> On 18 oct. 2011, at 23:49, Hans Hagen wrote:
>
>> On 18-10-2011 21:32, Marco wrote:
>>
>>> Another issue: According to the manual, “action” should be
>>> the default shape. However, when no shape is specified, an
>>> error is raised. Is it a bug?
>>
>> fixed in next beta
>>
>> also connection parsing is more tolerant now: "+ left - right" in addition to "lr" etc
>
> Dear Hans,
>
> The command
> \comment[r]{blabla}
> does not work anymore in mkiv when using \usemodule[chart]: one gets an error message. (ConTeXt version 2011.10.19 00:02).
> It seems that in the file
> m-chart.mkvi
> there is a typo at line 277: one finds there
> \do_FLOW_commment
> instead of \do_FLOW_comment. Fixing this typo eliminates the error message but the comment does not show up.
I've added comment to the new code but I'm not sure how compatible it
is. However, there is more control, compare [t] (anchored at edge) with
[t:0.5] (anchored halfway along the path) ... comments now relate to the
connection that they follow so each connection can have a whole bunch of
comments.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread
end of thread, other threads:[~2011-10-20 11:38 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18 19:32 [m-chart] Focus feature Marco
2011-10-18 20:07 ` Willi Egger
2011-10-18 20:11 ` Hans Hagen
2011-10-18 20:19 ` Marco
2011-10-18 21:49 ` Hans Hagen
2011-10-19 8:42 ` Marco
2011-10-19 20:00 ` Otared Kavian
2011-10-20 8:43 ` Ian Lawrence
2011-10-20 11:31 ` Hans Hagen
2011-10-20 11:38 ` Hans Hagen
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).