Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2 posts
|
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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
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, ... [show rest of quote] Dan Allen | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2 posts
|
Dan,
Thanks, I'll give that a shot. Cheers, Brian
... [show rest of quote]
|
Free forum by Nabble | Edit this page |