-
-
Notifications
You must be signed in to change notification settings - Fork 710
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
Support footnotes #298
Comments
Is there a workaround for footnotes at this moment? We're thinking of switching from LaTeX to WeasyPrint, and footnotes appear to be the only feature missing. Thanks for your help 👍 |
There's unfortunately no real workaround, unless you know the maximum height of your footnotes and thus can put them on the bottom page margin. (That's ugly.) What we have to support is page floats, see #259. |
Oh, and there's a section dedicated to footnotes in GCPM. |
Great, thanks for your support 😃 |
Is this feature in the roadmap of WeasyPrint? |
Implementing page floats will require a complete redesign of WeasyPrint's layout concept. Rendering the pages first and filling the margin boxes afterwards won't work anymore. A huge task. |
Support for footnotes would be really useful, especially if the required changes in Weasyprint would also lead to support for other floated content. It's been a year since the last comment, is there anything on the roadmap that leads in this direction? Are there any tasks where new contributors could be helpful, for instance? |
The feature is listed in the roadmap, but there’s no specific date yet. As explained in that article, we’ll ask what’s important for users as soon as Cairo has been removed. For sure, this feature will probably be in good place judging from the 👍🏼s.
Unfortunately, that’s not the easiest feature to add for new contributors. The paged layout features and modern layouts (and even proper right-to-left support) will probably need #36 to be solved before. It may be the next big change to come in WeasyPrint. If anyone wants to start contributing, a good start is to solve one of the good first issues. And if you’re not fond of Python and CSS specs, donations really help us to give more time and love to WeasyPrint. |
Hello! (The survey is now closed. Thanks for all your answers! We’ll share the results soon 😉) If you’re interested in footnotes, we created a short survey where you can give a boost to this feature and help us to improve WeasyPrint 😉 Vote for it! |
Thanks to 💜 @code-and-co 💜, footnotes are now supported by WeasyPrint. What’s missing from the specification:
Everything else should work correctly. Don’t hesitate to test and give us feedback! |
No description provided.
The text was updated successfully, but these errors were encountered: