ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* old charts bug
@ 2004-05-05 16:09 Henning Hraban Ramm
  2004-05-14 19:45 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2004-05-05 16:09 UTC (permalink / raw)


Hi Hans et al!

As I changed some older charts today and installed the latest beta
I recognized that an old bug isn't fixed yet:

Any \connection[bb]{something} leads to an error.

Could you please look into it?


Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

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

* Re: old charts bug
  2004-05-05 16:09 old charts bug Henning Hraban Ramm
@ 2004-05-14 19:45 ` Hans Hagen
  2004-05-15  0:09   ` Henning Hraban Ramm
  2004-05-15 15:14   ` Willi Egger
  0 siblings, 2 replies; 12+ messages in thread
From: Hans Hagen @ 2004-05-14 19:45 UTC (permalink / raw)


At 18:09 05/05/2004, you wrote:
>Hi Hans et al!
>
>As I changed some older charts today and installed the latest beta
>I recognized that an old bug isn't fixed yet:
>
>Any \connection[bb]{something} leads to an error.
>
>Could you please look into it?


sure, can you make me a small exampl;e file?

Hans

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

* Re: old charts bug
  2004-05-14 19:45 ` Hans Hagen
@ 2004-05-15  0:09   ` Henning Hraban Ramm
  2004-05-17  6:44     ` Hans Hagen
  2004-05-15 15:14   ` Willi Egger
  1 sibling, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2004-05-15  0:09 UTC (permalink / raw)



Am Freitag, 14.05.04, um 21:45 Uhr (Europe/Zurich) schrieb Hans Hagen:
>> Any \connection[bb]{something} leads to an error.
>> Could you please look into it?
> sure, can you make me a small exampl;e file?

Here you are:

\starttext
\usemodule		[chart]
\startFLOWchart[test]
	\startFLOWcell
		\name		{eins}
		\location	{1,1}
		\text		{eins}
		\connection[bb]{zwei}
	\stopFLOWcell
	\startFLOWcell
		\name		{zwei}
		\location	{2,1}
		\text		{zwei}
	\stopFLOWcell
\stopFLOWchart
\FLOWchart[test]
\stoptext

Every other connection that's not from bottom to bottom does work.
Thanks for your work!

Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

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

* Re: old charts bug
  2004-05-14 19:45 ` Hans Hagen
  2004-05-15  0:09   ` Henning Hraban Ramm
@ 2004-05-15 15:14   ` Willi Egger
  1 sibling, 0 replies; 12+ messages in thread
From: Willi Egger @ 2004-05-15 15:14 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

Hoi Hans,

though not originally posted by me, please find attached the requested 
minimal file. - I had it because I trie it when Hraban posted the bug.

Kind regards Willi

Hans Hagen wrote:
> At 18:09 05/05/2004, you wrote:
> 
>> Hi Hans et al!
>>
>> As I changed some older charts today and installed the latest beta
>> I recognized that an old bug isn't fixed yet:
>>
>> Any \connection[bb]{something} leads to an error.
>>
>> Could you please look into it?
> 
> 
> 
> sure, can you make me a small exampl;e file?
> 
> Hans
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

[-- Attachment #2: b-b-connection.tex --]
[-- Type: text/plain, Size: 479 bytes --]

% minimal file concerning bug in chart-module
% originallly posted by Henning Rhaban
% W. Egger
% 15.4.2004
\setupoutput[pdftex]
\usemodule[chart]

\startFLOWchart[test]
\startFLOWcell
   \name{BEGIN}
   \location{2,1}
   \shape{action}
   \text{Begin}
   \connection[b,b]{EINDE} %\connection[b,b] gives an error!
\stopFLOWcell

\startFLOWcell
   \name{EINDE}
   \location{3,1}
   \shape{action}
   \text{Einde}
\stopFLOWcell
\stopFLOWchart

\starttext
\FLOWchart[test]
\stoptext

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

* Re: old charts bug
  2004-05-15  0:09   ` Henning Hraban Ramm
@ 2004-05-17  6:44     ` Hans Hagen
  2004-05-17 11:28       ` Willi Egger
  2004-05-17 17:01       ` Henning Hraban Ramm
  0 siblings, 2 replies; 12+ messages in thread
From: Hans Hagen @ 2004-05-17  6:44 UTC (permalink / raw)


At 02:09 15/05/2004, Henning Hraban Ramm wrote:

>Am Freitag, 14.05.04, um 21:45 Uhr (Europe/Zurich) schrieb Hans Hagen:
>>>Any \connection[bb]{something} leads to an error.
>>>Could you please look into it?
>>sure, can you make me a small exampl;e file?
>
>Here you are:
>
>\starttext
>\usemodule              [chart]
>\startFLOWchart[test]
>         \startFLOWcell
>                 \name           {eins}
>                 \location       {1,1}
>                 \text           {eins}
>                 \connection[bb]{zwei}
>         \stopFLOWcell
>         \startFLOWcell
>                 \name           {zwei}
>                 \location       {2,1}
>                 \text           {zwei}
>         \stopFLOWcell
>\stopFLOWchart
>\FLOWchart[test]
>\stoptext
>
>Every other connection that's not from bottom to bottom does work.
>Thanks for your work!

in mp-char.mp you should patch:

    %%%% begin experiment
     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;

                                        ^^^^^^^^^

Hans  

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

* Re: old charts bug
  2004-05-17  6:44     ` Hans Hagen
@ 2004-05-17 11:28       ` Willi Egger
  2004-05-17 17:01       ` Henning Hraban Ramm
  1 sibling, 0 replies; 12+ messages in thread
From: Willi Egger @ 2004-05-17 11:28 UTC (permalink / raw)


Hi Hans,

Thanks, it works correctly.

Willi

Hans Hagen wrote:
> At 02:09 15/05/2004, Henning Hraban Ramm wrote:
> 
>> Am Freitag, 14.05.04, um 21:45 Uhr (Europe/Zurich) schrieb Hans Hagen:
>>
>>>> Any \connection[bb]{something} leads to an error.
>>>> Could you please look into it?
>>>
>>> sure, can you make me a small exampl;e file?
>>
>>
>> Here you are:
>>
>> \starttext
>> \usemodule              [chart]
>> \startFLOWchart[test]
>>         \startFLOWcell
>>                 \name           {eins}
>>                 \location       {1,1}
>>                 \text           {eins}
>>                 \connection[bb]{zwei}
>>         \stopFLOWcell
>>         \startFLOWcell
>>                 \name           {zwei}
>>                 \location       {2,1}
>>                 \text           {zwei}
>>         \stopFLOWcell
>> \stopFLOWchart
>> \FLOWchart[test]
>> \stoptext
>>
>> Every other connection that's not from bottom to bottom does work.
>> Thanks for your work!
> 
> 
> in mp-char.mp you should patch:
> 
>    %%%% begin experiment
>     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
>     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
> 
>                                        ^^^^^^^^^
> 
> Hans 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: old charts bug
  2004-05-17  6:44     ` Hans Hagen
  2004-05-17 11:28       ` Willi Egger
@ 2004-05-17 17:01       ` Henning Hraban Ramm
  2004-05-18  6:35         ` Hans Hagen
  1 sibling, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2004-05-17 17:01 UTC (permalink / raw)



Am Montag, 17.05.04, um 08:44 Uhr (Europe/Zurich) schrieb Hans Hagen:
> in mp-char.mp you should patch:
>
>    %%%% begin experiment
>     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
>     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
>
>                                        ^^^^^^^^^

Huh?
Exactly the same is already in there:
     %%%% begin experiment
     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
     if dsp_y>0 :
       xypoints[2] := xypoints[2] shifted (0,dsp_y) ;
       xypoints[3] := xypoints[3] shifted (0,dsp_y) ;
     elseif dsp_y<0 :
       xypoints[4] := xypoints[4] shifted (0,dsp_y) ;
       xypoints[5] := xypoints[5] shifted (0,dsp_y) ;
     fi
     %%%% end experiment

And no wonder I get the same error (Bad transformation argument).



Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

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

* Re: old charts bug
  2004-05-17 17:01       ` Henning Hraban Ramm
@ 2004-05-18  6:35         ` Hans Hagen
  2004-05-18  9:22           ` Holger Schöner
                             ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Hans Hagen @ 2004-05-18  6:35 UTC (permalink / raw)


At 19:01 17/05/2004, you wrote:

>Am Montag, 17.05.04, um 08:44 Uhr (Europe/Zurich) schrieb Hans Hagen:
>>in mp-char.mp you should patch:
>>
>>    %%%% begin experiment
>>     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
>>     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
>>
>>                                        ^^^^^^^^^
>
>Huh?
>Exactly the same is already in there:
>     %%%% begin experiment
>     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
>     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
>     if dsp_y>0 :
>       xypoints[2] := xypoints[2] shifted (0,dsp_y) ;
>       xypoints[3] := xypoints[3] shifted (0,dsp_y) ;
>     elseif dsp_y<0 :
>       xypoints[4] := xypoints[4] shifted (0,dsp_y) ;
>       xypoints[5] := xypoints[5] shifted (0,dsp_y) ;
>     fi
>     %%%% end experiment
>
>And no wonder I get the same error (Bad transformation argument).

Are you sure that that file is used?

Hans

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

* Re: old charts bug
  2004-05-18  6:35         ` Hans Hagen
@ 2004-05-18  9:22           ` Holger Schöner
  2004-05-18 18:56             ` Henning Hraban Ramm
  2004-05-18 12:28           ` Willi Egger
  2004-05-18 18:51           ` Henning Hraban Ramm
  2 siblings, 1 reply; 12+ messages in thread
From: Holger Schöner @ 2004-05-18  9:22 UTC (permalink / raw)


Hi,

On Tue, 18 May 2004, Hans Hagen wrote:
> At 19:01 17/05/2004, you wrote:
> >Am Montag, 17.05.04, um 08:44 Uhr (Europe/Zurich) schrieb Hans Hagen:
> >>in mp-char.mp you should patch:
> >>
> >>    %%%% begin experiment
> >>     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
> >>     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
> >>
> >>                                        ^^^^^^^^^
> >
> >Huh?
> >Exactly the same is already in there:
> >     %%%% begin experiment
> >     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
> >     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
> >     if dsp_y>0 :
> >       xypoints[2] := xypoints[2] shifted (0,dsp_y) ;
> >       xypoints[3] := xypoints[3] shifted (0,dsp_y) ;
> >     elseif dsp_y<0 :
> >       xypoints[4] := xypoints[4] shifted (0,dsp_y) ;
> >       xypoints[5] := xypoints[5] shifted (0,dsp_y) ;
> >     fi
> >     %%%% end experiment
> >
> >And no wonder I get the same error (Bad transformation argument).
> 
> Are you sure that that file is used?

It is the same file. But the described location occurs two times, first time 
without the error, the second time with the error (the second time the ",0" 
misses, I think). I wondered a little yesterday as well ...

All the best,

-- 
Holger F. Schoener	TU Berlin; Dept. IV: EE and Computer Science
hfsch@cs.tu-berlin.de	http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525		Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1		Franklinstr. 28/29, D-10587 Berlin, Germany

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

* Re: old charts bug
  2004-05-18  6:35         ` Hans Hagen
  2004-05-18  9:22           ` Holger Schöner
@ 2004-05-18 12:28           ` Willi Egger
  2004-05-18 18:51           ` Henning Hraban Ramm
  2 siblings, 0 replies; 12+ messages in thread
From: Willi Egger @ 2004-05-18 12:28 UTC (permalink / raw)


Hoi Hraban,

I was able to fix the problem. Please be shure to search the whole file! 
  As I think, there is more than one place to patch.

Willi

Hans Hagen wrote:
> At 19:01 17/05/2004, you wrote:
> 
>> Am Montag, 17.05.04, um 08:44 Uhr (Europe/Zurich) schrieb Hans Hagen:
>>
>>> in mp-char.mp you should patch:
>>>
>>>    %%%% begin experiment
>>>     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
>>>     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
>>>
>>>                                        ^^^^^^^^^
>>
>>
>> Huh?
>> Exactly the same is already in there:
>>     %%%% begin experiment
>>     xypoints[3] := xypoints[3] shifted (dsp_x,0) ;
>>     xypoints[4] := xypoints[4] shifted (dsp_x,0) ;
>>     if dsp_y>0 :
>>       xypoints[2] := xypoints[2] shifted (0,dsp_y) ;
>>       xypoints[3] := xypoints[3] shifted (0,dsp_y) ;
>>     elseif dsp_y<0 :
>>       xypoints[4] := xypoints[4] shifted (0,dsp_y) ;
>>       xypoints[5] := xypoints[5] shifted (0,dsp_y) ;
>>     fi
>>     %%%% end experiment
>>
>> And no wonder I get the same error (Bad transformation argument).
> 
> 
> Are you sure that that file is used?
> 
> Hans
> 
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: old charts bug
  2004-05-18  6:35         ` Hans Hagen
  2004-05-18  9:22           ` Holger Schöner
  2004-05-18 12:28           ` Willi Egger
@ 2004-05-18 18:51           ` Henning Hraban Ramm
  2 siblings, 0 replies; 12+ messages in thread
From: Henning Hraban Ramm @ 2004-05-18 18:51 UTC (permalink / raw)



Am Dienstag, 18.05.04, um 08:35 Uhr (Europe/Zurich) schrieb Hans Hagen:
>> And no wonder I get the same error (Bad transformation argument).
> Are you sure that that file is used?

Good question.
But that's the one kpsewhich finds.



Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

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

* Re: old charts bug
  2004-05-18  9:22           ` Holger Schöner
@ 2004-05-18 18:56             ` Henning Hraban Ramm
  0 siblings, 0 replies; 12+ messages in thread
From: Henning Hraban Ramm @ 2004-05-18 18:56 UTC (permalink / raw)



Am Dienstag, 18.05.04, um 11:22 Uhr (Europe/Zurich) schrieb Holger 
Schöner:
> It is the same file. But the described location occurs two times, 
> first time
> without the error, the second time with the error (the second time the 
> ",0"
> misses, I think). I wondered a little yesterday as well ...

Oh, you are right. I missed that.
Sorry, that I was too short-sighted.
After re-making metafun it works now.
Thank you!


Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

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

end of thread, other threads:[~2004-05-18 18:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-05 16:09 old charts bug Henning Hraban Ramm
2004-05-14 19:45 ` Hans Hagen
2004-05-15  0:09   ` Henning Hraban Ramm
2004-05-17  6:44     ` Hans Hagen
2004-05-17 11:28       ` Willi Egger
2004-05-17 17:01       ` Henning Hraban Ramm
2004-05-18  6:35         ` Hans Hagen
2004-05-18  9:22           ` Holger Schöner
2004-05-18 18:56             ` Henning Hraban Ramm
2004-05-18 12:28           ` Willi Egger
2004-05-18 18:51           ` Henning Hraban Ramm
2004-05-15 15:14   ` Willi Egger

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