Numbering of the list restarts from 1

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

Numbering of the list restarts from 1

ch007m
Hi,

I have a strange problem whenever I try to use between numbered items' s list text to be highlighted. Here is the code :

. Connect to the server using your Kerberos id

[subs="verbatim,macros"]
----
  ssh pass:quotes[_**kerberosId**_]@server
----  

where __**kerberosId**__ should be your Unix username

. Move to directory

In this case, the line "Connect to the server using your Kerberos id" starts well with number 1 but the line "Move to directory" continue with number 1 and not 2. If I add the plus symbol before the sentence "where kerberosId should be your unix username", then the symbol + is display in the HTML generated.

Is there a workaround or shall I write a issue for asciidoctor github project ?

Regards,
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard
Reply | Threaded
Open this post in threaded view
|

Re: Numbering of the list restarts from 1

LightGuardjp
Looks like you need to use a continuation: http://asciidoctor.org/docs/asciidoc-writers-guide/#lists-lists-lists sorry there's no jump directly to it, but scroll down a bit and you'll find it. 

Sent from Mailbox for iPhone


On Mon, Mar 17, 2014 at 5:33 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Hi,

I have a strange problem whenever I try to use between numbered items' s list text to be highlighted. Here is the code :

. Connect to the server using your Kerberos id

[subs="verbatim,macros"]
----
  ssh pass:quotes[_**kerberosId**_]@server
----  

where __**kerberosId**__ should be your Unix username

. Move to directory

In this case, the line "Connect to the server using your Kerberos id" starts well with number 1 but the line "Move to directory" continue with number 1 and not 2. If I add the plus symbol before the sentence "where kerberosId should be your unix username", then the symbol + is display in the HTML generated.

Is there a workaround or shall I write a issue for asciidoctor github project ?

Regards,
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard



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

Reply | Threaded
Open this post in threaded view
|

Re: Numbering of the list restarts from 1

ch007m
Discovered that `+` sign must be placed on every line as described here - http://asciidoctor.org/docs/asciidoc-writers-guide/#complex-list-content. Thx Jason.


On Mon, Mar 17, 2014 at 2:22 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Looks like you need to use a continuation: http://asciidoctor.org/docs/asciidoc-writers-guide/#lists-lists-lists sorry there's no jump directly to it, but scroll down a bit and you'll find it. 

Sent from Mailbox for iPhone


On Mon, Mar 17, 2014 at 5:33 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Hi,

I have a strange problem whenever I try to use between numbered items' s list text to be highlighted. Here is the code :

. Connect to the server using your Kerberos id

[subs="verbatim,macros"]
----
  ssh pass:quotes[_**kerberosId**_]@server
----  

where __**kerberosId**__ should be your Unix username

. Move to directory

In this case, the line "Connect to the server using your Kerberos id" starts well with number 1 but the line "Move to directory" continue with number 1 and not 2. If I add the plus symbol before the sentence "where kerberosId should be your unix username", then the symbol + is display in the HTML generated.

Is there a workaround or shall I write a issue for asciidoctor github project ?

Regards,
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Numbering-of-the-list-restarts-from-1-tp1610.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/Numbering-of-the-list-restarts-from-1-tp1610p1611.html
To unsubscribe from Numbering of the list restarts from 1, click here.
NAML



--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard