Path: csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:sourceforge': 0.03; 'cc:addr:python-list': 0.09; "'#'": 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'url:rst': 0.09; 'syntax': 0.13; 'do,': 0.15; '[3],': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'footnote': 0.16; 'footnotes': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'help?': 0.16; 'message- id:@fido.openend.se': 0.16; 'numbered': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'restructured': 0.16; 'to:addr:pearwood.info': 0.16; "to:name:steven d'aprano": 0.16; 'url:docutils': 0.16; 'laura': 0.18; "shouldn't": 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'sat,': 0.23; 'written': 0.24; 'rest': 0.26; '[2]': 0.27; 'format,': 0.27; 'itself,': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; '[1]': 0.32; 'add': 0.34; 'text': 0.35; 'something': 0.35; 'but': 0.36; 'instead': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'header:Message-Id:1': 0.61; 'between': 0.65; '+1000,': 0.84; 'hand.': 0.84; 'header:In-reply-to:1': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openend.se; s=default; t=1443874887; bh=IepTL52CtLsFWfjqLtSzL8/IjvW1a0/Q7TKu52Z4sN8=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=wL5Qjivw4BNU5BzI2L9Mua5zrhr8BvmGgiidKw/cT8LdPjEqtoA9Vc0dSUyw/MihE 5ZNIHfme0QKeolDjbmt9H9xIXwi/vtC+n06SZ+97bRN0/MDXh/MkH2uJmJx0fcFfR/ tX31bwMdVmPzOgA9siSuIqXsp773hkF9EzvsOGiE= To: "Steven D'Aprano" cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Footnotes in ReST In-reply-to: <560fbe70$0$1586$c3e8da3$5496439d@news.astraweb.com> References: <560fbe70$0$1586$c3e8da3$5496439d@news.astraweb.com> Comments: In-reply-to "Steven D'Aprano" message dated "Sat, 03 Oct 2015 21:39:26 +1000." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17097.1443874885.1@fido> Content-Transfer-Encoding: quoted-printable Date: Sat, 03 Oct 2015 14:21:25 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sat, 03 Oct 2015 14:21:27 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1443874896 news.xs4all.nl 23844 [2001:888:2000:d::a6]:56544 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97374 In a message of Sat, 03 Oct 2015 21:39:26 +1000, "Steven D'Aprano" writes: >I have a document written in Restructured Text format, and I use lots of >footnotes: > > blah blah blah [1]_ and blah blah blah [2]_. > blah blah [3]_ blah ... blah blah > blah blah [999]_. > > .. [1] fe > .. [2] fi > .. [3] fo > ... > .. [999] fum > > >I need to add a footnote between [2] and [3], but I don't want to have to >renumber the following 997 footnotes by hand. Is there something I can do= , >within the syntax of ReST itself, to help? > > >-- = >Steven You shouldn't have numbered them manually in the first place. Use '#' instead to get automatic numbered footnotes. http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#footnot= e-references Laura