ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* endnotes, imposition and recurselevel
@ 2012-01-20  7:07 Michael Guravage
  2012-01-20 11:28 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Guravage @ 2012-01-20  7:07 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1638 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1784 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: endnotes, imposition and recurselevel
  2012-01-20  7:07 endnotes, imposition and recurselevel Michael Guravage
@ 2012-01-20 11:28 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2012-01-20 11:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Michael Guravage

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
___________________________________________________________________________________


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

end of thread, other threads:[~2012-01-20 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-20  7:07 endnotes, imposition and recurselevel Michael Guravage
2012-01-20 11:28 ` 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).