Footnotes in ReST

Steven D'Aprano steve at pearwood.info
Sat Oct 3 07:39:26 EDT 2015


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




More information about the Python-list mailing list