From 85a665e562782c942f7ab32fd99efb31d7370e53 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 11 Mar 2015 20:27:56 +0100 Subject: bupa: use superscript footnotes --- scripts/bupa | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/bupa') 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] -- cgit v1.2.3-70-g09d2