Double ToC

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

Double ToC

KillianPerea
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Double ToC

mojavelinux
Administrator
What you're talking about is best implemented as an extension. The Asciidoctor AST (abstract syntax tree) has access to all the block-level objects, such as figures. Using a Treeprocessor {1}, you could add a new list node somewhere in the document that provides a list of figures. This will require being able to write an extension, so it's not really a beginner task. But once someone creates such an extension, it should be possible for anyone else to make use of it without too much technical knowledge.

-Dan


On Fri, Mar 4, 2016 at 7:05 AM, KillianPerea [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi, i'm a beginner on asciidoctor and asciidoctor-pdf and i'm trying to make a double ToC, my objective is put into my document  1 ToC for the content and 1 ToC for figures(Index of figures), it's possible?

Thanks and sorry for my bad english.


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



--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen