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

Footnotes don't appear #30

Closed
wackywendell opened this issue May 9, 2015 · 10 comments · Fixed by #396
Closed

Footnotes don't appear #30

wackywendell opened this issue May 9, 2015 · 10 comments · Fixed by #396

Comments

@wackywendell
Copy link
Contributor

Footnotes do not seem to appear:

= A Test Document
Author Name
:revealjs_theme: simple
:revealjs_transition: none
:revealjsdir: https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.0.0/
:stem: latexmath
:imagesdir: imgs

== Test

This is some text with footnote:[An example footnote.]

The text of the footnote doesn't seem to show up in the HTML:

<section id="_test"><h2>Test</h2><div class="paragraph">
  <p>This is some text with 
    <span class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnote_1" title="View footnote.">1</a>]</span>
  </p>
</div></section>

There's more HTML than that, of course, but nothing with the footnote text in it.

@mojavelinux
Copy link
Member

Footnotes are not implemented in the reveal.js backend. But before we add them, we need to make a design decision. Where should the footnotes appear? Should they appear at the bottom of the slide from which they come? Should they appear on a references slide at the end of the presentation?

It is possible to check for new footnotes at the bottom of a slide and add them. The API is a little clunky, but I believe the necessary information is there.

@wackywendell
Copy link
Contributor Author

Good questions / points. I assumed "footnote" would mean "bottom of slide", given that it normally means "bottom of page", but that is a design assumption...

@mojavelinux
Copy link
Member

Let's start with the bottom of the slide.

@keithbuhler
Copy link

I'll add my vote to putting them on the bottom of the slide. For now, I'm just hyperlinking to references.

@obilodeau
Copy link
Member

Another option to consider: https://github.com/e-gor/Reveal.js-Title-Footer

@lalebarde
Copy link

With Asciidoctor PDF 1.5.0.beta.1 using Asciidoctor 2.0.10, it goes to the last slide. Why not distinguishing:

  • footnote : in the bottom of the slide

  • endnote : in a slide declared as 'endnotes' receipient (not necessarily the last one)

@Ezwen
Copy link

Ezwen commented Sep 11, 2019

This would be great to have! I tend to put references to other papers/works at the bottom of slides using footnotes.

@obilodeau obilodeau added this to the 4.1.0 milestone Mar 19, 2020
@obilodeau
Copy link
Member

I'll explore this for the next release

@ggrossetie
Copy link
Member

Let's start with the bottom of the slide.

In this case, I think we should probably reset the numbering on each slide right?

localhost_63342_asciidoctor-reveal js_examples_footnotes html__ijt=tv4jdq6vih9uc9d3rkmklp8igd localhost_63342_asciidoctor-reveal js_examples_footnotes html__ijt=tv4jdq6vih9uc9d3rkmklp8igd (1)
localhost_63342_asciidoctor-reveal js_examples_footnotes html__ijt=tv4jdq6vih9uc9d3rkmklp8igd (2)

As you can see on the second slide, the footnotes numbering starts at 2... but it feels a bit weird no?

Also, I don't think that we need to generate a link, since the definitions/descriptions are on the same slide.

Of course, if we decide to put footnotes on a dedicated slide then it would be different.

@mojavelinux
Copy link
Member

I agree if the footnotes go on the slide, the numbering should be reset (if possible).

Being able to put the footnotes on the final slide is an interesting idea. It would match the presentation pattern of putting credits on the last slide. So I think it would be worthwhile to explore.

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

Successfully merging a pull request may close this issue.

7 participants