From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19655 Path: news.gmane.org!not-for-mail From: David Waller Newsgroups: gmane.comp.tex.context Subject: Re: Charts Date: Wed, 6 Apr 2005 19:06:23 +0100 Message-ID: <23d0689705040611067ff4e97a@mail.gmail.com> References: <23d0689705040413285bb89580@mail.gmail.com> <4251A7F7.2090505@boede.nl> <23d06897050405125959db132d@mail.gmail.com> <42541709.3020401@boede.nl> Reply-To: David Waller , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112810708 5918 80.91.229.2 (6 Apr 2005 18:05:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2005 18:05:08 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 06 20:05:01 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJEt5-00011I-KN for gctc-ntg-context-518@m.gmane.org; Wed, 06 Apr 2005 20:04:23 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4A8F11285C; Wed, 6 Apr 2005 20:06:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22243-07; Wed, 6 Apr 2005 20:06:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3CADF12854; Wed, 6 Apr 2005 20:06:28 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30A2812854 for ; Wed, 6 Apr 2005 20:06:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22426-02 for ; Wed, 6 Apr 2005 20:06:25 +0200 (CEST) Original-Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by ronja.ntg.nl (Postfix) with ESMTP id AECED12853 for ; Wed, 6 Apr 2005 20:06:24 +0200 (CEST) Original-Received: by wproxy.gmail.com with SMTP id 58so352065wri for ; Wed, 06 Apr 2005 11:06:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=eNPNccoDz+BQWv+FgSwigq81fcJXGPwPdGsGOQPlzxowmRArA1V1CQrJVE265wcOJqasP2o/OgGmKq8GJICUv0tSfn/mX88CNyCMGB3+74/sC4KMakR+1PlWp3Ult9LMpMXegGNVees/Ta4S8qi/xbFOENLluyvlv1Z0IF37QxI= Original-Received: by 10.54.42.3 with SMTP id p3mr199587wrp; Wed, 06 Apr 2005 11:06:23 -0700 (PDT) Original-Received: by 10.54.39.50 with HTTP; Wed, 6 Apr 2005 11:06:23 -0700 (PDT) Original-To: Willi Egger In-Reply-To: <42541709.3020401@boede.nl> X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19655 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19655 Thanks for your help. I suspect I would have been a long time spotting it was \FLOWcharts and not \FLOWchart Thanks again On Apr 6, 2005 6:06 PM, Willi Egger wrote: > Hi David, > > As Patrick posted on the list, you can use the placefloat mechanism to > get the whole chart splitted over several pages. In this case you will > not be able to use interactivity within the chart. > > I feel, that you want to split the chart over two pages. So you need to use > > \FLOWcharts[...] (plural) > ^ > Use \showframe to see the actual margins, header and footer. You will > have to play with the different parameters to make things fit. E.g. > there is no room for 8 shapes on a A4 if you do not change the > page-layout. Though it works with 7 shapes. If you want that the text > follows directly the FLOWchart, then you need to withdraw the > after=\page. You might want to increase the space between chart and text > by e.g. after={\blank[3*big]}. > > I hope this will help solving your problem > > Willi > > David Waller wrote: > > Hi Willi, > > Thanks for your comments, unfortunately this still hasn't helped me. I > > enclose below a simple sample that shows the problem. Any advice > > please? > > > > % interface=en output=pdftex > > > > \usemodule[chart] > > \setupFLOWcharts > > [x=1, > > y=1, > > nx=5, > > ny=9, > > dx=\bodyfontsize, > > dy=\bodyfontsize, > > width=6\bodyfontsize, > > height=4\bodyfontsize] > > > > \setupFLOWsplit > > [x=1, > > y=1, > > nx=5, > > ny=8, > > dx=1, > > dy=1, > > before=, > > after=\page, > > marking=on] > > > > \startFLOWchart [place-st-low] > > \startFLOWcell > > \name {start} > > \location {1,1} > > \shape {procedure} > > \text {Straight} > > \connection [bt] {1} > > \stopFLOWcell > > \startFLOWcell > > \name {1} > > \location {1,2} > > \shape {wait} > > \text {Place} > > \connection [bt] {20} > > \stopFLOWcell > > \startFLOWcell > > \name {20} > > \location {1,3} > > \shape {wait} > > \text { point} > > \connection [bt] {2} > > \stopFLOWcell > > \startFLOWcell > > \name {2} > > \location {1,4} > > \shape {12} > > \text {User} > > \connection [bt] {3} > > \stopFLOWcell > > \startFLOWcell > > \name {3} > > \location {1,5} > > \shape {sub procedure} > > \text {Start} > > \connection [bt] {4} > > \connection [rr] {2} > > \stopFLOWcell > > \startFLOWcell > > \name {4} > > \location {1,6} > > \shape {decision} > > \text {new} > > \connection [bt] {5} > > \connection [rl] {4a} > > \stopFLOWcell > > \startFLOWcell > > \name {4a} > > \location {2,6} > > \shape {action} > > \text {Automatically} > > \connection [bt] {7} > > \stopFLOWcell > > \startFLOWcell > > \name {5} > > \location {1,7} > > \shape {12} > > \text {User} > > \connection [bt] {6} > > \stopFLOWcell > > \startFLOWcell > > \name {6} > > \location {1,8} > > \shape {sub procedure} > > \text {Start distance} > > \connection [bt] {7} > > \connection [rr] {5} > > \stopFLOWcell > > \startFLOWcell > > \name {7} > > \location {1,9} > > \shape {wait} > > \text {Reset} > > \connection [bt] {8} > > \stopFLOWcell > > \startFLOWcell > > \name {8} > > \location {1,10} > > \shape {12} > > \text {User} > > \connection [bt] {9} > > \stopFLOWcell > > \startFLOWcell > > \name {9} > > \location {1,11} > > \shape {sub procedure} > > \text {distance validation} > > \connection [bt] {10} > > \connection [rr] {8} > > \stopFLOWcell > > \startFLOWcell > > \name {10} > > \location {1,12} > > \shape {action} > > \text {LOW is placed} > > \connection [lr] {1a} > > \stopFLOWcell > > \stopFLOWchart > > > > \starttext > > > > Some text to start it all off > > > > \FLOWchart[place-st-low] > > > > Now we want some text so that it looks like their is actually some > > more text at the end. > > > > \stoptext > > > > Thanks > > David Waller > > > > > > On Apr 4, 2005 9:47 PM, Willi Egger wrote: > > > >>Hi David, > >> > >>If I remember correctly one should not use the \maxwidth option. > >>Personally I have at this moment work under hand using the following setup: > >> > >>\setupFLOWcharts > >> [x=1, > >> y=1, > >> nx=5, > >> ny=11, > >> dx=\bodyfontsize, > >> dy=\bodyfontsize, > >> width=6\bodyfontsize, > >> height=4\bodyfontsize] > >> > >> \setupFLOWsplit > >> [x=1, > >> y=1, > >> nx=5, > >> ny=10, > >> dx=1, > >> dy=1, > >> before=, > >> after=\page, > >> marking=off] > >> > >>This works perfectly even with charts consuming multiple pages. > >> > >>Kind regards Willi > >> > >>David Waller wrote: > >> > >>>Hello, > >>>I am using the charts module as part of context to produce flowcharts > >>>and I am having problems when the flowchart goes above a page in that > >>>I can't get the system to automatically split the chart. > >>>I have the following setup commands in my context file > >>> > >>>\usemodule[chart] > >>>\setupFLOWcharts[maxwidth=\textwidth, nx=4] > >>>\setupFLOWsplit[ny=9, before=, after=\page] > >>> > >>>based upon the manual. I then use the command > >>>\FLOWcharts [bigchart] > >>> > >>>later in the document and the flowchart does not split, instead it > >>>runs off the bottom of the page. I have also tried using \splitfloat > >>>with no success either. > >>> > >>>I am running > >>> TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005 > >>> > >>>Kpathsea released! > >>> texexec : TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005 > >>> texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 > >>> tex : pdfeTeX, 3.141592-1.20a-2.2 (Web2c 7.5.3) > >>> context : ver: 2005.03.16 > >>> cont-en : ver: 2005.03.16 fmt: 2005.3.20 mes: english > >>> cont-cz : ver: 2005.03.16 fmt: 2005.3.20 mes: english > >>> cont-de : ver: 2005.03.16 fmt: 2005.3.20 mes: english > >>> cont-it : ver: 2005.03.16 fmt: 2005.3.20 mes: english > >>> cont-nl : ver: 2005.03.16 fmt: 2005.3.20 mes: dutch > >>> cont-ro : ver: 2005.03.16 fmt: 2005.3.20 mes: dutch > >>> cont-uk : ver: 2005.03.16 fmt: 2005.3.20 mes: dutch > >>> > >>>Any help please > >>> > >>>Thanks > >>>Dave Waller > >>>_______________________________________________ > >>>ntg-context mailing list > >>>ntg-context@ntg.nl > >>>http://www.ntg.nl/mailman/listinfo/ntg-context > >> > > _______________________________________________ > > ntg-context mailing list > > ntg-context@ntg.nl > > http://www.ntg.nl/mailman/listinfo/ntg-context >