On Fri, Feb 3, 2012 at 10:57 AM, Chris Jones <[email protected]> wrote: > I am writing an FAQ and found that some of the answers are a little on > the long side and would best be split into 2-3 paragraphs. > > The presentation I had in mind looks somewhat like this: > > | > | 1. Question one > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | 2. Question two > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | 3. Question three > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | etc. > > I thought I'd use the labeled list form (::), but I haven't been able to > make asciidoc number the questions correctly. I tried prepending my > labels/questions with a dot (‘. Question one::’) in my source but this > causes the asciidoc toolchain to restart the numbering from one with > every question. > > I noticed also that the answers were not indented: > > | > | 1. Question one > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | 1. Question two > | > | abcdefgh abcdefgh abcdefgh abcdefgh > | abcdefgh abcdefgh abcdefgh abcdefgh > | > | 1. Question three > | > > > Is there any way I could get this to work the way I intended or am > I barking up the wrong tree?
You can't combine two list types in the same paragraph. To achieve your result use multi paragraph numbered lists. You have to manually attach the extra paragraphs to the list item: . Question one + blah de blah blahblah de blah blahblah de blah blahblah de blah blahblah de blah blah + blab de blab blabblab de blab blabblab de blab blabblab de blab blabblab de blab blab . Question 2 + foo de foo foo foo de foo foo foo de foo foo foo de foo foo foo de foo foo + lorem ipsum etc etc lorem ipsum etc etc lorem ipsum etc etc lorem ipsum etc etc lorem ipsum etc etc This gives the result you described, including indenting. Cheers Lex PS just a hint, as became apparent with the Asciidoc FAQ, the question numbers for FAQs should be fixed, so references to FAQ #55 will always remain correct. > > Thanks, > > CJ > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
