Figure references

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Figure references

IlliteratePhD
Hi,

Is it possible to get figure references that are relative to the chapter they belong to, e.g., Fig 6.1 in on the first figure in chapter 6?

Thanks
// Patrik
Reply | Threaded
Open this post in threaded view
|

Re: Figure references

Linda
Have a look at the autoxref extention:
https://github.com/asciidoctor/asciidoctor-extensions-lab

The only problem is when you suppress the numbering with :!numbered:, the counting continues.
Reply | Threaded
Open this post in threaded view
|

Re: Figure references

mojavelinux
Administrator
Thanks for posting that link!


-Dan

On Thu, Aug 24, 2017 at 2:36 AM, Linda [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Have a look at the autoxref extention:
https://github.com/asciidoctor/asciidoctor-extensions-lab

I use it and it refers neatly to the chapter.subchapter. The only problem is when you suppress the numbering with :!numbered:, the counting continues.


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



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux