Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97374
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Subject | Re: Footnotes in ReST |
| References | <560fbe70$0$1586$c3e8da3$5496439d@news.astraweb.com> |
| Date | 2015-10-03 14:21 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.364.1443874896.28679.python-list@python.org> (permalink) |
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#footnote-references Laura
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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