ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* buffer error
@ 2007-02-16 15:32 Idris Samawi Hamid
  2007-02-16 15:57 ` Aditya Mahajan
  2007-02-16 16:19 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Idris Samawi Hamid @ 2007-02-16 15:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi gang,

Here is something strange:

========================================
\definenote[metanote][conversion=set 2]

\startbuffer[footnote]

test test test test test test test test
     \footnote{This is a basic footnote.
         \metanote{This is a footnote to a footnote.}}
test test test test test test test test
     \footnote{This is another basic footnote.
         \metanote{This is another footnote to a footnote.}}
test test test test test test test test test test test test test.
\stoplinenumbering%
\stopbuffer

{\typebuffer[footnote] \getbuffer[footnote]} \page
========================================

works, but

========================================
\startbuffer[footnote]

\definenote[metanote][conversion=set 2]

test test test test test test test test
     \footnote{This is a basic footnote.
         \metanote{This is a footnote to a footnote.}}
test test test test test test test test
     \footnote{This is another basic footnote.
         \metanote{This is another footnote to a footnote.}}
test test test test test test test test test test test test test.
\stoplinenumbering%
\stopbuffer

{\typebuffer[footnote] \getbuffer[footnote]} \page
========================================

will not compile:

==================
! Missing number, treated as zero.
<to be read again>
                    \@@vnmetanoten
\dochecknote ...\relax \ifnum \noteparameter \c!n
                                                   =\zerocount  
\settextnotes ...

\dodoflushnotes ...zeropoint \bgroup \dochecknote
                                                   \ifendnotes \else  
\scratch...

\next1 #1,->\doprocessnotes {\dodoflushnotes }{#1}
                                                   \doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
                                                   ]\relax \global \advance  
\...

\doflushnotes ...rt \processnotes \dodoflushnotes
                                                   \global \setfalse  
\postpon...
...
l.56

?
==================

workaround

============================================
\definenote[metanote][conversion=set 2]

\startbuffer[footnote]

\definenote[metanote][conversion=set 2]

test test test test test test test test
     \footnote{This is a basic footnote.
         \metanote{This is a footnote to a footnote.}}
test test test test test test test test
     \footnote{This is another basic footnote.
         \metanote{This is another footnote to a footnote.}}
test test test test test test test test test test test test test.
\stoplinenumbering%
\stopbuffer

{\typebuffer[footnote] \getbuffer[footnote]} \page
============================================

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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

end of thread, other threads:[~2007-02-16 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-16 15:32 buffer error Idris Samawi Hamid
2007-02-16 15:57 ` Aditya Mahajan
2007-02-16 16:34   ` Hans Hagen
2007-02-16 16:41   ` Idris Samawi Hamid
2007-02-16 16:45     ` Idris Samawi Hamid
2007-02-16 16:19 ` 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).