Login  Register

Re: counter an Usage

Posted by mojavelinux on Jul 11, 2019; 9:38pm
URL: https://discuss.asciidoctor.org/Re-counter-an-Usage-tp6990.html

Hendrik,

First, I would advice you to upgrade to the latest stable version, which is 2.0.10. There are no more fixes to the 1.5.x line.

Next, {index:usage} is not a valid attribute reference.

Could you describe what you are trying to accomplish? What is the point of {index:usage}? What do you expect to happen?

Best,

-Dan

On Thu, Jul 11, 2019 at 6:43 AM Hendrik Timmermann [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hello, I am Using ASCIIDOCTOR 1.5.6 and  the "usage" to suppress the output is not working

any help or hint?

[caption=""]
.Parts{counter2:index:0}
|===
|Part Id |Description

|PX-{counter:index}
|Description of PX-{index} {index:usage}

|PX-{counter:index}
|Description of PX-{index}
|===

produces

Parts
Part Id Description
PX-1        Description of PX-1 {index:usage}
PX-2        Description of PX-2




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/counter-an-Usage-tp6989.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