diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-03-11 20:27:56 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-03-11 20:27:56 +0100 |
commit | 85a665e562782c942f7ab32fd99efb31d7370e53 (patch) | |
tree | 6660e576a6412e5cf182c0364c6b0bbd081ed39c /scripts/bupa | |
parent | d36bc730c7ec3041688d177557de1bfb5a1bb591 (diff) | |
download | website-85a665e562782c942f7ab32fd99efb31d7370e53.tar.xz |
bupa: use superscript footnotes
Diffstat (limited to 'scripts/bupa')
-rwxr-xr-x | scripts/bupa | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/bupa b/scripts/bupa index dd4052e..0676432 100755 --- a/scripts/bupa +++ b/scripts/bupa @@ -27,7 +27,9 @@ class Page(object): self.body = page_dict['body'][0] def reST_to_html(s): - return core.publish_parts(s, writer_name='html4css1')['fragment'] + formated = core.publish_parts(s, writer_name='html4css1', + settings_overrides={'footnote_references': 'superscript'}) + return formated['fragment'] def filename_to_id(file_name): filename = path.split(file_name)[1] |