Re: [NTG-context] [m-chart] Connections
On 2011-10-18 Wolfgang Schuster wrote: > […] > > To be sure I looked for the correct input and also MkII expects > the + and - before the location of the node but MkII had “n” as > synonym for + which is now “m” in MkIV. I see. Thanks for checking the sources. That means the syntax is as follows: -tt+t +l || +r || l || r || -l || -r || -bb+b I added a section to the wiki. 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] Connections
Am 18.10.2011 um 18:52 schrieb Aditya Mahajan: > On Tue, 18 Oct 2011, Wolfgang Schuster wrote: > >> >> Am 18.10.2011 um 18:14 schrieb Marco: >> >>> On 2011-10-18 Aditya Mahajan wrote: >>> t b r and l correspond to top, bottom, right, and left. The other two points are accessed throught t+ and t- etc. IIRC, for top and bottom, + corresponds to the right point and - to the left point; for left and right, + corresponds to the top point and - to the bottom point. >>> >>> According to this, [tb+] should yield to the desired >>> result. However, it produces the same output as [tb]. >> >> The order of arguments is now different in MkIV (bug?), > > It is more likely that I did not recall the syntax correctly. Neither do I, I don’t use module often enough to remember syntax. To be sure I looked for the correct input and also MkII expects the + and - before the location of the node but MkII had “n” as synonym for + which is now “m” in MkIV. Wolfgang ___ 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] Connections
On Tue, 18 Oct 2011, Wolfgang Schuster wrote: Am 18.10.2011 um 18:14 schrieb Marco: On 2011-10-18 Aditya Mahajan wrote: t b r and l correspond to top, bottom, right, and left. The other two points are accessed throught t+ and t- etc. IIRC, for top and bottom, + corresponds to the right point and - to the left point; for left and right, + corresponds to the top point and - to the bottom point. According to this, [tb+] should yield to the desired result. However, it produces the same output as [tb]. The order of arguments is now different in MkIV (bug?), It is more likely that I did not recall the syntax correctly. Aditya ___ 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] Connections
Am 18.10.2011 um 18:14 schrieb Marco: > On 2011-10-18 Aditya Mahajan wrote: > >> t b r and l correspond to top, bottom, right, and left. >> The other two points are accessed throught t+ and t- >> etc. IIRC, for top and bottom, + corresponds to the >> right point and - to the left point; for left and right, >> + corresponds to the top point and - to the bottom >> point. > > According to this, [tb+] should yield to the desired > result. However, it produces the same output as [tb]. The order of arguments is now different in MkIV (bug?), you have to write “tmb” or “t-p” to connect from the center of the bottom shape the left of the top shape, the two keywords “m” and “p” are synonyms for “-” (minus) and “+” (plus). Wolfgang ___ 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] Connections
On 2011-10-18 Aditya Mahajan wrote: > t b r and l correspond to top, bottom, right, and left. > The other two points are accessed throught t+ and t- > etc. IIRC, for top and bottom, + corresponds to the > right point and - to the left point; for left and right, > + corresponds to the top point and - to the bottom > point. According to this, [tb+] should yield to the desired result. However, it produces the same output as [tb]. 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] Connections
On Tue, 18 Oct 2011, Marco wrote: Hi, I cannot figure out how to connect to the bottom right point (the small red one). Anyway, in the manual the shortcuts to address the individual points are not really explained. I blindly guess: tm - top middle t - top middle bl - bottom left br - bottom right bm - bottom centre b - bottom centre … These don't look right. I haven't checked what the manual says, but I usually use t, t+, t- b, b+, b- r, r+, r- l, l+, l- t b r and l correspond to top, bottom, right, and left. The other two points are accessed throught t+ and t- etc. IIRC, for top and bottom, + corresponds to the right point and - to the left point; for left and right, + corresponds to the top point and - to the bottom point. Aditya___ 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] Connections
Hi, I cannot figure out how to connect to the bottom right point (the small red one). Anyway, in the manual the shortcuts to address the individual points are not really explained. I blindly guess: tm - top middle t - top middle bl - bottom left br - bottom right bm - bottom centre b - bottom centre … However, in the following example it doesn't work. Any ideas? % \usemodule [chart] \setupFLOWcharts [option=test] \startFLOWchart [mychart] \startFLOWcell \name {foo} \location {1,1} \shape{action} \text {Foo} \stopFLOWcell \startFLOWcell \name {bar} \location {1,2} \shape{action} \text {Bar} %\connection [tmbl] {foo} % left \connection [tmbr] {foo} % also left ?? \stopFLOWcell \stopFLOWchart \starttext \FLOWchart [mychart] \stoptext % 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 ___