ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in columnset?
@ 2001-12-03 11:43 AlterEgo Qasars
  2001-12-03 15:22 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: AlterEgo Qasars @ 2001-12-03 11:43 UTC (permalink / raw)


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

Good evening!

While having no information, I play with the columnset marcro myself. It 
works absolutely well when it's once turned on and once off. But when I'm 
switching among one and more columns, it starts to behave in a quite 
strange way. Sometimes some text disappeares, sometimes it is placed on a 
new page, sometimes two blocks of text are placed over themselves. I'm 
sending a minimal file -- try to change numbers in \dorecurse to see
other strange behavior. What I'm doing wrong?

Many thanks,
Michal Kvasnicka

[-- Attachment #2: todo --]
[-- Type: text/plain, Size: 1117 bytes --]

% interface=en, output=pdf

% Used version:
% TeXExec 2.5 - ConTeXt / PRAGMA ADE 1997-2001 
% pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1)
% ConTeXt  ver: 2001.9.14  fmt: 2001.9.19  int: english  mes: english

\setupcolors[state=start]
\setupbodyfont[10pt]
\setuplayout
        [topspace=15mm, height=267mm,
        backspace=15mm, width=18cm, lines=61,
        header=0pt, headerdistance=0pt,
        footer=\baselineskip, footerdistance=\baselineskip,
        margin=0pt,
        grid=yes]
\setuppagenumbering[location=bottom]

\setupindenting[medium]
\indenting[first]

\setuptolerance[tolerant]

\definecolumnset[three cols]
        [n=3]
\setupcolumnset[three cols]
        [offset=0pt, balance=yes, distance=0cm, tolerance=verytolerant]

\newif\ifInCols \InColsfalse 
\let\OriSec=\section
\def\section#1{%
	\ifInCols\stopcolumnset\fi%
	\OriSec{#1}%
	\startcolumnset[three cols]%
	\InColstrue
}

\showgrid

\starttext
\dorecurse{3}{\input knuth}

\section{This is the first section}

\dorecurse{4}{\input knuth}

\section{This is the second section}

\dorecurse{5}{\input knuth}

\stoptext

[-- Attachment #3: multicolumn1.tex --]
[-- Type: application/x-tex, Size: 1117 bytes --]

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

end of thread, other threads:[~2001-12-05 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-03 11:43 Bug in columnset? AlterEgo Qasars
2001-12-03 15:22 ` Hans Hagen
2001-12-05  9:14   ` AlterEgo Qasars
2001-12-05 10:14     ` Hans Hagen

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