ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in footnotes in columns
@ 2009-08-21 20:53 Aditya Mahajan
  2009-08-21 22:12 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2009-08-21 20:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

\setupfootnotes
   [location=columns]

\starttext
\startcolumns
\input knuth
\stopcolumns
\stoptext

gives

! Undefined control sequence.
<argument> \currentbackupnoteins

\doaddtototalnoteheight #1->\ifdim \ht #1
                                          >\zeropoint \advance 
\totalnoteheig...
\docalculatetotalnoteheight ...rrentbackupnoteins
                                                   \fi
<inserted text> \doprocesssomenote {\v!footnote }
                                                  \doprocesssomenote 
{\v!endn...
\processnotes ...note #1}\the \tobeprocessednotes

\settotalinsertionheight ...culatetotalnoteheight
                                                   \totalinsertionheight 
\tot...
...

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bug in footnotes in columns
  2009-08-21 20:53 Bug in footnotes in columns Aditya Mahajan
@ 2009-08-21 22:12 ` Hans Hagen
  2009-08-22  0:13   ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2009-08-21 22:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> Hi,
> 
> \setupfootnotes
>   [location=columns]
> 
> \starttext
> \startcolumns
> \input knuth
> \stopcolumns
> \stoptext
> 
> gives
> 
> ! Undefined control sequence.
> <argument> \currentbackupnoteins
>
you can comment that line (for the moment)

     \def\docalculatetotalnoteheight
       {\ifcase\clevernotes % tricky here ! ! ! to be sorted out ! ! !
          \doaddtototalnoteheight\currentnoteins
        \else
%        \doaddtototalnoteheight\currentbackupnoteins
        \fi}

keep in mind that footnotes in columns are not yet done (in mkiv) 
awaiting access to inserts (later this year)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bug in footnotes in columns
  2009-08-21 22:12 ` Hans Hagen
@ 2009-08-22  0:13   ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2009-08-22  0:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 22 Aug 2009, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> Hi,
>> 
>> \setupfootnotes
>>   [location=columns]
>> 
>> \starttext
>> \startcolumns
>> \input knuth
>> \stopcolumns
>> \stoptext
>> 
>> gives
>> 
>> ! Undefined control sequence.
>> <argument> \currentbackupnoteins
>> 
> you can comment that line (for the moment)
>
>    \def\docalculatetotalnoteheight
>      {\ifcase\clevernotes % tricky here ! ! ! to be sorted out ! ! !
>         \doaddtototalnoteheight\currentnoteins
>       \else
> %        \doaddtototalnoteheight\currentbackupnoteins
>       \fi}
>

Perhaps the example was a bit too minimal. With this change, notice the 
output of

\setupfootnotes
   [location=columns]

\setupcolumns[balance=no]

\starttext
\startcolumns
Don Knuth's\footnote{The creator of \TEX} quote:
\input knuth
\stopcolumns
\stoptext

Notice the box0 in the 2nd column.

> keep in mind that footnotes in columns are not yet done (in mkiv) awaiting 
> access to inserts (later this year)

OK. I will just use MKII for the moment.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-08-22  0:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-21 20:53 Bug in footnotes in columns Aditya Mahajan
2009-08-21 22:12 ` Hans Hagen
2009-08-22  0:13   ` Aditya Mahajan

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