ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: buffer error
Date: Fri, 16 Feb 2007 08:32:25 -0700	[thread overview]
Message-ID: <op.tnulgbl2nx1yh1@walayah-main> (raw)

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/

             reply	other threads:[~2007-02-16 15:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 15:32 Idris Samawi Hamid [this message]
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

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=op.tnulgbl2nx1yh1@walayah-main \
    --to=ishamid@colostate.edu \
    --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).