ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Guravage <guravage@literatesolutions.com>
To: ntg-context@ntg.nl
Subject: endnotes, imposition and recurselevel
Date: Fri, 20 Jan 2012 08:07:05 +0100	[thread overview]
Message-ID: <CAL-A5LZ2O6LPPNHZ9su73P9g5D0FZsM0v2v8gPoDY0yMNC+nfQ@mail.gmail.com> (raw)


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

             reply	other threads:[~2012-01-20  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20  7:07 Michael Guravage [this message]
2012-01-20 11:28 ` 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=CAL-A5LZ2O6LPPNHZ9su73P9g5D0FZsM0v2v8gPoDY0yMNC+nfQ@mail.gmail.com \
    --to=guravage@literatesolutions.com \
    --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).