ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: AlterEgo Qasars <quasar@econ.muni.cz>
Subject: Bug in columnset?
Date: Mon, 3 Dec 2001 12:43:14 +0100	[thread overview]
Message-ID: <20011203124314.A512@merkur.econ.muni.cz> (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 --]

             reply	other threads:[~2001-12-03 11:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-03 11:43 AlterEgo Qasars [this message]
2001-12-03 15:22 ` Hans Hagen
2001-12-05  9:14   ` AlterEgo Qasars
2001-12-05 10:14     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011203124314.A512@merkur.econ.muni.cz \
    --to=quasar@econ.muni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).