ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* FLOW chart module broken
@ 2011-11-27 15:15 Willi Egger
  2011-11-27 20:27 ` Otared Kavian
  0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2011-11-27 15:15 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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

Hi Hans,


unfortunately the FLOWchart module is broken. The breaking over pages does not seem to work. If there are too many cells for a page the compilation stops with a fatal error.

i installed the latest beta: ConTeXt  ver: 2011.11.25 21:29 MKIV  fmt: 2011.11.27  

\@@vars:flowcell:text:text ->Randje $\leq $
                                            1mm maken
<argument> ...]{\getvariable {flowcell:text}{text}
                                                  }
\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 
...
l.428 
      
? 
! Emergency stop.

I include the file I was trying to compile.

Kind regards

Willi


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

% Context file
% Filename: eenkaternbinding-stroomschema.tex
% 
% 24-01-2011
% Copyright (c) 2011 BOEDE. All rights reserved.


%\enablemode[A-vijf]
\usemodule[chart]

% \startmode[A-vijf]
%  \setuppapersize [A5][A5]
% \stopmode

\setupcolors[state=start]
\definecolor[gray-50][s=.675]

\setupFLOWcharts
     [x=1,
     y=1,
     nx=6,
     ny=15,
     dx=\bodyfontsize,
     dy=\bodyfontsize,
     width=8\bodyfontsize,
     height=3.7\bodyfontsize]

\setupFLOWsplit
    [x=1,
    y=1,
    nx=6,
    ny=7,
    dx=1,
    dy=1,
    before=,
    after=\page,
    marking=off]



\setupFLOWlines
	[color=black,
	 rulethickness=.75pt]

\setupFLOWshapes
	[framecolor=black,
	backgroundcolor=white,
	ruelthickness=.5pt]



\startFLOWchart[Eenkaternbinding] 
\startsetups flowcell
  \definelayer
    [flowcell]
    [width=\FLOWshapewidth,
     height=\FLOWshapeheight]
  \setlayerframed
    [flowcell]
    [preset=rightbottom,offset=-2.75ex]
    [frame=off]
    {\tx\headnumber[section].\FLOWx.\FLOWy}
\stopsetups


\startFLOWcell
    \name{BEGIN}
    \location {2,1}
    \shape{procedure}
    \text{Begin\crlf
		   Eenkaternbinding}
    \connection [bt]{Hulpkatern}
   \stopFLOWcell

   \startFLOWcell
    \name{Hulpkaternpapier}
    \location {-1,+1}
    \shape{product}
    \text{Papier voor de hulpkatern}
    \connection[rl]{Hulpkatern}
   \stopFLOWcell

   \startFLOWcell
    \name{Hulpkatern}
    \location {+1,+0}
    \shape{action}
    \text{Om brochure vouwen}
    \connection[bt]{Naaien}
   \stopFLOWcell

   \startFLOWcell
    \name{Naaien}
    \location {+0,+1}
    \shape{action}
    \text{Met twee cahiersteken vastnaaien}
    \connection[bt]{Terugvouwen}
   \stopFLOWcell

   \startFLOWcell
    \name{Terugvouwen}
    \location {+0,+1}
    \shape{action}
    \text{Hulpkatern openvouwen}
    \connection[bt]{Hulpkaternplakken}
   \stopFLOWcell

   \startFLOWcell
    \name{Stijfselhulpkatern}
    \location {-1,+1}
    \shape{product}
    \text{W. lijm, stijfsel of PVA}
    \connection[rl]{Hulpkaternplakken}
   \stopFLOWcell

   \startFLOWcell
    \name{Hulpkaternplakken}
    \location {+1,+0}
    \shape{action}
    \text{Hulpkatern dichtplakken}
    \connection[bt]{Persen}
   \stopFLOWcell

   \startFLOWcell
    \name{Persen}
    \location {+0,+1}
    \shape{action}
    \text{Persen}
    \connection[bt]{Morsvellenopplakken}
   \stopFLOWcell

   \startFLOWcell
    \name{Morsvel}
    \location {-1,+1}
    \shape{product}
    \text{Kraftpapier}
    \connection[rl]{Morsvellenopplakken}
   \stopFLOWcell

   \startFLOWcell
    \name{Morsvellenopplakken}
    \location {+1,+0}
    \shape{action}
    \text{Morsvellen plakken}
    \connection[bt]{Versterkingstrook}
   \stopFLOWcell

   \startFLOWcell
    \name{Versterkingstrook}
    \location {+0,+1}
    \shape{action}
    \text{Versterkingsstrook aanbrengen}
    \connection[bt]{Morsvellenterugvouwen}
   \stopFLOWcell

   \startFLOWcell
    \name{CommentIV}
    \location {+1,+0}
    \shape{comment}
    \text{Opplakrichting als het morsvel}
   \stopFLOWcell
   
   \startFLOWcell
    \name{Morsvellenterugvouwen}
    \location {-1,+1}
    \shape{action}
    \text{Morsvellen terugvouwen}
    \connection[bt]{Schutbladenopplakken}
   \stopFLOWcell

   \startFLOWcell
    \name{Schutblad}
    \location {-1,+1}
    \shape{product}
    \text{Dubbel schutblad\\ H = H\low{brochure}\\ B = B\low{brochure} + 1cm}
    \connection[rl]{Schutbladenopplakken}
   \stopFLOWcell

   \startFLOWcell
    \name{Schutbladenopplakken}
    \location {+1,+0}
    \shape{action}
    \text{Schutbladen opplakken}
    \connection[bt]{MorsvellenterugvouwenII}
   \stopFLOWcell

   \startFLOWcell
    \name{CommentIII}
    \location {+1,+0}
    \shape{comment}
    \text{Bijv. BD + 1 mm breed oplijmen met PVA}
   \stopFLOWcell

   \startFLOWcell
    \name{MorsvellenterugvouwenII}
    \location {-1,+1}
    \shape{action}
    \text{Morsvellen terugvouwen over schutbladen}
    \connection[bt]{Schutbladenrechtopzetten}
   \stopFLOWcell

   \startFLOWcell
    \name{Schutbladenrechtopzetten}
    \location {+0,+1}
    \shape{action}
    \text{Schutbladen recht op zetten}
    \connection[bt]{Plattenopzetten}
   \stopFLOWcell

   \startFLOWcell
    \name{CommentI}
    \location {+1,+0}
    \shape{comment}
    \text{Randje < (max.) BD maken}
   \stopFLOWcell

   \startFLOWcell
    \name{Plat}
    \location {-2,+1}
    \shape{product}
    \text{Platten}
    \connection[rl]{Plattenopzetten}
   \stopFLOWcell

   \startFLOWcell
    \name{Plattenopzetten}
    \location {+1,+0}
    \shape{action}
    \text{Platten opzetten}
    \connection[bt]{PersenII}
   \stopFLOWcell

   \startFLOWcell
    \name{CommentV}
    \location {+1,+0}
    \shape{comment}
    \text{Aan kneepkant hoekje verwijderen, platten ca. 2 cm breed insmeren met PVA}
   \stopFLOWcell

   \startFLOWcell
    \name{PersenII}
    \location {-1,+1}
    \shape{action}
    \text{Kort persen}
    \connection[bt]{Hulpkaterninkorten}
   \stopFLOWcell

   \startFLOWcell
    \name{Hulpkaterninkorten}
    \location {+0,+1}
    \shape{action}
    \text{Hulpkatern inkorten}
    \connection[bt]{Opvullen}
   \stopFLOWcell

   \startFLOWcell
    \name{CommentII}
    \location {+1,+0}
    \shape{comment}
    \text{Randje $\leq$ 1mm maken}
   \stopFLOWcell

   \startFLOWcell
    \name{Vlas}
    \location {-2,+1}
    \shape{product}
    \text{Vlas streng}
    \connection[rl]{Opvullen}
   \stopFLOWcell

   \startFLOWcell
    \name{Opvullen}
    \location {+1,+0}
    \shape{action}
    \text{Opvullen voor ronding rug}
    \connection[bt]{Overlijmen}
   \stopFLOWcell

   \startFLOWcell
    \name{Overlijmen}
    \location {+0,+1}
    \shape{action}
    \text{Overlijmen}
    \connection[bt]{Drogen}
   \stopFLOWcell

   \startFLOWcell
    \name{Drogen}
    \location {+0,+1}
    \shape{action}
    \text{Drogen}
    \connection[bt]{Kapitalen}
   \stopFLOWcell

   \stopFLOWchart
   \startFLOWchart[B]


   \startFLOWcell
    \name{Kapitaal}
    \location {-1,+1}
    \shape{product}
    \text{Kapitaal}
    \connection[rl]{Kapitalen}
   \stopFLOWcell

   \startFLOWcell
    \name{Kapitalen}
    \location {+1,+0}
    \shape{action}
    \text{Kapitalen aanbrengen}
    \connection[bt]{Uitvullen}
   \stopFLOWcell

   \startFLOWcell
    \name{Uitvullen}
    \location {+0,+1}
    \shape{action}
    \text{Tussen de kapitalen uitvullen}
    \connection[bt]{SchurenI}
   \stopFLOWcell

   \startFLOWcell
    \name{SchurenI}
    \location {+0,+1}
    \shape{action}
    \text{Schuren}
    \connection[bt]{Plattenbomberen}
   \stopFLOWcell

   \startFLOWcell
    \name{Plattenbomberen}
    \location {+0,+1}
    \shape{action}
    \text{Platten bomberen}
    \connection[bt]{Rugopbrengen}
   \stopFLOWcell

   \startFLOWcell
    \name{Ruggebord}
    \location {-1,+1}
    \shape{product}
    \text{Ruggebord}
    \connection[rl]{Rugopbrengen}
   \stopFLOWcell

   \startFLOWcell
    \name{Rugopbrengen}
    \location {+1,+0}
    \shape{action}
    \text{Ruggetje ronden en opplakken}
    \connection[bt]{SchurenII}
   \stopFLOWcell

   \startFLOWcell
    \name{CommentVI}
    \location {+1,+0}
    \shape{comment}
    \text{Kop en staart 2 cm niet lijmen, ev. zwachtelen met rekverband}
   \stopFLOWcell

   \startFLOWcell
    \name{SchurenII}
    \location {-1,+1}
    \shape{action}
    \text{Randen schuren}
    \connection[bt]{Opensnijdenkraft}
   \stopFLOWcell

   \startFLOWcell
    \name{Opensnijdenkraft}
    \location {+0,+1}
    \shape{action}
    \text{Kraftpapier ca. 2cm opensnijden}
    \connection[bt]{Verwijderenkraft}
   \stopFLOWcell

   \startFLOWcell
    \name{Verwijderenkraft}
    \location {+0,+1}
    \shape{action}
    \text{Verwijderen van kraftpapier}
    \connection[bt]{Bekleden}
   \stopFLOWcell

   \startFLOWcell
    \name{Bekleden}
    \location {+0,+1}
    \shape{action}
    \text{Bekleden naar wens}
    \connection[bt]{Schutbladenaanplakken}
   \stopFLOWcell

   \startFLOWcell
    \name{Schutbladenaanplakken}
    \location {+0,+1}
    \shape{action}
    \text{Schutbladen aanplakken}
    \connection[bt]{Decoreren}
   \stopFLOWcell

   \startFLOWcell
    \name{Decoreren}
    \location {+0,+1}
    \shape{action}
    \text{Decoratie, titel aanbrengen}
    \connection[bt]{EINDE}
   \stopFLOWcell

   \startFLOWcell
    \name{EINDE}
    \location {+0,+1}
    \shape{procedure}
    \text{Einde}
   \stopFLOWcell

\stopFLOWchart

\doifmodeelse{A-vijf}
	{\section{Een-katernbinding als stroomschema}}
	{\subject{\bf Een-katernbinding}}
	
	
	Gebaseerd op het artikel van Loek de la Haye. Vouwbeen.  Jg. 16. No. 1. 2005. p. 4-7.
	
	Door Willi Egger
	\blank
\FLOWcharts[Eenkaternbinding]

\page

[-- Attachment #3: 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] 5+ messages in thread

end of thread, other threads:[~2011-11-28 12:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-27 15:15 FLOW chart module broken Willi Egger
2011-11-27 20:27 ` Otared Kavian
2011-11-28 10:50   ` Willi Egger
2011-11-28 11:48     ` Hans Hagen
2011-11-28 12:07       ` 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).