* footnotes for marginals?
@ 2002-04-02 17:38 Henning Hraban Ramm
2002-04-02 18:06 ` Giuseppe Bilotta
0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2002-04-02 17:38 UTC (permalink / raw)
Ahoi!
Someone asked after footnotes for margin notes on TeX-D-L.
I asserted such would be possible with ConTeXt... ;-/
("Write 100 times: I must not boast!")
Just
\inmargin{Das\footnote{Randnote} steht im Rand.}
gives a "missing number".
Is there a simple way?
Grüßlis vom Hraban!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: footnotes for marginals?
2002-04-02 17:38 footnotes for marginals? Henning Hraban Ramm
@ 2002-04-02 18:06 ` Giuseppe Bilotta
2002-04-03 11:42 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Giuseppe Bilotta @ 2002-04-02 18:06 UTC (permalink / raw)
Cc: ntg-context
Tuesday, April 02, 2002 Henning Hraban Ramm wrote:
HHR> Ahoi!
HHR> Someone asked after footnotes for margin notes on TeX-D-L.
HHR> I asserted such would be possible with ConTeXt... ;-/
HHR> ("Write 100 times: I must not boast!")
HHR> Just
HHR> \inmargin{Das\footnote{Randnote} steht im Rand.}
HHR> gives a "missing number".
HHR> Is there a simple way?
Not tested: try with local footnotes.
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: footnotes for marginals?
2002-04-02 18:06 ` Giuseppe Bilotta
@ 2002-04-03 11:42 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2002-04-03 11:42 UTC (permalink / raw)
Cc: Henning Hraban Ramm, ntg-context
At 08:06 PM 4/2/2002 +0200, Giuseppe Bilotta wrote:
>Tuesday, April 02, 2002 Henning Hraban Ramm wrote:
>
>HHR> Ahoi!
>
>HHR> Someone asked after footnotes for margin notes on TeX-D-L.
>HHR> I asserted such would be possible with ConTeXt... ;-/
>HHR> ("Write 100 times: I must not boast!")
>
>HHR> Just
>HHR> \inmargin{Das\footnote{Randnote} steht im Rand.}
>HHR> gives a "missing number".
>
>HHR> Is there a simple way?
>
>Not tested: try with local footnotes.
interestingly a simple test failed because of nested margin notes (footnote
numbers by default go into the margin too), after patching:
\def\maakmargetekstblok#1#2#3#4#5#6%
{#4\relax
\bgroup
\forgetall % added, else problems with 'cen
\mindermeldingen
\hsize#1\relax
\doifnumberelse\margetekstnummer % new
{\ifcase\margetekstnummer\relax
\def\margetekstnummer{#2}%
\fi}
{}%
\doifnumberelse .....
and add the footnote handlers in:
\def\dodoinmarge[#1][#2][#3][#4][#5]#6%
{\ignorespaces
\bgroup\postponefootnotes % group is (somehow) needed
\doifinsetelse{\v!laag}{#4}
{\lowinmargintrue}
{\lowinmarginfalse}%
\processaction
[#1]
[ \v!links=>#2{#6},
\v!rechts=>#3{#6},
\s!unknown=>\ifdubbelzijdig
\doifcommonelse{+,-}{#4}
{\doinmargereverse#2#3{#6}}
{\doinmargenormal#2#3{#6}}%
\else
#2{#6}%
\fi]%
\rawpagereference{\s!mar}{#5}%
\flushfootnotes\egroup % don't forget the group
\ignorespaces}
in page-mar.tex, you can indeed get footnotes in margins (although i don't
know how this behaves in complex pages).
\inleft{test \footnote{test}} \input tufte
now, if you do sick things like:
\dorecurse{100}{test test \inleft{test \footnote{test}} test\par}
and don't want footnotes to be split over pages, say:
\setupfootnotes[split=verystrict]
Seems to work ok.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
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
-------------------------------------------------------------------------
fall-back web server:
www.pragma-ade.nl
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-03 11:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-02 17:38 footnotes for marginals? Henning Hraban Ramm
2002-04-02 18:06 ` Giuseppe Bilotta
2002-04-03 11:42 ` 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).