View Issue Details

IDProjectCategoryView StatusLast Update
0000389contextpublic2012-12-10 12:13
ReporterPeter Assigned ToHans Hagen  
PrioritylowSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0000389: bad page breaks
DescriptionConTeXt tries to keep the header and the material before the header together.
This results in bad page breaks.
Peter
Steps To Reproduce%% Test file:
\def\Lines#1{\dorecurse{0000001}{\dorecurse{17}{text }}\par}
\def\Table#1{\starttable[|l|]\dorecurse{0000001}{\NC bla \NC\AR}\stoptable}
\showframe
\starttext
\completecontent
\section{bla}\Lines{10}\Lines3
\section{bla}\Table9
\section{bla}\subsection{bla}\Lines2
\placetable[force][bla1]{bla}{\Table7}\Lines2
\subsection{bla}\Lines7\placetable[force][bla2]{bla}{\Table{22}}
\subsection{bla}\Lines2
\placefigure[force][bla3]{}{\framed[height=2cm]{bla}}
\subsubsection{bla}\Lines8\subsubsection{bla}\Lines2
\subsubsection{bla}\Lines4\subsubsection{bla}\Lines2
\section{bla}\Lines{15}\Lines2
\section{bla}\Lines2\Table9\Lines2
\stoptext
Additional InformationSee also
http://archive.contextgarden.net/message/20100506.091308.a92a8ebc.en.html
TagsNo tags attached.

Activities

Peter

2010-05-06 13:50

reporter  

test.tex (626 bytes)   
\def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par}
\def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable}
\showframe
\starttext
\completecontent
\section{bla}\Lines{10}\Lines3
\section{bla}\Table9
\section{bla}\subsection{bla}\Lines2
\placetable[force][bla1]{bla}{\Table7}\Lines2
\subsection{bla}\Lines7\placetable[force][bla2]{bla}{\Table{22}}
\subsection{bla}\Lines2
\placefigure[force][bla3]{}{\framed[height=2cm]{bla}}
\subsubsection{bla}\Lines8\subsubsection{bla}\Lines2
\subsubsection{bla}\Lines4\subsubsection{bla}\Lines2
\section{bla}\Lines{15}\Lines2
\section{bla}\Lines2\Table9\Lines2
\stoptext
test.tex (626 bytes)   

Peter

2010-05-06 13:50

reporter  

test.pdf (14,251 bytes)

Peter

2010-07-16 14:27

reporter   ~0000555

Better example:
\starttext
\dorecurse{700}{text } % fills a page without problems
\page
\dorecurse{700}{text } % why a page-break that cuts the last 2 lines?
\section{bla}
bla
\stoptext

Peter

Peter

2010-07-16 14:28

reporter   ~0000556

Workaround:
\chardef\somestructureheadbreakmethod0

Peter

Issue History

Date Modified Username Field Change
2010-05-06 13:47 Peter New Issue
2010-05-06 13:50 Peter File Added: test.tex
2010-05-06 13:50 Peter File Added: test.pdf
2010-07-16 14:27 Peter Note Added: 0000555
2010-07-16 14:28 Peter Note Added: 0000556
2010-08-02 15:30 Hans Hagen Status new => resolved
2010-08-02 15:30 Hans Hagen Resolution open => fixed
2010-08-02 15:30 Hans Hagen Assigned To => Hans Hagen
2012-12-10 12:13 Taco Status resolved => closed