ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* FLOWchart module broken
@ 2011-12-26 13:00 Willi Egger
  2011-12-27 11:20 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2011-12-26 13:00 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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

Hi,

[-- Attachment #2: test-flowchart.tex --]
[-- Type: application/octet-stream, Size: 1863 bytes --]

% Context file
% Filename: test-flowchart.tex
% 
% 26-12-2011
% Copyright (c) 2011 BOEDE. All rights reserved.
%
% \nopdfcompression
% \enabletrackers[context.trace]
% \enabletrackers[system.jobfiles]


\setuppagenumbering[location=bottom]
\setuplayout
	[topspace=2.5cm,
	backspace=1.5cm,
	header=0pt,
	footer=1.5\bodyfontsize,
	height=middle,
	width=middle]
	
\mainlanguage[de]

\usemodule[chart]

\setupFLOWcharts
   [nx= 3,
    ny= 3,
    dx=\bodyfontsize,
    dy=\bodyfontsize,
    width=7\bodyfontsize,
    height=4\bodyfontsize]


\startFLOWchart[Aushebung]
   \startFLOWcell
    \name{Aush}
    \location{1,1}
    \text{Aushebung}
    \shape{action}
    \connection[rl]{Angenommen1}
   \stopFLOWcell

   \startFLOWcell
     \name{Angenommen1}
     \location{2,1}
     \text{Angenommen?}
     \shape{45} %decision
     \connection[tr]{AndRS}
     \connection[bt]{HfsRS}
     \connection[rl]{Kurs}
     \comment[tr]{Nein}
     \comment[rt]{Bed.}
     \comment[br]{Ja}
  \stopFLOWcell

    \startFLOWcell
    \name{Kurs}
    \location{3,1}
    \text{14 Tage Kurs}
    \shape{action}
    \connection[bt]{Angenommen2}
   \stopFLOWcell

   \startFLOWcell
    \name{Angenommen2}
    \location{3,2}
    \text{Angenommen?}
    \shape{45} %decision
    \connection[lt]{HfsRS}
    \connection[rr]{AndRS}
    \comment[lt]{Ja}
    \comment[rt]{Nein}
   \stopFLOWcell

   \startFLOWcell
    \name{HfsRS}
    \location{2,3}
    \text{Hfs RS}
    \shape{action}
   \stopFLOWcell

   \startFLOWcell
    \name{AndRS}
    \location{3,3}
    \text{Andere RS}
    \shape{action}
   \stopFLOWcell
\stopFLOWchart

\starttext

\FLOWchart[Aushebung]

\placefigure
    [here,middle]
    [flow:aushebung]
    {Aushebung des Militärhufschmiedes}
    {\FLOWchart[Aushebung]}

\stoptext

[-- Attachment #3: Type: text/plain, Size: 1096 bytes --]



The FLOW-chart module is broken at least since the version 22-12-2011 and still is in the version of 23-12-2011.

Please refer to the attached chart.

The MKIV run stops with the following error:

<argument> \doframed 
                    [flowcell:\getvariable {flowcell:text}{align}]{\getvari...
\firstoftwoarguments #1#2->#1

\@@su:flowcell:text:place:indeed ...:text}{text}}}
                                                 \endgroup 
\@@su:flowcell:text:place ...ll:text:place:indeed}
                                                 \fi \fi \endgroup 
\next1 #1,->\dosetups {#1}
                         \do_process_comma_item 
\do_process_comma_list ...m \gobbleoneargument #1,
                                                 ]\relax \global \advance \...
...
l.91

When running MKII on the attached file then I get a flow chart, where the cells are placed correctly. However the comments attached to the decision-cells are misplaced and the two  \comment[tr]{Nein} and  \comment[rt]{Bed.} are typeset on top of each other (see pdf).


Kind regards

Willi

[-- Attachment #4: test-flowchart.pdf --]
[-- Type: application/pdf, Size: 26956 bytes --]

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-12-27 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-26 13:00 FLOWchart module broken Willi Egger
2011-12-27 11:20 ` Wolfgang Schuster
2011-12-27 19:48   ` 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).