Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML writer: Use different structure for epub footnotes. #8676

Merged
merged 3 commits into from
Mar 8, 2023
Merged

Commits on Mar 8, 2023

  1. HTML writer: Use different structure for epub footnotes.

    Many EPUB readers are thrown off by pandoc's current footnote
    output.  Both the ol and the fact that the footnote backlink is
    at the end of the note seem to pose problems.
    
    With this commit, we now create a list of aside (or div) elements,
    instead of an ordered list. Each element begins with a note number
    that is linked back to the note reference.  (So, the backlink occurs
    at the beginning rather than the end.)
    
    References:
    
    - https://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf
    - http://kb.daisy.org/publishing/docs/html/notes.html
    
    See #8672, closes #5583.
    
    Thanks to @Porges and @lewer.
    jgm committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    2868032 View commit details
    Browse the repository at this point in the history
  2. Clean up newlines.

    jgm committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    f7ba99f View commit details
    Browse the repository at this point in the history
  3. More newline fixes.

    jgm committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    54c9322 View commit details
    Browse the repository at this point in the history