On 30 September 2011 00:25, sharffy <[email protected]> wrote:
> I seem to have come across a couple of (possibly related) problems
> with converting an asciidoc document to pdf via dblatex.
>
> I have a numbered list in my document( lines starting ".  text...." in
> the asciidoc txt), but due to blank lines etc subsequent lines all
> start at number 1.

This shouldn't happen with blank lines between the list items, where a
blank line is empty or contains only ASCII whitespace.  And lists
where list elements containing more than one block element can be
formed  as described in
http://www.methods.co.nz/asciidoc/userguide.html#X15

If you still have the problem, can you post a short (10 line) example
that has the problem?

So I have to insert lines [start=2] etc prior to
> the next numbered list item. No problem there. Works fine for html
> output from asciidoc.

You shouldn't need to define the start.

>
> However, the pdf output has all of the list items starting at 1.   If
> I tell a2x to use fop, then the list numbering is correct! - but I
> prefer dblatex as the overall output formatting is much nicer!   The
> intermediate docbook xml file contains the line    <orderedlist
> numeration="arabic"><?dbfo start="2"?><?dbhtml start="2"?>,  so
> clearly asciidoc has interpreted the [start=2] and output html and fo
> passthrough arguments for html and fop, but there is no sign of a
> dblatex instruction.

If you can find the dblatex instruction it can be added, a quick look
doesn't make it obvious.


>
> Am I missing something here? I cannot find the answer in the faq or
> manual.
>
> Also, I have the dblatex passthrough arg  pass::[<?dblatex
> bgcolor="blue"?>] in my asciidoc txt file - see faq no. 24, but it is
> not doing anything!!! I have dblatex v 0.3.2 installed. The command at
> least has made it into the xml file!
>
> DBlatex documentation suggests that the above command is supported.
> But no joy here. Any suggestions?

With this one, take your docbook file and report it to dblatex if you
think the docbook is right. (and ask for the numbering instruction
while you are there :)

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].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to