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

Fix PDF footnotes #661

Merged
merged 3 commits into from
Apr 19, 2023
Merged

Fix PDF footnotes #661

merged 3 commits into from
Apr 19, 2023

Conversation

arthurattwell
Copy link
Member

I missed this when creating EBTv2's merged HTML, so on-page footnotes were broken in PDF output. This fixes that, improves the logic, and adds examples.

I missed this when creating EBTv2, so footnotes
were broken when we started merging HTML for PDF.
This fixes that, and improves the logic, too.
@netlify
Copy link

netlify bot commented Apr 18, 2023

Deploy Preview for electric-book ready!

Name Link
🔨 Latest commit 5f4f6d7
🔍 Latest deploy log https://app.netlify.com/sites/electric-book/deploys/643ffa55add5d400084a81b3
😎 Deploy Preview https://deploy-preview-661--electric-book.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

containingElement, footnoteReferenceContainer;
// Make a div.page-footnote
var pageFootnote = document.createElement('div')
// pageFootnote.className += ' page-footnote'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps remove this commented-out line before merging?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LouiseSteward Thanks! Nice catch. Done in 5f4f6d7.

@arthurattwell arthurattwell merged commit 1f07b16 into master Apr 19, 2023
@arthurattwell arthurattwell deleted the fix-pdf-footnotes branch April 20, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants