Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi, spent a long time trying to got footnotes working properly for pdf output. HTML works fine.
At present, the content that should show up in footnotes at the send of a chapter section in a book is displaying within the text like this: [1. Footnote content] The numbers are working properly. The footnotes are just not placed at the end of the section. Very puzzling. Here is output for asciidoctor-pdf --version: Asciidoctor PDF 1.5.0.alpha.16 using Asciidoctor 2.0.12 [https://asciidoctor.org] Runtime Environment (ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin18]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8) I've spent quite some time hunting for answers and have eliminated whatever problems I know how to fix. Please help. Thanks! - Elisa |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
I’m by no means an expert in asciidoctor-pdf but I see some tests for footnotes and that the latest version of Ruby they are run on is 2.7. It might possibly be worth trying downgrading Ruby to see what happens… and filing an issue if it fixes the problem (if no one else has) :-).
Just a guess… David Jencks
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
In reply to this post by Elisa
I am pretty sure this is the way it works in AsciiDoctor 1.5.0.alpha.16. Update to a newer version (1.5.3 or 1.5.4) and the footnotes should show up as you described.
Marc. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
Marc. is correct, the version of Asciidoctor PDF you're using (1.5.0.alpha.16) is too old (from Jul 2017) and very far from a supported version. You should be on at least a 1.5.x version, preferably 1.5.4. Then the footnotes will be placed at the end of each chapter (for books) or the document (for articles). Best Regards, -Dan On Wed, Feb 17, 2021 at 7:51 PM 1marc1 [via Asciidoctor :: Discussion] <[hidden email]> wrote: I am pretty sure this is the way it works in AsciiDoctor 1.5.0.alpha.16. Update to a newer version (1.5.3 or 1.5.4) and the footnotes should show up as you described. -- Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Ah, that then connects with a different problem:
$ gem update asciidoctor-pdf Updating installed gems Updating asciidoctor-pdf ERROR: While executing gem ... (NoMethodError) undefined method `request' for nil:NilClass I don't know how to get around that problem. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
This problem is due to a conflict between a dependency of Asciidoctor PDF 1.5.x and Ruby 3 at install time. For those following, this discussion continues here: https://discuss.asciidoctor.org/error-message-on-trying-to-update-asciidoctor-pdf-td8512.html Best Regards, -Dan On Thu, Feb 18, 2021 at 10:36 AM Elisa [via Asciidoctor :: Discussion] <[hidden email]> wrote: Ah, that then connects with a different problem: ... [show rest of quote] -- Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux |
Free forum by Nabble | Edit this page |