ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Waller <davidwaller1@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Charts
Date: Wed, 6 Apr 2005 19:06:23 +0100	[thread overview]
Message-ID: <23d0689705040611067ff4e97a@mail.gmail.com> (raw)
In-Reply-To: <42541709.3020401@boede.nl>

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 <w.egger@boede.nl> 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 <w.egger@boede.nl> 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
>

  reply	other threads:[~2005-04-06 18:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-04 20:28 Charts David Waller
2005-04-04 20:47 ` Charts Willi Egger
2005-04-05 19:59   ` Charts David Waller
2005-04-05 20:39     ` Charts Patrick Gundlach
2005-04-06 17:06     ` Charts Willi Egger
2005-04-06 18:06       ` David Waller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-21 22:58 charts Thomas Lohmann
2001-08-22 12:29 ` charts Hans Hagen
2000-01-10 14:53 Undefined control sequence guravage
2000-01-10 19:56 ` Charts Slawek Zak
2000-01-10 20:47   ` Charts Berend de Boer
2000-01-11  9:32     ` Charts Hans Hagen
2000-01-11 16:07       ` Charts Slawek Zak
2000-01-11 16:07         ` Charts Hans Hagen
2000-01-11 18:23           ` Charts Slawek Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23d0689705040611067ff4e97a@mail.gmail.com \
    --to=davidwaller1@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).