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 answers
Related Questions in ASCIIDOC
- Is there a way to combine curly quotes and em dash in AsciiDoc?
- How do I include visible spaces in code listing in table
- Is there a way to render the document attributes of an asciidoc file and output to an adoc file?
- Ascii doc syntaxes not provide consistent output & not working as expected
- How do I add a "copy to clipboard" button block extension?
- Table in pdf, generated from Asciidoctor have word wrapping but the word becomes unsearchable
- Is there a (good) 3-way merge driver for ASCII-DOC files?
- How can I publish asciidoc containing plantUML digram to GitHub's Wiki
- How do I enable tabs in Asciidoc and Maven with asciidoctor-tabs and asciidoctor-maven-plugin?
- Render a PlantUML diagram in an asciidoc readme in GitLab
- How to modify the html template used by Jekyll AsciiDoc HTML generator
- Asciidoctor tables in docx no style
- I am getting `Error creating DOCX from AsciiDoc file` in IntelliJ Idea, How can this be resolved?
- What's the correct way to render Asciidoc HTML in Gatsby?
- How to include partial with different attributes and without empty lines
Related Questions in ASCIIDOCTOR
- Is there a way to combine curly quotes and em dash in AsciiDoc?
- How do I include visible spaces in code listing in table
- Doctoolchain Docker Container fails to pull in dependencies
- Is there a way to render the document attributes of an asciidoc file and output to an adoc file?
- How can I render mermaid diagrams of type C4 in asciidoctor?
- batch script returns unexpectedly after first asciidoctor command completion
- How to get Asciidoctor to render source tags with color
- Table in pdf, generated from Asciidoctor have word wrapping but the word becomes unsearchable
- Specify version of dependency of Gradle AsciidoctorJ Plugin
- How do I enable tabs in Asciidoc and Maven with asciidoctor-tabs and asciidoctor-maven-plugin?
- auto-generating list of figures and list of tables in asciidoctor
- Asciidoctor tables in docx no style
- Get list of includes in a parsed document
- How to add RGB or CMYK output intent profile to a PDF
- - In plugin 'org.asciidoctor.convert' type 'org.asciidoctor.gradle.AsciidoctorTask' property 'logDocuments' is annotated with @Optional
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?
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)
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.