From: Vit Zyka <vit.zyka@seznam.cz>
Subject: columnset balancing
Date: Sun, 26 Jun 2005 14:39:45 +0200 [thread overview]
Message-ID: <42BEA211.20406@seznam.cz> (raw)
Hello Hans,
appologize my boring again with the same question about columnset
balancing. But I would like to know what is the current stage of this
feature. Seeing the code it seems to me some work in this direction was
done but due to very complex and tricky stuff I am not able to
recognize, how far from the goal it is.
Actually, what is my goal design?
+ two column layout
+ float spanning one or two columns
(both perfectly fullfilled by columnsets)
- each chapter head spans two columns
(it assumes stop columns, balancing, continuing on the same page without
pagebreak, put chapter head, start columnset on the rest of the page)
It is feasible or I will have to abjured this idea?
Thank you for your responce in advance.
Vit
-------- Original Message --------
Subject: columnset balancing, footnoterule in columnset, Re:
[NTG-context] columnset layout distortion
Date: Tue, 21 Jun 2005 11:29:31 +0200
From: Vit Zyka <vit.zyka@seznam.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
References: <42B6CA43.2060103@seznam.cz> <42B73452.2050402@wxs.nl>
Hans Hagen wrote:
> Vit Zyka wrote:
>> margin). I noticed weird behaviour. It is expressed by vertical shift
>> of columns, please see the page 2 of
>> http://typokvitek.com/tmp/layoutdistort.pdf
>> source: http://typokvitek.com/tmp/layoutdistort.tex
>>
>> It seems that the problem is caused by switch to \ss font family
>> continueing to a place of the page break. Any explanation/suggestion?
>
> i made an \restoreinterlinespace mechanism so that you can do the
Hans it is great! I have two next questions:
1) Am I missing something or columnsets do not provide balancing?
----------------------------------------
\definecolumnset[two] [n=2,balance=yes]
\starttext
\startcolumnset[two]
\dorecurse{6}{\input knuth \endgraf}
\stopcolumnset
\input zapf \endgraf
\stoptext
-----------------------------------------
2) Footnotes with settings \setupfootnotes[location=columns,rule=on]
between \columnset do not draw rule. I discover it is due to missing
\vbox. So this solve this problem for me, but it is not elegant and I do
not know if it can caused some side effect:
-------------------------------------------
\def\MyBeforeFootnote{\vbox\bgroup\blank}
\def\MyAfterFootnote{\egroup}
\setupfootnotes[
location=columns,rule=on,rulethickness=.4pt,
before=\MyBeforeFootnote,after=\MyAfterFootnote,
]
\unprotect
\def\normalnoterule
{\endgraf %% <--- add
\ifvmode
\color
[\noteparameter\c!rulecolor]
{\vrule
\!!width .2\hsize
\!!height\noteparameter\c!rulethickness
\!!depth \zeropoint}%
\kern\strutdepth
\fi
\endgraf %% <--- add
}
\protect
\definecolumnset[col][n=2]
\starttext
\startcolumnset[col]
\input knuth
\footnote{Donald E. Knuth}
\stopcolumnset
\stoptext
------------------------------------------------
vit
=======================================================
Ing. Vít Zýka, Ph.D. TYPOkvítek
database publishing databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite
tel.: (+420) 777 198 189 www: http://typokvitek.com
=======================================================
next reply other threads:[~2005-06-26 12:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-26 12:39 Vit Zyka [this message]
2005-06-27 9:57 ` Hans Hagen
2005-06-27 11:00 ` Vit Zyka
2005-06-27 11:55 ` Hans Hagen
2005-06-27 16:25 ` Vit Zyka
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=42BEA211.20406@seznam.cz \
--to=vit.zyka@seznam.cz \
--cc=ntg-context@ntg.nl \
/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).