ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in block mechanism?
@ 2002-02-09 20:03 Miller Maley
  2002-02-10 19:55 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Miller Maley @ 2002-02-09 20:03 UTC (permalink / raw)


When I upgraded from ConTeXt 2001.2.27 to 2001.11.13, something broke
in the block mechanism.  When I create hidden blocks in different 
chapters and
try to recall them at the end of the document, only the first block is 
typeset.
A small test case is below.  The block "foo" shows up but "bar" does not.
I get the same result when the two \useblocks lines are replaced by
a single line \useblocks[note].  But if I take out the \chapter 
commands, it works.

-- Miller Maley

\setupoutput[pdftex]
\defineblock[note]
\hideblocks[note]
\starttext
\chapter[chp:one]{First}
Text for chapter one.
\beginnote[foo]
note is foo
\endnote
\chapter[chp:two]{Second}
Text for chapter two.
\beginnote[bar]
note is bar
\endnote
\chapter[chp:notes]{Notes}
\useblocks[note][foo]
\useblocks[note][bar]
\stoptext


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

* Re: Bug in block mechanism?
  2002-02-09 20:03 Bug in block mechanism? Miller Maley
@ 2002-02-10 19:55 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-02-10 19:55 UTC (permalink / raw)
  Cc: ntg-context

At 03:03 PM 2/9/2002 -0500, Miller Maley wrote:
>When I upgraded from ConTeXt 2001.2.27 to 2001.11.13, something broke
>in the block mechanism.  When I create hidden blocks in different chapters and
>try to recall them at the end of the document, only the first block is 
>typeset.
>A small test case is below.  The block "foo" shows up but "bar" does not.
>I get the same result when the two \useblocks lines are replaced by
>a single line \useblocks[note].  But if I take out the \chapter commands, 
>it works.
>
>-- Miller Maley
>
>\setupoutput[pdftex]
>\defineblock[note]
>\hideblocks[note]
>\starttext
>\chapter[chp:one]{First}
>Text for chapter one.
>\beginnote[foo]
>note is foo
>\endnote
>\chapter[chp:two]{Second}
>Text for chapter two.
>\beginnote[bar]
>note is bar
>\endnote
>\chapter[chp:notes]{Notes}
>\useblocks[note][foo]
>\useblocks[note][bar]
>\stoptext

This works here; btw, is 2001.11.13 the more recent beta? Can you try

www.pragma-pod.nl -> beta

[i wonder why the block inclusion fails, never noticed]

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-pod.nl
-------------------------------------------------------------------------


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

end of thread, other threads:[~2002-02-10 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-09 20:03 Bug in block mechanism? Miller Maley
2002-02-10 19:55 ` 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).