question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for footnote.

See original GitHub issue

A footnote is two thing :

  • in the document.xml, at the place of the referecence :
<w:r>
  <w:rPr>
    <w:rStyle w:val="FootnoteReference"/>
  </w:rPr>
  <w:footnoteReference w:id="1"/>
</w:r>
  • in the footnote.xml the content of the footnote :
<w:footnote w:id="1">
  <w:p w:rsidRDefault="00D935D7" w:rsidR="00D935D7">
    <w:pPr>
      <w:pStyle w:val="FootnoteText"/>
    </w:pPr>
    <w:r>
      <w:rPr>
        <w:rStyle w:val="FootnoteReference"/>
      </w:rPr>
      <w:footnoteRef/>
    </w:r>
    <w:r>
      <w:t xml:space="preserve"> Note</w:t>
    </w:r>
  </w:p>
</w:footnote>

Issue Analytics

  • State:open
  • Created 10 years ago
  • Reactions:3
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
wildmichaelcommented, Sep 25, 2018

Four years later, and I need this 😄 👍 from me for this issue!

2reactions
NoamLoewensterncommented, Mar 17, 2019

@scanny Hey, I’ve started working with python-docx, and i’ts great. I’ve been looking for ways to add FootNotes, and have seen the problem I’m facing is not new reading this issue.

  1. Possible to merge the Read-Only-Footnotes functionality added by ludoo? (at https://github.com/python-openxml/python-docx/pull/53#issuecomment-453834065)
  2. Adding the Write-Footnotes functionality as Huyston requested? ( at https://github.com/python-openxml/python-docx/issues/1#issuecomment-73216969)
  3. Can either you @scanny or @ludoo help me figure out how to add new FootNotes to a new/existing docx file? The API usage will be best, something like “run.add_footenote(‘Footnote text’)”, but can’t, well, is there any other way to do it programmatically other than opening up the xml-file after it as been compiled as docx, and adding hardcoded-string to that file? An Example of usage will be very appreciated. Thanks so much.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Insert footnotes and endnotes - Microsoft Support
On the References tab, select Insert Footnote or Insert Endnote. On the References tab choose Insert Footnote. Enter what you want in the...
Read more >
Creating footnotes in WORD - Chicago Manual of Style and ...
How to Insert Footnotes in Word 2016 for Windows · 2.Click the References tab. · 3.In the Footnotes group, choose Insert Footnote. This...
Read more >
[New Feature] Support for Footnotes! - LessWrong
1. Manually selecting text in the text box and selecting insert footnote from the footnotes menu icon. The footnote icon is the [*]...
Read more >
Citing in the Text - Footnote - Referencing Guide - Support
A footnote lists the author, title and details of publication, in that order. Footnotes are used when there are only a small number...
Read more >
Support for footnotes · Issue #523 · notable/notable - GitHub
Feature description Support for footnotes example: Footnotes1 are added in-text like so ... And with a matching footnote definition at the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found