From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: End Notes and Minimals
Date: Tue, 25 Nov 2008 19:47:38 +0100 [thread overview]
Message-ID: <32EF6512-56B0-4D65-8D5F-A218B05E8462@gmail.com> (raw)
In-Reply-To: <200811251139.47810.bntgcontext@wiseguysweb.com>
Am 25.11.2008 um 19:39 schrieb Bart C. Wise:
> Below are four different ways I've tried to get endnotes to work.
> When I
> compile with "texexec" it work fine --- I get endnotes. However,
> when I
> compile with "texexec --lua" the footnotes are placed on the page
> where they
> are referenced. I would prefer to have the footnote/placefootnotes
> work so
> that I can easily change the output. Any ideas?
>
> ******* #1
> \setupfootnotes[location=none]
> \starttext
> \dorecurse{100}{test \footnote{eee}\endgraf}
> \page
> \placefootnotes[location=none]
> \stoptext
>
> ******* #2
> \setupfootnotes[location=none]
> \starttext
> \dorecurse{100}{test \footnote{eee}\endgraf}
> \page
> \placefootnotes
> \stoptext
>
> ******* #3
> \setupnote[endnote][location=none]
> \starttext
> \dorecurse{100}{test \endnote{eee}\endgraf}
> \page
> \placenotes[endnote]
> \stoptext
>
> ******* #4
> \starttext
> \dorecurse{6}{ \input tufte \endnote{\input knuth\relax} }
> \page
> \placenotes[endnote]
> \stoptext
It's a bug in the \expdoifcommonelse macro used in MkIV,
it evaluates always the true value and you get footnotes.
Here is a example for Hans:
\starttext
\doifcommonelse{text,page}{none}
{true}
{false}
\expdoifcommonelse{text,page}{none}
{true}
{false}
\stoptext
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-11-25 18:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 13:57 Bart C. Wise
2008-11-25 18:39 ` Bart C. Wise
2008-11-25 18:47 ` Wolfgang Schuster [this message]
2008-11-26 22:22 ` Bart C. Wise
2008-11-27 9:40 ` Taco Hoekwater
2008-11-27 10:17 ` Hans Hagen
2008-11-27 19:44 ` Bart C. Wise
2008-11-27 20:04 ` Wolfgang Schuster
2008-11-27 20:43 ` Bart C. Wise
2008-11-27 21:00 ` Wolfgang Schuster
2008-11-27 22:26 ` Bart C. Wise
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=32EF6512-56B0-4D65-8D5F-A218B05E8462@gmail.com \
--to=schuster.wolfgang@googlemail.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).