Hi Thomas, On 25 January 2013 04:47, Thomas Christensen <[email protected]> wrote: > I have investigated further and attached the minimal test files... > > $ a2x test.txt > a2x: ERROR: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" > -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" "/home/thomasc/test.xml" > returned non-zero exit statuus
When something complains allways run a2x -v to get verbose output to post. Then you don't have to copy the command :) > > Then I tried to run the dblatex command that failed (test.xml is valid > according to Emacs): > > $ "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s > "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" "/home/thomasc/test.xml" > Build the book set list... > Build the listings... > XSLT stylesheets DocBook - LaTeX 2e (0.3.4-1) > =================================================== > Image 'dblatex' not found > Build test.pdf > pdflatex failed > test.tex:59: Missing number, treated as zero. > test.tex:59: leading text: [Hello world] > test.tex:59: Illegal unit of measure (pt inserted). > test.tex:59: leading text: [Hello world] > Unexpected error occured > Error: pdflatex compilation failed > > Then I tried to run it without the -p > "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl": > > $ "dblatex" -t pdf -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" > "/home/thomasc/test.xml"Build the book set list... > Build the listings... > XSLT stylesheets DocBook - LaTeX 2e (0.3.4-1) > =================================================== > Build test.pdf > 'test.pdf' successfully built > > Hope this can shed some light on the issue :-) It would appear that the [ is upsetting the xsl processing, probably of numbering since the problem doesn't occur when you don't include the asciidoc xsl stylesheets that set the parameters to make that happen. Works perfectly with fop which uses different xsl. You could use this for your pdf. Not sure what else to suggest, it would just appear to be a bug/limitation of the dblatex toolchain. Cheers Lex > > Sincerly > Thomas Christensen > > -- > 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]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
