From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62533 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setupnote (was subfootnote) Date: Tue, 12 Oct 2010 13:35:19 +0200 Message-ID: References: <91A5411F-DDCF-41DD-BAE9-D2748D1D5A7D@st.estfiles.de> <201010051441.06873.alan.braslau@cea.fr> <201010121148.41325.alan.braslau@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286883333 23856 80.91.229.12 (12 Oct 2010 11:35:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 11:35:33 +0000 (UTC) Cc: mailing list for ConTeXt users To: Alan BRASLAU Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 12 13:35:32 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5d8m-0002Uc-0i for gctc-ntg-context-518@m.gmane.org; Tue, 12 Oct 2010 13:35:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A18BCA6F3; Tue, 12 Oct 2010 13:35:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BQ8v85aDf4Ep; Tue, 12 Oct 2010 13:35:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B246DCA6DE; Tue, 12 Oct 2010 13:35:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 49163CA6DE for ; Tue, 12 Oct 2010 13:35:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id itj10ZoF2coR for ; Tue, 12 Oct 2010 13:35:25 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 2A748CA60F for ; Tue, 12 Oct 2010 13:35:25 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9CBZOed002168 for ; Tue, 12 Oct 2010 13:35:24 +0200 Original-Received: by bwz19 with SMTP id 19so3261372bwz.14 for ; Tue, 12 Oct 2010 04:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=16cpLZqu8jCx58t3uESx4DkDuwwUWFQrDxHzhSCHYoU=; b=gxmp4Ia25j61ZMdb0A8BmecQ27XSwCXqC9o4VgPmQRANHDtfjAq9Qi/jot1YbLvTI9 vb7AOcV1vyheOwJDf37lgqLfIr4fGH/JKz39JNIfGtT4VPHhMcltv9UhS9g+ZH5Kv7av sPYFEB6IRcu3NcFXJSf6p2XzWGPDCoJaSuWLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=Wyt9DqtVAgmAkaDofGV+lmmf7SdCssqvOUIkui7Jg4C1HTmswJEAlZ5b0t02aSwcxy T8CC7TkEx4tebs18LkdP/TNXDTGdelXNIJqlIBMAC4XHQAWYXlqna7WfRdzdUXhAkRvk g9qtIFpKTnkkV1kzngm2usi8lqTGznisYcWvQ= Original-Received: by 10.204.156.212 with SMTP id y20mr6219161bkw.179.1286883324392; Tue, 12 Oct 2010 04:35:24 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B293E7F.dip.t-dialin.net [91.41.62.127]) by mx.google.com with ESMTPS id p34sm4390549bkf.15.2010.10.12.04.35.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Oct 2010 04:35:22 -0700 (PDT) In-Reply-To: <201010121148.41325.alan.braslau@cea.fr> X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03DhLzoX3 - 4e53f41ba6ee - 20101012 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:62533 Archived-At: 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=3D\autoinsertnextspace] but the =94next= =94 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\exp= andafter {\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=3D\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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________