Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97372

Re: Footnotes in ReST

References <560fbe70$0$1586$c3e8da3$5496439d@news.astraweb.com>
Date 2015-10-03 21:57 +1000
Subject Re: Footnotes in ReST
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.362.1443873478.28679.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Oct 3, 2015 at 9:39 PM, Steven D'Aprano <steve@pearwood.info> wrote:
> 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?

Now that they're all numbered manually? Not sure. But if you know in
advance you're going to have that kind of thing, there are other ways
to do footnotes:

https://hg.python.org/peps/file/tip/pep-0498.txt
https://www.python.org/dev/peps/pep-0498/

Otherwise, I'd look at scripting the 997-footnote changes. It
shouldn't be too hard to script - will probably take only twice as
long as doing it manually would have...

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Footnotes in ReST Steven D'Aprano <steve@pearwood.info> - 2015-10-03 21:39 +1000
  Re: Footnotes in ReST Chris Angelico <rosuav@gmail.com> - 2015-10-03 21:57 +1000
  Re: Footnotes in ReST Laura Creighton <lac@openend.se> - 2015-10-03 14:21 +0200
    Re: Footnotes in ReST Steven D'Aprano <steve@pearwood.info> - 2015-10-04 00:22 +1000
  Re: Footnotes in ReST Peter Otten <__peter__@web.de> - 2015-10-04 11:50 +0200
  Re: Footnotes in ReST Peter Otten <__peter__@web.de> - 2015-10-04 12:14 +0200

csiph-web