* 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
* Re: FLOW chart module broken
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
0 siblings, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2011-11-27 20:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Willy,
I compiled your tex file: if you add \starttext and \stoptext, your file is compiled correctly… (both in mkii and mkiv, ConTeXt ver: 2011.11.25 13:29 MKIV fmt: 2011.11.25 int: english/english).
Best regards: OK
On 27 nov. 2011, at 16:15, Willi Egger wrote:
> 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
>
> <singlesectionbinding-flowchart.tex>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
%%%%%%%%%%%%%%%%%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex
Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44
Secrétariat: +33 1 39 25 46 46
e-mail: Otared.Kavian@math.uvsq.fr
___________________________________________________________________________________
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
* Re: FLOW chart module broken
2011-11-27 20:27 ` Otared Kavian
@ 2011-11-28 10:50 ` Willi Egger
2011-11-28 11:48 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2011-11-28 10:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Otared,
thanks for your testing!
hm, yes without \starttext and stoptext ... (this file is loaded in a larger context with \input), so I missed this, BAD!
Still this is very strange. I use the same version of Context as you did. Still I do not get the flowchart breaking over pages. I can restrict the number of cells in the \setupflowcharts command and get then accordingly a shorter piece of the chart but no following pages (the chart is about 2 pages long).
When setting the nx to some large number the flowchart is compiled, but there is only a single page of cells which is typeset beyond the lower margin.
Kind regards
Willi
On 27 Nov 2011, at 21:27, Otared Kavian wrote:
> Hi Willy,
>
> I compiled your tex file: if you add \starttext and \stoptext, your file is compiled correctly… (both in mkii and mkiv, ConTeXt ver: 2011.11.25 13:29 MKIV fmt: 2011.11.25 int: english/english).
>
> Best regards: OK
>
> On 27 nov. 2011, at 16:15, Willi Egger wrote:
>
>> 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
>>
>> <singlesectionbinding-flowchart.tex>___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>
> %%%%%%%%%%%%%%%%%%
> Otared Kavian
> Département de Mathématiques
> Université de Versailles Saint-Quentin
> Bâtiment Fermat
> 45 avenue des Etats Unis
> 78035 Versailles cedex
>
> Téléphone: +33 1 39 25 46 42
> Secrétariat: +33 1 39 25 46 44
> Secrétariat: +33 1 39 25 46 46
>
> e-mail: Otared.Kavian@math.uvsq.fr
>
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
* Re: FLOW chart module broken
2011-11-28 10:50 ` Willi Egger
@ 2011-11-28 11:48 ` Hans Hagen
2011-11-28 12:07 ` Willi Egger
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-11-28 11:48 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Willi Egger
On 28-11-2011 11:50, Willi Egger wrote:
> Hi Otared,
>
> thanks for your testing!
>
> hm, yes without \starttext and stoptext ... (this file is loaded in a larger context with \input), so I missed this, BAD!
>
> Still this is very strange. I use the same version of Context as you did. Still I do not get the flowchart breaking over pages. I can restrict the number of cells in the \setupflowcharts command and get then accordingly a shorter piece of the chart but no following pages (the chart is about 2 pages long).
> When setting the nx to some large number the flowchart is compiled, but there is only a single page of cells which is typeset beyond the lower margin.
What makes you expect that a chart breaks over pages?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: FLOW chart module broken
2011-11-28 11:48 ` Hans Hagen
@ 2011-11-28 12:07 ` Willi Egger
0 siblings, 0 replies; 5+ messages in thread
From: Willi Egger @ 2011-11-28 12:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans,
there is in the original version of this module a command \setupfFLOWsplit which precisely is meant for this. When calling the flow chart with \FLOWcharts[Eenkaternbinding] instead of \FLOWchart[Eenkaternbinding] it splitted over pages.
\setupFLOWsplit
[x=1,
y=1,
nx=6,
ny=7,
dx=1,
dy=1,
before=,
after=\page,
marking=off]
Willi
On 28 Nov 2011, at 12:48, Hans Hagen wrote:
> On 28-11-2011 11:50, Willi Egger wrote:
>> Hi Otared,
>>
>> thanks for your testing!
>>
>> hm, yes without \starttext and stoptext ... (this file is loaded in a larger context with \input), so I missed this, BAD!
>>
>> Still this is very strange. I use the same version of Context as you did. Still I do not get the flowchart breaking over pages. I can restrict the number of cells in the \setupflowcharts command and get then accordingly a shorter piece of the chart but no following pages (the chart is about 2 pages long).
>> When setting the nx to some large number the flowchart is compiled, but there is only a single page of cells which is typeset beyond the lower margin.
>
> What makes you expect that a chart breaks over pages?
>
> Hans
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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).