From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: 2 sets of footnotes?
Date: Fri, 06 Aug 2010 09:23:51 +0200 [thread overview]
Message-ID: <4C5BB887.6060102@wxs.nl> (raw)
In-Reply-To: <872549.13262.qm@web56306.mail.re3.yahoo.com>
On 6-8-2010 8:35, Martin Althoff wrote:
> Hraban, Thanks.
>
> I will have a play with that -- I am always getting lost in the various sets of syntax rules (mk's, etc)...
>
> You are right, the new MKIV syntax hints at possibilities. Is any documentation other than the footnote page on the wiki and a few recent posts? Do I really have to dig through the sources in base for switches, options, etc?
>
As with most comands, there is a definecommand. As footnotes are
descriptions you set them up with two commands: \setupnote and
\setupdescriptions
>> In ConTeXt MkIV \setupfootnotes is gone, it's
>> \setupnote[footnote] now (and the "conversion" parameter was
>> renamed to "numberconversion"); you can deduct that there
>> are several kinds of notes should be simply possible via
>> \note[mynote]{} etc. (Since \note collides with MkII's
>> \note, I don't know and I can't test at the moment.)
>
>
>> Perhaps add your findings to http://wiki.contextgarden.net/Footnotes
>
> Happy to do so. I have never written on contextgarden. Just go ahead and modify and expand? Or go through the discussion page first? I'm a bit on the cautious side here ..
there you go
\definenote [onenote] [location=page,way=bychapter]
\definenote [twonote] [location=text,way=bychapter]
\starttext
\chapter{First}
\section {Alpha} test \onenote{alpha one} \twonote {alpha two}
\section {Beta} test \onenote{beta one} \twonote {beta two}
\subject {Notes} \placenotes[twonote]
\chapter{Second}
\section {Alpha} test \onenote{alpha one} \twonote {alpha two}
\section {Beta} test \onenote{beta one} \twonote {beta two}
\subject {Notes} \placenotes[twonote]
\stoptext
-----------------------------------------------------------------
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-08-06 7:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-05 10:35 Martin Althoff
2010-08-05 15:21 ` Henning Hraban Ramm
2010-08-06 6:35 ` Martin Althoff
2010-08-06 7:23 ` Hans Hagen [this message]
2010-08-10 2:50 ` Martin Althoff
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=4C5BB887.6060102@wxs.nl \
--to=pragma@wxs.nl \
--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).