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

Display footnotes at bottom of page instead of inline #73

Closed
mojavelinux opened this issue Dec 12, 2014 · 13 comments
Closed

Display footnotes at bottom of page instead of inline #73

mojavelinux opened this issue Dec 12, 2014 · 13 comments
Assignees

Comments

@mojavelinux
Copy link
Member

Display footnotes at the bottom of the page instead of inline.

@mojavelinux mojavelinux self-assigned this Dec 12, 2014
@mojavelinux mojavelinux added this to the v1.6.0 milestone Dec 12, 2014
@mojavelinux mojavelinux modified the milestones: v1.5.0, v1.6.0 May 24, 2015
@mojavelinux
Copy link
Member Author

I think for 1.5.0 we can start by displaying them at the end of the chapter. Putting them at the bottom of the page is very difficult task.

@rlopez133
Copy link

Excited to see this in the beta milestones with the next tag! 👍

@Gitward
Copy link

Gitward commented Jun 7, 2016

Displaying footnotes seems to work when creating the PDF using https://github.com/asciidocfx/AsciidocFX . What have they done to solve the problem?

My Test-document:

= Test
:doctype: article
:notitle:
:!toc:

AsciidocFX shows links in PDFs as footnotes http://stackoverflow.com[SO].

.Asciidoc in PDF does not work in Asciidoctor, but works in AsciidocFX.
[cols="2,5a"]
|===
|Line with Asciidoc code
|here comes a list:

* item 1
* item 2
* item 3

http://stackoverflow.com[Get Answers]!

|Line
|with a footnotefootnote:[footnotes do work in AsciidocFX's PDF output (but not in the preview).]

|===

The output of asciidoctor (using gradle):

asciidoctor

The output of asciidocFX:

asciidocfx

@mojavelinux
Copy link
Member Author

AsciiDocFX is not yet using Asciidoctor PDF. Instead, it uses the DocBook toolchain. It's essentially using fopub under the covers, which executes and manages the DocBook toolchain.

@PierreR
Copy link

PierreR commented Jul 5, 2016

I had been so disappointed when I realized this was not yet implemented ... And would be so happy if it could come up soonish ;-)

@mojavelinux
Copy link
Member Author

I'm essentially proposing that we start with treating footnotes as endnotes. I think that's a good first step.

@mojavelinux
Copy link
Member Author

For the book doctype, the footnotes should be placed at the end of the chapter. For the article doctype, the footnotes should be placed at the end of the document.

As each footnote is visited, create and insert an anchor point next to the footnote number and store the entry in a table. When a new chapter is started (book doctype only), or the end of the document is reached, back up a page and place the footnotes at the bottom of the page (or on next page if not enough space is available on the previous page). It should be possible to jump back and forth between the footnote number and the footnote entry by clicking on the number.

@mojavelinux
Copy link
Member Author

Note that this is a duplicate of #85.

@mojavelinux
Copy link
Member Author

As soon as I get back to working on Asciidoctor PDF, I'll dive into this issue. I got called away in Jan for a big job and have been a bit behind.

@barspi
Copy link

barspi commented Jan 31, 2017

Eagerly awaiting the release of alpha.14 :-)

@mescobal
Copy link

Any news about this bug? The ONE thing that I need to continue writing a book using asciidoc!!!!!!

@mojavelinux
Copy link
Member Author

mojavelinux commented Mar 19, 2018

I would advise following this issue, which is where the main discussion is happening. #85 (comment)

I'm going to mark this issue as a duplicate so we can consolidate the conversation.

@mojavelinux
Copy link
Member Author

We decided to make them end notes. Solved by the fix for #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants