ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Flow charts forgetting text
@ 2007-11-03 23:17 Aditya Mahajan
  2007-11-03 23:22 ` Aditya Mahajan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Aditya Mahajan @ 2007-11-03 23:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Something is broken in flowcharts. If I typeset the same flowchart twice, 
the comments are missing from the second chart. For example

\usemodule[chart]
\setupFLOWcharts
   [%option=test,
    bodyfont=11pt,
    nx=4,
    ny=1,
    offset=11pt,
    dx=\bodyfontsize,
    dy=0.65\bodyfontsize,
    width=6\bodyfontsize,
    height=2.5\bodyfontsize,
   ]
\startFLOWchart[test]
   \startFLOWcell
     \name       {source}
     \location   {1,1}
     \shape      {procedure}
     \text       {Source}
     \connection [rl]  {encoder}
     \comment    [t]   {$X_t$}
   \stopFLOWcell
   \startFLOWcell
     \name       {encoder}
     \location   {2,1}
     \shape      {procedure}
     \text       {Encoder}
   \stopFLOWcell
\stopFLOWchart

\starttext
\FLOWchart[test] \input knuth \FLOWchart[test]
\stoptext

The second flow chart does not have $X_t$. Can someone tell what is going 
on?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Flow charts forgetting text
  2007-11-03 23:17 Flow charts forgetting text Aditya Mahajan
@ 2007-11-03 23:22 ` Aditya Mahajan
  2007-11-04  0:03 ` Aditya Mahajan
  2007-11-05 16:49 ` Willi Egger
  2 siblings, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2007-11-03 23:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 3 Nov 2007, Aditya Mahajan wrote:

> Hi,
>
> Something is broken in flowcharts. If I typeset the same flowchart twice, the 
> comments are missing from the second chart. For example
>
> \usemodule[chart]
> \setupFLOWcharts
>  [%option=test,
>   bodyfont=11pt,
>   nx=4,
>   ny=1,
>   offset=11pt,
>   dx=\bodyfontsize,
>   dy=0.65\bodyfontsize,
>   width=6\bodyfontsize,
>   height=2.5\bodyfontsize,
>  ]
> \startFLOWchart[test]
>  \startFLOWcell
>    \name       {source}
>    \location   {1,1}
>    \shape      {procedure}
>    \text       {Source}
>    \connection [rl]  {encoder}
>    \comment    [t]   {$X_t$}
>  \stopFLOWcell
>  \startFLOWcell
>    \name       {encoder}
>    \location   {2,1}
>    \shape      {procedure}
>    \text       {Encoder}
>  \stopFLOWcell
> \stopFLOWchart
>
> \starttext
> \FLOWchart[test] \input knuth \FLOWchart[test]
> \stoptext
>
> The second flow chart does not have $X_t$. Can someone tell what is going on?
>
> Aditya

m-charts.tex and mp-char.mp have not changed in 21 months. What else could 
have changed?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Flow charts forgetting text
  2007-11-03 23:17 Flow charts forgetting text Aditya Mahajan
  2007-11-03 23:22 ` Aditya Mahajan
@ 2007-11-04  0:03 ` Aditya Mahajan
  2007-11-05 16:49 ` Willi Egger
  2 siblings, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2007-11-04  0:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 3 Nov 2007, Aditya Mahajan wrote:

> Hi,
>
> Something is broken in flowcharts. If I typeset the same flowchart twice,
> the comments are missing from the second chart. For example
>
> \usemodule[chart]
> \setupFLOWcharts
>   [%option=test,
>    bodyfont=11pt,
>    nx=4,
>    ny=1,
>    offset=11pt,
>    dx=\bodyfontsize,
>    dy=0.65\bodyfontsize,
>    width=6\bodyfontsize,
>    height=2.5\bodyfontsize,
>   ]
> \startFLOWchart[test]
>   \startFLOWcell
>     \name       {source}
>     \location   {1,1}
>     \shape      {procedure}
>     \text       {Source}
>     \connection [rl]  {encoder}
>     \comment    [t]   {$X_t$}
>   \stopFLOWcell
>   \startFLOWcell
>     \name       {encoder}
>     \location   {2,1}
>     \shape      {procedure}
>     \text       {Encoder}
>   \stopFLOWcell
> \stopFLOWchart
>
> \starttext
> \FLOWchart[test] \input knuth \FLOWchart[test]
> \stoptext
>
> The second flow chart does not have $X_t$. Can someone tell what is going
> on?


This works....but something is really broken


\starttext
\FLOWcell[test]

\input knuth

\setvalue{\@@MPx1}{175.3406}
\setvalue{\@@MPy1}{62.46541}

\FLOWcell[test]
\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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Flow charts forgetting text
  2007-11-03 23:17 Flow charts forgetting text Aditya Mahajan
  2007-11-03 23:22 ` Aditya Mahajan
  2007-11-04  0:03 ` Aditya Mahajan
@ 2007-11-05 16:49 ` Willi Egger
  2007-11-05 17:44   ` Aditya Mahajan
  2007-11-07 18:21   ` Hans Hagen
  2 siblings, 2 replies; 7+ messages in thread
From: Willi Egger @ 2007-11-05 16:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Aditya,

Your code compiles correctly here. Well with the following version of  
Context

ConTeXt  ver: 2007.10.03 12:52 MKII  fmt: 2007.10.4  int: english/ 
english


Willi

On Nov 4, 2007, at 12:17 AM, Aditya Mahajan wrote:

> Hi,
>
> Something is broken in flowcharts. If I typeset the same flowchart  
> twice,
> the comments are missing from the second chart. For example
>
> \usemodule[chart]
> \setupFLOWcharts
>    [%option=test,
>     bodyfont=11pt,
>     nx=4,
>     ny=1,
>     offset=11pt,
>     dx=\bodyfontsize,
>     dy=0.65\bodyfontsize,
>     width=6\bodyfontsize,
>     height=2.5\bodyfontsize,
>    ]
> \startFLOWchart[test]
>    \startFLOWcell
>      \name       {source}
>      \location   {1,1}
>      \shape      {procedure}
>      \text       {Source}
>      \connection [rl]  {encoder}
>      \comment    [t]   {$X_t$}
>    \stopFLOWcell
>    \startFLOWcell
>      \name       {encoder}
>      \location   {2,1}
>      \shape      {procedure}
>      \text       {Encoder}
>    \stopFLOWcell
> \stopFLOWchart
>
> \starttext
> \FLOWchart[test] \input knuth \FLOWchart[test]
> \stoptext
>
> The second flow chart does not have $X_t$. Can someone tell what is  
> going
> on?
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ______________________________________________________________________ 
> _____________

Willi Egger
w.egger@boede.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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Flow charts forgetting text
  2007-11-05 16:49 ` Willi Egger
@ 2007-11-05 17:44   ` Aditya Mahajan
  2007-11-07 18:21   ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2007-11-05 17:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Willi,

On Mon, 5 Nov 2007, Willi Egger wrote:

> Your code compiles correctly here. Well with the following version of
> Context
>
> ConTeXt  ver: 2007.10.03 12:52 MKII  fmt: 2007.10.4  int: english/
> english


Thank you for checking this. Can you send me the pdf file off-list? I do 
not get a X_t in the second flowchart, either on my machine (MKII 09.28) 
or on contextgarden.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Flow charts forgetting text
  2007-11-05 16:49 ` Willi Egger
  2007-11-05 17:44   ` Aditya Mahajan
@ 2007-11-07 18:21   ` Hans Hagen
  2007-11-07 20:18     ` Aditya Mahajan
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2007-11-07 18:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Willi Egger wrote:
> Hi Aditya,
> 
> Your code compiles correctly here. Well with the following version of  
> Context
> 
> ConTeXt  ver: 2007.10.03 12:52 MKII  fmt: 2007.10.4  int: english/ 
> english

works here too


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Flow charts forgetting text
  2007-11-07 18:21   ` Hans Hagen
@ 2007-11-07 20:18     ` Aditya Mahajan
  0 siblings, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2007-11-07 20:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 7 Nov 2007, Hans Hagen wrote:

> Willi Egger wrote:
>> Hi Aditya,
>>
>> Your code compiles correctly here. Well with the following version of
>> Context
>>
>> ConTeXt  ver: 2007.10.03 12:52 MKII  fmt: 2007.10.4  int: english/
>> english
>
> works here too

I am confused. It does not work correctly here ( context version: 
2007.09.28 16:52 ) or the garden (ConTeXt  ver: 2007.10.03 12:52 MKII).

The file compiles, but the output is wrong. The first flowchart has a X_t 
between the source and the encoder, while the second one does not. Do you 
see a X_t in the second flowchart?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-07 20:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-03 23:17 Flow charts forgetting text Aditya Mahajan
2007-11-03 23:22 ` Aditya Mahajan
2007-11-04  0:03 ` Aditya Mahajan
2007-11-05 16:49 ` Willi Egger
2007-11-05 17:44   ` Aditya Mahajan
2007-11-07 18:21   ` Hans Hagen
2007-11-07 20:18     ` Aditya Mahajan

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).