Re: Alternative table numbering
Posted by
mojavelinux on
Jan 19, 2015; 7:50am
URL: https://discuss.asciidoctor.org/Alternative-table-numbering-tp2673p2680.html
> I need a way to turn off the automatic numbering and do it by hand.
Just turn off the table-caption by adding the following to the document header.
:table-caption!:
We are discussing options for getting section-based numbering for objects like tables in the following issue:
https://github.com/asciidoctor/asciidoctor/issues/979> In the O’Reilly Getting Started with Atlas documentation the image labels seem to have exactly the kind of behaviour I'm after. Chapter 2 is a good example.
That's because O'Reilly uses a completed custom backend for Asciidoctor (which is perfectly acceptable and encouraged for maximum customization).
See
https://github.com/oreillymedia/asciidoctor-htmlbookRemember, you can output any HTML you want in Asciidoctor. You just have to create a custom template file for the node in the tree you want to customize (or write your own custom converter to override everything).
Cheers,