From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: Alan BRASLAU <alan.braslau@cea.fr>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setupnote (was subfootnote)
Date: Tue, 12 Oct 2010 13:35:19 +0200 [thread overview]
Message-ID: <CB185421-9C5F-4322-AC8A-148C732100A2@gmail.com> (raw)
In-Reply-To: <201010121148.41325.alan.braslau@cea.fr>
Am 12.10.2010 um 11:48 schrieb Alan BRASLAU:
> On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote:
>> Am 05.10.2010 um 14:41 schrieb Alan BRASLAU:
>>>
>>> The above example illustrates a *spacing problem* after
>>> \startfootnote \stopfootnote
>>> (the spacing after the footnote enumerator differs from \footnote{xxxx})
>>
>> The \stopfootnote gobbles the next space, to prevent this you can say in
>> mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is
>> missing in mkiv.
>
> Indeed!
> What to do?
Patch strc-not.mkiv
\def\dodoredefinenotecommands#1#2#3%
{\unexpanded\expandafter\def\csname\e!start#3#1\expandafter\endcsname\expandafter
{\expandafter\dosingleempty\csname\s!do\e!start#3#1\endcsname}%
\unexpanded\expandafter\def\csname\s!do\e!start#3#1\expandafter\endcsname
\expandafter[\expandafter##\expandafter1\expandafter]\expandafter##\expandafter2\csname\e!stop#3#1\endcsname
{\begingroup
\doenumerationinit{#1}{#2}{#3}%
\@@notemakedescription[##1]{}{##2}%
\endgroup
\namednoteparameter{#1}\c!next}}
Example:
\starttext
One\startfootnote one\stopfootnote
Two\startfootnote two\stopfootnote
\setupnote[footnote][next=\autoinsertnextspace]
One\startfootnote one\stopfootnote
Two\startfootnote two\stopfootnote
\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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-10-12 11:35 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-30 12:03 subfootnote Steffen Wolfrum
2010-09-30 16:05 ` subfootnote Aditya Mahajan
2010-09-30 16:28 ` subfootnote Wolfgang Schuster
2010-09-30 16:53 ` subfootnote Steffen Wolfrum
2010-09-30 18:06 ` subfootnote Wolfgang Schuster
2010-09-30 18:31 ` subfootnote Steffen Wolfrum
2010-09-30 18:42 ` subfootnote Wolfgang Schuster
2010-09-30 18:57 ` subfootnote Steffen Wolfrum
2010-09-30 20:07 ` subfootnote Hans Hagen
2010-09-30 20:06 ` subfootnote Hans Hagen
2010-10-05 12:41 ` subfootnote Alan BRASLAU
2010-10-05 13:32 ` subfootnote Wolfgang Schuster
2010-10-05 14:01 ` subfootnote Steffen Wolfrum
2010-10-07 8:36 ` subfootnote Hans Hagen
2011-02-15 10:24 ` subfootnote Steffen Wolfrum
2010-10-12 9:48 ` \setupnote (was subfootnote) Alan BRASLAU
2010-10-12 9:54 ` Steffen Wolfrum
2010-10-12 10:27 ` Alan BRASLAU
2010-10-12 10:39 ` luigi scarso
2010-10-12 11:09 ` Yury G. Kudryashov
2010-10-12 11:32 ` luigi scarso
2010-10-12 14:46 ` Aditya Mahajan
2010-10-14 9:03 ` luigi scarso
2010-10-12 11:35 ` Wolfgang Schuster [this message]
2010-10-12 14:51 ` Aditya Mahajan
2010-10-12 15:06 ` Alan BRASLAU
2010-10-12 15:18 ` 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=CB185421-9C5F-4322-AC8A-148C732100A2@gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=alan.braslau@cea.fr \
--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).