From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl (ConTeXt List)
Subject: Re: [Q] double-column footnotes
Date: Sun, 26 Nov 2000 22:32:01 +0100 [thread overview]
Message-ID: <3.0.6.32.20001126223201.01e0a320@pop.wxs.nl> (raw)
In-Reply-To: <200011251524.QAA10133@anxur.fi.muni.cz>
At 04:24 PM 11/25/00 +0100, Han The Thanh wrote:
>Dear all,
>
>is it posible to have footnotes in double-columns (the body text is single
>column)?
\setupfootnotes[n=2,columndistance=3em]
\starttext
\dorecurse
{100}
{Does it work or not. \footnote{Let's see how this works,
well it does not work although it should and did one day
before I screwed up again.} Sorry Thanh.}
\stoptext
It looks like I intermixed a \box and \unvbox as well as does not set the
split hsize. So, here is the patch that should go into core-not.tex:
\unprotect
\def\setcolumnfootnotes%
{\def\startpushfootnote {\setfootnotehsize % possibly overloaded
\setrigidcolumnhsize\hsize\@@vnkolomafstand\@@vnn
\bgroup
\stelinmargein[\c!uitlijnen=\v!links]%
\getvalue{\e!start\??vn\??vn}}%
\def\stoppushfootnote {\getvalue{\e!stop\??vn\??vn}%
\egroup}%
\def\startpopfootnotes {\bgroup
\setfootnotehsize
\setrigidcolumnhsize\hsize\@@vnkolomafstand\@@vnn
\setbox0=\vbox\bgroup}
\def\stoppopfootnotes {\egroup\rigidcolumnbalance0\egroup}}
\def\placefootnoteinserts%
{%\ifvoid\footins \else % unsafe, strange
\ifdim\ht\footins>\!!zeropoint\relax
\ifendnotes \else
\@@vnvoor
\dofootnoterule % alleen in ..mode
\bgroup
\setfootnotebodyfont
\setbox0=\hbox
{\startpopfootnotes
\setfootnotebodyfont
% this should be checked, smells like a mix-up
% does not split: \ifcase\@@vnn\unvbox\else\box\fi\footins
\ifcase\@@vnn\box\else\unvbox\fi\footins
% this is too ugly actually
\stoppopfootnotes}%
\localframed
[\??vn]
[\c!breedte=\v!passend,
\c!hoogte=\v!passend,
\c!strut=\v!nee,
\c!offset=\v!overlay]
{\ifdim\dp0=\!!zeropoint % this hack is needed because \va
\hbox{\lower\dp\strutbox\box0}% % in margin number placement
\else % hides the (always) present dept
\box0
\fi}%
\egroup
\@@vnna
\fi
\fi}
\protect
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
next prev parent reply other threads:[~2000-11-26 21:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-25 15:24 Han The Thanh
2000-11-26 21:32 ` Hans Hagen [this message]
2000-11-27 20:23 ` Han The Thanh
2000-11-27 20:40 ` Berend de Boer
2000-11-27 22:06 ` Hans Hagen
2000-11-29 17:20 ` Han The Thanh
2000-11-30 9:24 ` 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=3.0.6.32.20001126223201.01e0a320@pop.wxs.nl \
--to=pragma@wxs.nl \
--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).