* pagination problem with \startitemize[columns]
@ 2004-06-12 0:25 Nikolai Weibull
2004-06-12 13:02 ` Willi Egger
2004-06-14 9:40 ` Hans Hagen
0 siblings, 2 replies; 5+ messages in thread
From: Nikolai Weibull @ 2004-06-12 0:25 UTC (permalink / raw)
I sent a response to an earlier thread about this, but I don't know if
it got through (my mail was down later that day). Anyway, here's an
example of something that gets messed up. Text following the itemize
doesn't get paginated properly. Having a new chapter after it seems to
fix it from there on, though.
\starttext
\chapter{One}
\dorecurse{7}{\input zapf \par\relax}
\startitemize[columns,four]
\dorecurse{12}{\nop \type{[:alnum:]}}
\stopitemize
\dorecurse{7}{\input zapf \par\relax}
\stoptext
This fails for \startitemize[columns] as well. It seems that the problem
arises when the itemize is pushed onto the second page. Remove the
first \dorecurse{7}{\input ...} and it works fine...
Here's an example where the following chapter will be typeset correctly:
\starttext
\chapter{One}
\dorecurse{7}{\input zapf \par\relax}
\startitemize[columns,four]
\dorecurse{12}{\nop \type{[:alnum:]}}
\stopitemize
\dorecurse{7}{\input zapf \par\relax}
\chapter{Two}
\dorecurse{7}{\input zapf \par\relax}
\stoptext
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pagination problem with \startitemize[columns]
2004-06-12 0:25 pagination problem with \startitemize[columns] Nikolai Weibull
@ 2004-06-12 13:02 ` Willi Egger
2004-06-14 9:38 ` Hans Hagen
2004-06-14 9:40 ` Hans Hagen
1 sibling, 1 reply; 5+ messages in thread
From: Willi Egger @ 2004-06-12 13:02 UTC (permalink / raw)
Hi Nicolai,
I am not shure that the second example works. Also there I get the same
problem as in example one. The pagebreak-problem remains als if you
withdraw \nop and replace it with \item
I use currently version:
ConTeXt ver: 2004.3.19 fmt: 2004.6.6
This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
(format=cont-en 2004.6.6) 12 JUN 2004 15:00
Hans, what is the meaning of the k behind PdfTeX?
Willi
Nikolai Weibull wrote:
> I sent a response to an earlier thread about this, but I don't know if
> it got through (my mail was down later that day). Anyway, here's an
> example of something that gets messed up. Text following the itemize
> doesn't get paginated properly. Having a new chapter after it seems to
> fix it from there on, though.
>
> \starttext
>
> \chapter{One}
>
> \dorecurse{7}{\input zapf \par\relax}
>
> \startitemize[columns,four]
> \dorecurse{12}{\nop \type{[:alnum:]}}
> \stopitemize
>
> \dorecurse{7}{\input zapf \par\relax}
>
> \stoptext
>
> This fails for \startitemize[columns] as well. It seems that the problem
> arises when the itemize is pushed onto the second page. Remove the
> first \dorecurse{7}{\input ...} and it works fine...
>
> Here's an example where the following chapter will be typeset correctly:
>
> \starttext
>
> \chapter{One}
>
> \dorecurse{7}{\input zapf \par\relax}
>
> \startitemize[columns,four]
> \dorecurse{12}{\nop \type{[:alnum:]}}
> \stopitemize
>
> \dorecurse{7}{\input zapf \par\relax}
>
> \chapter{Two}
>
> \dorecurse{7}{\input zapf \par\relax}
>
> \stoptext
>
> nikolai
>
> --
> ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
> ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
> ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
> main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pagination problem with \startitemize[columns]
2004-06-12 13:02 ` Willi Egger
@ 2004-06-14 9:38 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2004-06-14 9:38 UTC (permalink / raw)
Willi Egger wrote:
> ConTeXt ver: 2004.3.19 fmt: 2004.6.6
> This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
> (format=cont-en 2004.6.6) 12 JUN 2004 15:00
>
> Hans, what is the meaning of the k behind PdfTeX?
experimental (has become an x)
Hans
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pagination problem with \startitemize[columns]
2004-06-12 0:25 pagination problem with \startitemize[columns] Nikolai Weibull
2004-06-12 13:02 ` Willi Egger
@ 2004-06-14 9:40 ` Hans Hagen
2004-06-17 12:01 ` Nikolai Weibull
1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2004-06-14 9:40 UTC (permalink / raw)
Nikolai Weibull wrote:
>I sent a response to an earlier thread about this, but I don't know if
>it got through (my mail was down later that day). Anyway, here's an
>example of something that gets messed up. Text following the itemize
>doesn't get paginated properly. Having a new chapter after it seems to
>fix it from there on, though.
>
>\starttext
>
>\chapter{One}
>
>\dorecurse{7}{\input zapf \par\relax}
>
>\startitemize[columns,four]
>\dorecurse{12}{\nop \type{[:alnum:]}}
>\stopitemize
>
>\dorecurse{7}{\input zapf \par\relax}
>
>\stoptext
>
>
i posted a fix for that:
\def\endmulticolumns
{%\par
\vskip\lineheight\vskip-\lineheight % take footnotes into account
\dontshowcomposition
\doflushcolumnfloat % added recently
%\doflushcolumnfloats % no, since it results in wrong top floats
\flushnotes % before start of columns
\par
\ifbalancecolumns
\global\output{\continuousmulticolumnsout}%
\goodbreak
\global\output{\balancedmulticolumnsout}%
\else
\goodbreak
\fi
\eject % the prevdepth is important, try e.g. toclist in
\prevdepth\zeropoint % columns before some noncolumned text text
\global\output\singlecolumnout
\global\output{\the\mainoutput}% % % % % todo
\ifvoid\precolumnbox\else
\unvbox\precolumnbox
\fi
\global\precolumnboxheight\zeropoint
\endgroup % here
\nofcolumns\plusone
\setvsize % the outer one!
\synchronizeoutput % new may 2004 / we need to: \pagegoal\vsize
\checkendcolumnfootnotes
\dosomebreak\allowbreak
\restoresavedfloats}
this should go into cont=new.tex
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pagination problem with \startitemize[columns]
2004-06-14 9:40 ` Hans Hagen
@ 2004-06-17 12:01 ` Nikolai Weibull
0 siblings, 0 replies; 5+ messages in thread
From: Nikolai Weibull @ 2004-06-17 12:01 UTC (permalink / raw)
* Hans Hagen <pragma@wxs.nl> [Jun 14, 2004 11:40]:
> i posted a fix for that:
yeah, i updated page-mul.tex.
> this should go into cont=new.tex
Aha! OK, sorry...now it works,
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-06-17 12:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-12 0:25 pagination problem with \startitemize[columns] Nikolai Weibull
2004-06-12 13:02 ` Willi Egger
2004-06-14 9:38 ` Hans Hagen
2004-06-14 9:40 ` Hans Hagen
2004-06-17 12:01 ` Nikolai Weibull
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).