On 6 April 2010 04:37, cjblaine <[email protected]> wrote: > Hi all, > > I am having no luck getting section numbering to work, as I don't > think I understand the user's guide on this at all. > > Can anyone post a simple article doctype that numbers titled text? > > My Title > ====== > > My section one > -------------- > The above should render as something like 1 My Section one > > My subsection one > ~~~~~~~~~~~~~~~~~ > The above should render as something like 1.1 My subsection one > > My section two > -------------- > The above should render as something like 2 My Section two > > This works for me, you didn't say which backend you are using or what command, docbook should do numbers by default
The manual notes that the --section-numbers (or -n) command line option is required to generate numbers for html. Cheers Lex > -- > 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]<asciidoc%[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.
