From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100392 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to setup the footnote number in local footnotes Date: Sun, 25 Mar 2018 17:29:01 +0200 Message-ID: <5AB7C03D.9040804@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5892993213031466591==" X-Trace: blaine.gmane.org 1521991652 25671 195.159.176.226 (25 Mar 2018 15:27:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 15:27:32 +0000 (UTC) User-Agent: Postbox 5.0.24 (Macintosh/20180302) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 25 17:27:27 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f07YN-0006Zj-Lz for gctc-ntg-context-518@m.gmane.org; Sun, 25 Mar 2018 17:27:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CE34F5C3206; Sun, 25 Mar 2018 17:29:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e9Mjqs4qVl41; Sun, 25 Mar 2018 17:29:17 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 287815C3453; Sun, 25 Mar 2018 17:29:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 26B795C3453 for ; Sun, 25 Mar 2018 17:29:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eIa6-lUj-2VU for ; Sun, 25 Mar 2018 17:29:15 +0200 (CEST) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 703EC5C3452 for ; Sun, 25 Mar 2018 17:29:05 +0200 (CEST) Original-Received: by mail-wm0-f44.google.com with SMTP id r82so11185009wme.0 for ; Sun, 25 Mar 2018 08:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=4j96ZUErHz23CW8zDc7VtTqm/xnvbI8CV8zteSWAUTY=; b=oS11HlcDl7YQaSUDayfofhi66cRJNQb91Dr6suNpY22jVTEPViK2YwHZy6iMvFMOpl NZ/txuvS6tDpAJ+eUykyV57clb1+phvshFqZt0UVzCTYUSGegpu1rBGTP6FHPUWyLkxU LGGQuEtMJj1bMbh8ckWuznpPBS29LE/GNV3gV+d1C8qhIEujjLG895dcOuSaUDJw5TfY dH6uC31mbaMdChsWH0j+3vo/EP6dXEJmGGgJz96rGR5x5oU7r6utTRuNIfVdAdr/XrQ2 XOHz2Rvr4rloHfl22nBeSdRQcKA8TCVPXgUPsIPtS/U//juLKB/75CWJiofK+fQQQOz7 GSRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=4j96ZUErHz23CW8zDc7VtTqm/xnvbI8CV8zteSWAUTY=; b=bWAv23CGp4pwektERKxQZuVMweNDMiyV3hoH08+F6Mn0W1WttZmGxbgLe8LnbncNyP qZydp3BR/nhNBL9wziqjQSqwnIBxNxX9+WJpb7ynRP0dcjqwhGBaClNUe5A3Qbhxo2yo VZpqXNeeuU52Uhh+Mww0R0hb8DX8uFnt8L8sW9Duk4JDcj+ka3brKYbHGzpx4bjYxLS/ SLfcp9klKSe8XfODDH8aZ8ZpbXZuov6XbYDDKclpz23UFF8V3KkPgdlNYFLAG3iI20Ds EAT5EWs81gsCcacLvsafUlx06WxpjQPdgu9DVg1Y+F1vU7PbSGjlQR1Q6E4JGvbQcYTw tG6w== X-Gm-Message-State: AElRT7GIMGbRlpUlygMeEhHKsxLDDvJfg+6Qjuu0hPUoODqGv/Ece1Mc YjfrwsInB1Dw9GX8L3nut3qjbbhz X-Google-Smtp-Source: AG47ELt4spNiRD55ZNZw9ZjQwjESLsHgC/BaZStI77qw96/BZfERAKc3kUkovfXuyg60khfjAbO3bA== X-Received: by 10.80.145.49 with SMTP id e46mr26500213eda.252.1521991744895; Sun, 25 Mar 2018 08:29:04 -0700 (PDT) Original-Received: from [192.168.1.11] (x5ce1eec6.dyn.telefonica.de. [92.225.238.198]) by smtp.gmail.com with ESMTPSA id i89sm5096465edi.12.2018.03.25.08.29.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Mar 2018 08:29:04 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100392 Archived-At: This is a multi-part message in MIME format. --===============5892993213031466591== Content-Type: multipart/alternative; boundary="------------070904050103070602030007" This is a multi-part message in MIME format. --------------070904050103070602030007 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Idris Samawi Hamid ادريس سماوي حامد > 25. März 2018 um 17:04 > Dear gang, > > Consider the following: > > ============== > \starttext > \startframedtext[width=fit,frame=off,offset=0pt] > % \startlocalfootnotes[n=2] > \startlocalfootnotes > \input ward > \startfootnote > \input ward > \stopfootnote > > \placelocalfootnotes > \stoplocalfootnotes > \stopframedtext > \stoptext > ============== > > See attached: > > 1) Would like the footnote-number counter to start at 2, not 1. Add \setcounter[footnote][1] after \startlocalfootnotes. > 2) Alternatively, would like to be able to define a conversion that > sets the footnote numeral to 2. > 3) Uncommenting the line % \startlocalfootnotes[n=2] doesn't work, > although it is mentioned here: > http://wiki.contextgarden.net/Command/startlocalfootnotes > So that must be for MKII.. Check setup-en.pdf for valid arguments in MkIV. Wolfgang --------------070904050103070602030007 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Dear gang,

Consider the following:

==============
\starttext
\startframedtext[width=fit,frame=off,offset=0pt]
% \startlocalfootnotes[n=2]
\startlocalfootnotes
\input ward
\startfootnote
\input ward
\stopfootnote

\placelocalfootnotes
\stoplocalfootnotes
\stopframedtext
\stoptext
==============

See attached:

1) Would like the footnote-number counter to start at 2, not 1.

Add

    \setcounter[footnote][1]

after \startlocalfootnotes.

2) Alternatively, would like to be able to define a conversion that sets the footnote numeral to 2.
3) Uncommenting the line % \startlocalfootnotes[n=2] doesn't work, although it is mentioned here:
http://wiki.contextgarden.net/Command/startlocalfootnotes
So that must be for MKII..

Check setup-en.pdf for valid arguments in MkIV.

Wolfgang
--------------070904050103070602030007-- --===============5892993213031466591== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5892993213031466591==--