Re: [NTG-context] endnotes, imposition and recurselevel

2012-01-20 Thread Hans Hagen

On 20-1-2012 08:07, Michael Guravage wrote:

I am typesetting an article where the footnotes should be collected as
endnotes. I am also using imposition to arrange the article as a booklet.

When using the default location 'page', footnotes work as expected. But
when I change the location to 'text' and use \placefootnotes to produce the
endnotes, the compilation fails. Here is an example document that attempts
the same thing.  Note that the paragraph/footnote loop is performed nine
times. If you compile as is, i.e., no imposition, everything works as
expected. But add --mode=imposition to apply imposition and the compilation
fails.

Now decrease the number of iterations from nine to eight and the behaviour
is reversed. The imposition will succeed and the straight compile will
fail. Stranger yet, If you remove the subject structure, compiling with
eight iterations succeeds with or without imposition, and compiling with
nine iterations fails with or without imposition.  This all happens in the
ConTeXt from 2011.07.26. Switching to the ConTeXt from 2012.01.16
everything compiles, but the runs using imposition produce only blank pages.

Regardless of what I try, I cannot get endnotes and imposition to
cooperate. Any help would be greatly appreciated.

\showframe
\doifmode{imposition}
{\setuppapersize[A5,portrait][A4,landscape]
  \setuparranging[2UP,doublesided]}

\setupfootnotes[location={text,none}]

\starttext
   \startsubject[title=First]
 \dorecurse{9}{\input tufte\footnote{The quick brown fox jumps over the
lazy dog.}\par}
   \stopsubject
   \startsubject[title=Second]
 \placefootnotes
   \stopsubject
\stoptext


do you run with --arrange --mode=imposition ?

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] endnotes, imposition and recurselevel

2012-01-19 Thread Michael Guravage
I am typesetting an article where the footnotes should be collected as
endnotes. I am also using imposition to arrange the article as a booklet.

When using the default location 'page', footnotes work as expected. But
when I change the location to 'text' and use \placefootnotes to produce the
endnotes, the compilation fails. Here is an example document that attempts
the same thing.  Note that the paragraph/footnote loop is performed nine
times. If you compile as is, i.e., no imposition, everything works as
expected. But add --mode=imposition to apply imposition and the compilation
fails.

Now decrease the number of iterations from nine to eight and the behaviour
is reversed. The imposition will succeed and the straight compile will
fail. Stranger yet, If you remove the subject structure, compiling with
eight iterations succeeds with or without imposition, and compiling with
nine iterations fails with or without imposition.  This all happens in the
ConTeXt from 2011.07.26. Switching to the ConTeXt from 2012.01.16
everything compiles, but the runs using imposition produce only blank pages.

Regardless of what I try, I cannot get endnotes and imposition to
cooperate. Any help would be greatly appreciated.

\showframe
\doifmode{imposition}
{\setuppapersize[A5,portrait][A4,landscape]
 \setuparranging[2UP,doublesided]}

\setupfootnotes[location={text,none}]

\starttext
  \startsubject[title=First]
\dorecurse{9}{\input tufte\footnote{The quick brown fox jumps over the
lazy dog.}\par}
  \stopsubject
  \startsubject[title=Second]
\placefootnotes
  \stopsubject
\stoptext

-- 
With kind regards,

Michael Guravage
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___