Re: [NTG-context] [m-chart] Focus feature

2011-10-20 Thread Ian Lawrence
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
___


Re: [NTG-context] [m-chart] Focus feature

2011-10-20 Thread Hans Hagen

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
___


Re: [NTG-context] [m-chart] Focus feature

2011-10-20 Thread Hans Hagen

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
___


Re: [NTG-context] [m-chart] Focus feature

2011-10-19 Thread Marco
On 2011-10-18 Hans Hagen pra...@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
___

Re: [NTG-context] [m-chart] Focus feature

2011-10-19 Thread Otared Kavian

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
___


[NTG-context] [m-chart] Focus feature

2011-10-18 Thread Marco
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
___

Re: [NTG-context] [m-chart] Focus feature

2011-10-18 Thread Willi Egger
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
___


Re: [NTG-context] [m-chart] Focus feature

2011-10-18 Thread Hans Hagen

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
___


Re: [NTG-context] [m-chart] Focus feature

2011-10-18 Thread Marco
On 2011-10-18 Willi Egger cont...@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
___


Re: [NTG-context] [m-chart] Focus feature

2011-10-18 Thread Hans Hagen

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
___