Re: [NTG-context] Page break between \title and \itemize

2011-03-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Perfect, thanks!

If anyone is interested, there is a sample attached which demonstrates the problem and 
the solution by autointro.

Lukas



Add: into to \startitemize


\startitemize[intro]
   \item ...
   \item ...
   \item ...
\stopitemize



Or you can use \setupitemize[autointro]

Aditya



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t-TitItm.mkiv
Description: Binary data


t-TitItm.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] Page break between \title and \itemize

2011-03-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .

BTW, is there a difference between \startitemize[intro] and 
\startitemize[autointro]?

- I tried both and both do the desired effect.

- autointro was your suggestion for \setupitemize whilst intro was option 
for \startitemize...

Kind regards,

Lukas



\startitemize[intro]
   \item ...
   \item ...
   \item ...
\stopitemize



Or you can use \setupitemize[autointro]

Aditya



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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
___


Re: [NTG-context] Page break between \title and \itemize

2011-03-31 Thread Wolfgang Schuster

Am 31.03.2011 um 12:11 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 BTW, is there a difference between \startitemize[intro] and 
 \startitemize[autointro]?

Yes, “autointro” prevents a page break only when the last paragraph
has only one or two lines while “intro” always prevents a page break.

\showgrid

\starttext

% paragraph with 2 lines + autointro

\dorecurse{38}{\crlf}

\dorecurse{30}{text }

\startitemize[autointro]
\item item
\stopitemize

% paragraph with 2 lines + intro

\page

\dorecurse{38}{\crlf}

\dorecurse{30}{text }

\startitemize[intro]
\item item
\stopitemize

% paragraph with 3 lines + autointro

\page

\dorecurse{38}{\crlf}

\dorecurse{40}{text }

\startitemize[autointro]
\item item
\stopitemize

% paragraph with 3 lines + intro

\page

\dorecurse{38}{\crlf}

\dorecurse{40}{text }

\startitemize[intro]
\item item
\stopitemize

\stoptext

Wolfgang

___
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
___


Re: [NTG-context] Page break between \title and \itemize

2011-03-30 Thread Aditya Mahajan

On Wed, 30 Mar 2011, Procházka Lukáš Ing. - Pontex s. r. o. wrote:


Hello,

I used the following setup for title:

\setuphead[title][style=\bfb,align=middle,after=\blank]

Then, in the middle of the source code, I used:

\title{A title}

% Unwanted page break here!


Add: into to \startitemize


\startitemize[intro]
   \item ...
   \item ...
   \item ...
\stopitemize



Or you can use \setupitemize[autointro]

Aditya___
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
___