From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55475 Path: news.gmane.org!not-for-mail From: Bowen Alan C. Newsgroups: gmane.comp.tex.context Subject: resetting local footnote number (conversion = character) Date: Wed, 06 Jan 2010 11:30:13 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/mixed; boundary="===============1745249999==" X-Trace: ger.gmane.org 1262795440 8364 80.91.229.12 (6 Jan 2010 16:30:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2010 16:30:40 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 06 17:30:33 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.50) id 1NSYmG-0007U6-0j for gctc-ntg-context-518@m.gmane.org; Wed, 06 Jan 2010 17:30:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF633C9C44; Wed, 6 Jan 2010 17:30:31 +0100 (CET) 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 VkMY+7RUnPh9; Wed, 6 Jan 2010 17:30:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59DE1C9C58; Wed, 6 Jan 2010 17:30:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A113C9C58 for ; Wed, 6 Jan 2010 17:30:28 +0100 (CET) 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 AnUiOvUFPVAm for ; Wed, 6 Jan 2010 17:30:25 +0100 (CET) Original-Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) by balder.ntg.nl (Postfix) with ESMTP id C6DE9C9C44 for ; Wed, 6 Jan 2010 17:30:25 +0100 (CET) Original-Received: from w144173.wireless.ias.edu ([192.16.204.74]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KVU00M7836DUU60@vms173005.mailsrvcs.net> for ntg-context@ntg.nl; Wed, 06 Jan 2010 10:30:14 -0600 (CST) X-Mailer: Apple Mail (2.1077) 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:55475 Archived-At: --===============1745249999== Content-type: multipart/alternative; boundary=Apple-Mail-1-1020372261 --Apple-Mail-1-1020372261 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Yet another try. I have some local footnotes (conversion =3D character) and would like to = reset set the counter =20 (a) to =93a=94 and=20 (b) to a specific value other than =93a=94.=20 How can I do this? re (a)=20 \resetnumber[localfootnote] does not work.=20 ! Missing \endcsname inserted. =20 \numberlocalfootnotenumber=20 \setcounter #1#2->\@EA \xdef \csname #1 \endcsname {\the \numexpr = #2\relax } l.217 \resetnumber[localfootnote] Am I even right to assume that there is a pre-defined localfootnote = counter? Alan --Apple-Mail-1-1020372261 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Yet = another try.

I have some local footnotes (conversion = =3D character) and would like to reset  set the counter =  
(a) to =93a=94 and 
(b) to a specific = value other than =93a=94. 
How can I do = this?

re = (a) 
\resetnumber[localfootnote] does not = work. 
! Missing \endcsname = inserted.
<to be read again> 
\setcounter #1#2->\@EA \xdef = \csname #1
             =                     =       \endcsname {\the \numexpr #2\relax }