Hi Svenn

I've added this patch to the trunk:
The a2x `asciidoc_opts`, `dblatex_opts`, `fop_opts` and
`xsltproc_opts` command-line options can be specified multiple times.
This makes embedding multiple a2x options in document headers easier
to manage and less error prone:
http://code.google.com/p/asciidoc/source/detail?r=3da69321af16b3417440df16593973c1cf68c4e2

Please check it out and report back.


Cheers, Stuart


On 05/10/10 01:59, Svenn Are Bjerkem wrote:
Hi,
when I try the following in my top asciidoc document

//    a2x: --dblatex-opts "-P latex.output.revhistory=0"
//    a2x: --dblatex-opts "-P doc.toc.show=0"
//    a2x: --dblatex-opts "-P doc.publisher.show=0"
//    a2x: --dblatex-opts "-P toc.section.depth=2 -P
doc.publisher.show=0"

only the last line is respected.
When looking at a2x -v I see that the args list is

a2x: args: ['--dblatex-opts', '-P latex.output.revhistory=0', '--
dblatex-opts', '-P doc.toc.show=0', '--dblatex-opts', '-P
doc.publisher.show=0', '--dblatex-opts', '-P toc.section.depth=2 -P
doc.publisher.show=0', '-v', '-L', '-f', 'pdf', 'top.txt']

I guess all the --dblates-opts on separate lines are not concatenated
before sending off to dblatex.

--
Svenn


--
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