Login  Register

Re: Alternative table numbering

Posted by rhattersley on Jan 26, 2015; 8:29pm
URL: https://discuss.asciidoctor.org/Alternative-table-numbering-tp2673p2713.html

Thanks for clarifying my options. Depending on how long before I need this all working I might be better off waiting for the behaviour in that PR to be released, but at least I have a manual workaround for now.

On 19 January 2015 at 07:50, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
> 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-htmlbook

Remember, 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,

-Dan

On Thu, Jan 15, 2015 at 5:37 AM, rhattersley [via Asciidoctor :: Discussion] <[hidden email]> wrote:
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.

But I can't find anything in the AsciiDoc source which controls that behaviour.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Alternative-table-numbering-tp2673p2675.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Alternative-table-numbering-tp2673p2680.html
To unsubscribe from Alternative table numbering, click here.
NAML