Hello,
I'm relatively new to Asciidoctor but I'm quickly growing accustomed to the syntax and ease of use. I have been trying to find out if there is any way to generate an index 'type' attribute to the Docbook back end so that I can generate specialized indexes in my Docbook/PDF output. Does anyone know if this is possible? Cheers, Brian |
Administrator
|
Brian, The index term macro is not currently extensible, meaning it does not support arbitrary attributes (like an image, for example). The best way to approach this would be to create a custom inline macro using the Asciidoctor extension mechanism. You can return any string you want from the process method of an inline macro, so you can create any DocBook output you want. You can find examples of inline macros in the extensions lab. Cheers, -Dan On Tue, May 12, 2015 at 6:25 PM, Blackstone67 [via Asciidoctor :: Discussion] <[hidden email]> wrote: Hello, Dan Allen | http://google.com/profiles/dan.j.allen |
Dan,
Thanks, I'll give that a shot. Cheers, Brian
|
Free forum by Nabble | Edit this page |