I am using asciid for an article. In the end of my document I want to have a list of figures. How to I create a list of figures? Did not find something useful in the documentation for me.
How to get list of figures in Asciidoc
1.9k Views Asked by EhmKah a.k.a. Michael Krauße At
1
There are 1 best solutions below
Related Questions in ASCIIDOC
- Can I display asciidoc document in github?
- assigning variable names/tags to asciidoc document so I can use those names in jinja template
- Include docx file in asciidoc?
- How to align multiline values in AsciiDoc table?
- How to get list of figures in Asciidoc
- Included files after list not rendered correctly
- How to include a toc when going from AsciiDoctor to Markdown via Pandoc?
- asciidoc section titles not working
- asciiDoc - draw screen prototypes GUI mockup
- Is there a sane way to produce Word or OpenOffice documents from light markup formats like Asciidoc or Markdown?
- Asciidoc autonumbering callouts with modified start number
- Docker Image created by Google JIB did not include asciidoc of spring rest docs
- Asciidoc numbered sections, but only part of document
- asciidoc: source block aligned into nested list item
- Generate single PDF from multiple Asciidoc files
Related Questions in ASCIIDOCTOR
- Asciidoctor navigation bar
- How to serve generated static HTML file with Jersey 2?
- assigning variable names/tags to asciidoc document so I can use those names in jinja template
- In asciidoc how do I execute a macro only for pdf generation?
- Include docx file in asciidoc?
- add cover page with asciidoctor
- How to get list of figures in Asciidoc
- How to include a toc when going from AsciiDoctor to Markdown via Pandoc?
- How to specify a default label on a asciidoctor bibliograpy
- Asciidoc autonumbering callouts with modified start number
- Asciidoc numbered sections, but only part of document
- No images in generated PDF document (from Asciidoc to PDF)
- Generate single PDF from multiple Asciidoc files
- Asciidoctor tables in docx no style
- auto-generating list of figures and list of tables in asciidoctor
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Nope there isn't one at the time of answer. I checked the docs (which you indicated you did as well) and I also grepped the codebase. There is good news though! You should be able to do this with an extension.
Extensions can be written in any JVM language if you're using asciidoctorj, or in Ruby if you're using the core asciidoctor (I'm not sure about JavaScript for asciidoctorjs). You'll need to create two extensions probably: a TreeProcessor extension to go through the whole AST looking for images and pulling them out into a storage structure. Then you'll also need to create either an inline or block macro to actually place it within the page.
I strongly recommend examining the API for the nodes and functions you'll want to make use of. There are some other examples of processors that may also be helpful to examine.