ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Charts
@ 2005-04-04 20:28 David Waller
  2005-04-04 20:47 ` Charts Willi Egger
  0 siblings, 1 reply; 14+ messages in thread
From: David Waller @ 2005-04-04 20:28 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2005-04-04 20:28 Charts David Waller
@ 2005-04-04 20:47 ` Willi Egger
  2005-04-05 19:59   ` Charts David Waller
  0 siblings, 1 reply; 14+ messages in thread
From: Willi Egger @ 2005-04-04 20:47 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2005-04-04 20:47 ` Charts Willi Egger
@ 2005-04-05 19:59   ` David Waller
  2005-04-05 20:39     ` Charts Patrick Gundlach
  2005-04-06 17:06     ` Charts Willi Egger
  0 siblings, 2 replies; 14+ messages in thread
From: David Waller @ 2005-04-05 19:59 UTC (permalink / raw)


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
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2005-04-05 19:59   ` Charts David Waller
@ 2005-04-05 20:39     ` Patrick Gundlach
  2005-04-06 17:06     ` Charts Willi Egger
  1 sibling, 0 replies; 14+ messages in thread
From: Patrick Gundlach @ 2005-04-05 20:39 UTC (permalink / raw)


Hello David,

>  Any advice please?

Read the fine documentation carefully. Everything is written there.


If you don't have it at hand:

\starttext

Some text to start it all off

\splitfloat
 {\placefigure{foobar}}
 {\FLOWcharts[place-st-low]}

Now we want some text so that it looks like their is actually some
more text at the end.

\stoptext

Patrick
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2005-04-05 19:59   ` Charts David Waller
  2005-04-05 20:39     ` Charts Patrick Gundlach
@ 2005-04-06 17:06     ` Willi Egger
  2005-04-06 18:06       ` Charts David Waller
  1 sibling, 1 reply; 14+ messages in thread
From: Willi Egger @ 2005-04-06 17:06 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2005-04-06 17:06     ` Charts Willi Egger
@ 2005-04-06 18:06       ` David Waller
  0 siblings, 0 replies; 14+ messages in thread
From: David Waller @ 2005-04-06 18:06 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

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
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: charts
  2001-08-21 22:58 charts Thomas Lohmann
@ 2001-08-22 12:29 ` Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2001-08-22 12:29 UTC (permalink / raw)
  Cc: ntg-context

At 12:58 AM 8/22/2001 +0200, Thomas Lohmann wrote:
>Content-Type: text/plain; charset=iso-8859-1
>X-MIME-Autoconverted: from 8bit to quoted-printable by smail.let.uu.nl id 
>JAA09921
>
>Hello all,
>
>I don´t get charts using the chart module. The commands are ignored, but
>running texexec builds the file flw-1.tmp with them. The tex-file is
>
>-----------------------
>
>\usemodule[chart]
>
>\starttext
>
>\startFLOWchart[cells]
>   \startFLOWcell
>     \name       {first}
>     \location   {1,1}
>     \shape      {singledocument}
>     \text       {not realy a document}
>   \stopFLOWcell
>\stopFLOWchart
>
>\stoptext

This only defines the chart, you should also use it: \useFLOWchart[cells] 
cum suis

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* charts
@ 2001-08-21 22:58 Thomas Lohmann
  2001-08-22 12:29 ` charts Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Thomas Lohmann @ 2001-08-21 22:58 UTC (permalink / raw)


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

Hello all,

I don´t get charts using the chart module. The commands are ignored, but 
running texexec builds the file flw-1.tmp with them. The tex-file is

-----------------------

\usemodule[chart]

\starttext

\startFLOWchart[cells]
  \startFLOWcell
    \name       {first}
    \location   {1,1}
    \shape      {singledocument}
    \text       {not realy a document}
  \stopFLOWcell
\stopFLOWchart

\stoptext

---------------------------

The log-file is attached

---------------------------

What´s wrong?

Greetings,

Thomas Lohmann

[-- Attachment #2: test.log --]
[-- Type: text/plain, Size: 1740 bytes --]

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (format=cont-en 2000.7.29)  21 AUG 2001 21:48
entering extended mode
**&cont-en test
(test.tex[/var/lib/texmf/pdftex/config/pdftex.cfg]

ConTeXt  ver: 2000.1.31  fmt: 2000.7.29  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
line 43: inserting E-TEX code \unless 
)
system         : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2-deo-2 2-en-2 2-uk-2 2-de-2 2-fr-2 2-sp-2 2-nl-2 loa
ded
specials       : tex,postscript,rokicki loaded
\openout2 = `test.tui'.

system         : test.top loaded
(./test.top) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
system         : macros of module chart loaded
(/usr/share/texmf/tex/context/base/m-chart.tex) (./test.tuo)
systems        : begin file test at line 3
system         : saving buffer flw-1
\openout4 = `flw-1.tmp'.

systems        : end file test at line 14
 ) 
Here is how much of TeX's memory you used:
 366 strings out of 32413
 3992 string characters out of 406753
 298038 words of memory out of 1100001
 21347 multiletter control sequences out of 10000+25000
 9049 words of font info for 28 fonts, out of 400000 for 1000
 22 hyphenation exceptions out of 1000
 27i,1n,44p,125b,234s stack positions out of 1500i,500n,1500p,50000b,5000s

No pages of output.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2000-01-11 16:07         ` Charts Hans Hagen
@ 2000-01-11 18:23           ` Slawek Zak
  0 siblings, 0 replies; 14+ messages in thread
From: Slawek Zak @ 2000-01-11 18:23 UTC (permalink / raw)


Ahh, works just fine :)) Thanks Hans.
-- 
* Suavek Zak (Systems Administrator)
* email: zaks@mini.pw.edu.pl        voice: +48 (0) 22 674 66 79
* PGP v2.6: 2048/9A7CBF71, finger://zaks@prioris.mini.pw.edu.pl


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2000-01-11 16:07       ` Charts Slawek Zak
@ 2000-01-11 16:07         ` Hans Hagen
  2000-01-11 18:23           ` Charts Slawek Zak
  0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2000-01-11 16:07 UTC (permalink / raw)
  Cc: ntg-context

At 04:07 PM 1/11/2000 +0000, Slawek Zak wrote:

if you just want a grid, you may try this one (copied from 1999-003.tex): 

\startbuffer[grid]
\setupFLOWcharts
  [option=test,
   nx=4,
   ny=3,
   dx=2\bodyfontsize,
   dy=2\bodyfontsize,
   width=12\bodyfontsize,
   height=7\bodyfontsize,
   maxwidth=\textwidth]

\startFLOWchart [grid]
\stopFLOWchart
\stopbuffer

\placefigure
  [here][fig:grid]
  {The grid.}
  {\getbuffer[grid]\FLOWchart[grid]}

or simplified: 

\setupFLOWcharts
  [option=grid,
   nx=4,
   ny=3,
   dx=2\bodyfontsize,
   dy=2\bodyfontsize,
   width=12\bodyfontsize,
   height=7\bodyfontsize,
   maxwidth=\textwidth]

\startFLOWchart [grid]
\stopFLOWchart

\FLOWchart[grid]

As you can see here, the grid and dimensions scale with the body font size.
You can check this with: 

\dostepwiserecurse{8}{12}{1}
  {{\switchtobodyfont[\recurselevel]\FLOWchart[grid]}}

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Charts
  2000-01-11  9:32     ` Charts Hans Hagen
@ 2000-01-11 16:07       ` Slawek Zak
  2000-01-11 16:07         ` Charts Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Slawek Zak @ 2000-01-11 16:07 UTC (permalink / raw)


  Hans Hagen <pragma@wxs.nl> writes:

> At 09:47 PM 1/10/2000 +0100, Berend de Boer wrote:
> >> I've tried to draw a chart using the chart module. Tried this example
> >> from Hans' article printed in Polish TeX user's group bulletin. The
> >> output of texexec shows just an empty page. What do I do wrong ??
> >
> >I remember it didn't work for me too. Try putting some stuff in it. 
> 
> Right. There must be content. 

You mean text content for the graph to be visible or graph content
(which means that the grid is not visible by itself) ?? mpgraph.mp
seems to be "empty" (contains only defines) after processing that
file.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Charts
  2000-01-10 20:47   ` Charts Berend de Boer
@ 2000-01-11  9:32     ` Hans Hagen
  2000-01-11 16:07       ` Charts Slawek Zak
  0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2000-01-11  9:32 UTC (permalink / raw)


At 09:47 PM 1/10/2000 +0100, Berend de Boer wrote:
>> I've tried to draw a chart using the chart module. Tried this example
>> from Hans' article printed in Polish TeX user's group bulletin. The
>> output of texexec shows just an empty page. What do I do wrong ??
>
>I remember it didn't work for me too. Try putting some stuff in it. 

Right. There must be content. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Charts
  2000-01-10 19:56 ` Charts Slawek Zak
@ 2000-01-10 20:47   ` Berend de Boer
  2000-01-11  9:32     ` Charts Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Berend de Boer @ 2000-01-10 20:47 UTC (permalink / raw)


> I've tried to draw a chart using the chart module. Tried this example
> from Hans' article printed in Polish TeX user's group bulletin. The
> output of texexec shows just an empty page. What do I do wrong ??

I remember it didn't work for me too. Try putting some stuff in it. 

Groetjes,

Berend. (-:


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Charts
  2000-01-10 14:53 Undefined control sequence guravage
@ 2000-01-10 19:56 ` Slawek Zak
  2000-01-10 20:47   ` Charts Berend de Boer
  0 siblings, 1 reply; 14+ messages in thread
From: Slawek Zak @ 2000-01-10 19:56 UTC (permalink / raw)


I've tried to draw a chart using the chart module. Tried this example
from Hans' article printed in Polish TeX user's group bulletin. The
output of texexec shows just an empty page. What do I do wrong ??

\starttext
\setupFLOWcharts
   [nx=4,
    ny=3,
    dx=2\bodyfontsize,
    dy=2\bodyfontsize,
    width=12\bodyfontsize,
    height=7\bodyfontsize,
    maxwidth=\textwidth]
\startFLOWchart [grid]
\stopFLOWchart

\FLOWchart[grid]
\stoptext
-- 
* Suavek Zak (Altkom UNIX Group)    #include <std/disclaimer.h>
* email: S.Zak@altkom.com    voice: +48 (0) 22 674 66 79
* PGP v2.6: 2048/9A7CBF71,   finger://zaks@prioris.im.pw.edu.pl


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-04-06 18:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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       ` Charts David Waller
  -- 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

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).