footnotes per chapter

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

footnotes per chapter

gour
Hello,

I'm very ecstatic about Asciidoc(tor) - performance is really great and have just started using it...I have master document in which I include each chapter (for some small course I'm working on). Now i wonder if it's possible to get footnotes rendered/counted  per chapter and not per book as it's default?

Sincerely,
Gour
   
Reply | Threaded
Open this post in threaded view
|

Re: footnotes per chapter

mojavelinux
Administrator
Gour,

This is a requirement that AsciiDoc Python never implemented, and thus we haven't yet done it in Asciidoctor. I think AsciiDoc Python relied on the DocBook toolchain for these sorts of things...meaning the html backend in AsciiDoc Python was less formal HTML output. We can go further in Asciidoctor.

Would you be willing to open this as a feature request in the asciidoctor repository? (https://github.com/asciidoctor/asciidoctor/issues)

Until then, one way to implement this is by creating a custom template for section {1} (which is what handles chapters) and read off the footnotes that belong to each section. You may run into a problem, however, that the section to which the footnote belongs is not stored...so we may need to look into adding that info.

> I'm very ecstatic about Asciidoc(tor) - performance is really great and have just started using it

I'm super glad to hear that!!

-Dan


On Fri, Aug 15, 2014 at 12:39 AM, gour [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hello,

I'm very ecstatic about Asciidoc(tor) - performance is really great and have just started using it...I have master document in which I include each chapter (for some small course I'm working on). Now i wonder if it's possible to get footnotes rendered/counted  per chapter and not per book as it's default?

Sincerely,
Gour
   



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



--
Reply | Threaded
Open this post in threaded view
|

Re: footnotes per chapter

gour
On Mon, 15 Sep 2014 23:39:42 -0700 (PDT)
"mojavelinux [via Asciidoctor :: Discussion]"
<[hidden email]> wrote:

> Would you be willing to open this as a feature request in the
> asciidoctor repository?
> (https://github.com/asciidoctor/asciidoctor/issues)

https://github.com/asciidoctor/asciidoctor/issues/1124


Sincerely,
Gour

--
Never was there a time when I did not exist,
nor you, nor all these kings; nor in the future
shall any of us cease to be.
Reply | Threaded
Open this post in threaded view
|

Re: footnotes per chapter

mojavelinux
Administrator

On Mon, Sep 29, 2014 at 7:14 AM, gour [via Asciidoctor :: Discussion] <[hidden email]> wrote:
https://github.com/asciidoctor/asciidoctor/issues/1124

Thanks for taking the time to file the issue.