footnotes not working for pdf

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

footnotes not working for pdf

Elisa
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
Reply | Threaded
Open this post in threaded view
|

Re: footnotes not working for pdf

David Jencks
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

On Feb 17, 2021, at 5:59 PM, Elisa [via Asciidoctor :: Discussion] <[hidden email]> wrote:

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


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/footnotes-not-working-for-pdf-tp8506.html
To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: footnotes not working for pdf

1marc1
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.
Reply | Threaded
Open this post in threaded view
|

Re: footnotes not working for pdf

mojavelinux
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.

Marc.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/footnotes-not-working-for-pdf-tp8506p8508.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: footnotes not working for pdf

Elisa
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.
Reply | Threaded
Open this post in threaded view
|

Re: footnotes not working for pdf

mojavelinux
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:

$ 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.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/footnotes-not-working-for-pdf-tp8506p8511.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux