Re: [NTG-context] keeping together \subject and a table without a page break

2018-05-03 Thread Robert Zydenbos
YES! Thank you!

> On 3. May 2018, at 13:07, Hans Hagen  wrote:
> 
> On 5/3/2018 12:22 PM, Robert Zydenbos wrote:
>> I am looking for a way to keep a subject header and a following table 
>> together on one page, without a page break. Something like:
>> […]
> you can put \testpage[4] before the \subsubject (number of lines you want)


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] keeping together \subject and a table without a page break

2018-05-03 Thread Hans Hagen

On 5/3/2018 12:22 PM, Robert Zydenbos wrote:

I am looking for a way to keep a subject header and a following table together 
on one page, without a page break. Something like:

---snippet begins---

\subsubject{Personal suffixes for the present tense}

\starttabulate 
[|w(.1\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|]
[…here comes the table…]
\stoptabulate

---snippet ends---

but everything together on one page. (The example uses \starttabulate, but I 
would also need this for \startTABLE.)

On the wiki I found a command \blank[samepage], but this does not seem to work 
(at least not in MkII), because the parameter 'samepage' is not recognized.

I would be very grateful for suggestions.

you can put \testpage[4] before the \subsubject (number of lines you want)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] keeping together \subject and a table without a page break

2018-05-03 Thread Robert Zydenbos
I am looking for a way to keep a subject header and a following table together 
on one page, without a page break. Something like:

---snippet begins---

\subsubject{Personal suffixes for the present tense}

\starttabulate 
[|w(.1\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|p(.2\textwidth)|pI(.2\textwidth)|]
[…here comes the table…]
\stoptabulate

---snippet ends---

but everything together on one page. (The example uses \starttabulate, but I 
would also need this for \startTABLE.)

On the wiki I found a command \blank[samepage], but this does not seem to work 
(at least not in MkII), because the parameter 'samepage' is not recognized.

I would be very grateful for suggestions.

Robert
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___