On mar., 2010-08-03 at 09:22 +1200, Stuart Rackham wrote:
> On 25/06/10 00:32, Yves-Alexis Perez wrote:
> > On 13/01/2010 22:21, Stuart Rackham wrote:
> >> Good idea, I've added ASCIIDOC_OPTS, DBLATEX_OPTS, FOP_OPTS,
> >> XSLTPROC_OPTS options to the conf file:
> >>
> >> http://hg.sharesource.org/asciidoc/rev/ad9d3d48ec03
> >
> > Hmhm, I thought I had reported this sooner, but it seems not.
> > DBLATEX_OPTS and --dblatex-opts work fine, but passing the style option
> > won't work because -p and -s are passed *before* and unconditionnaly. So
> > it's not possible to use a custom style with a custome stylesheet when
> > using a2x, afaict.
> 
> So the problem is not the the patch it's the baked in -s and -p dblatex 
> options 
> for the asciidoc custom xsl and stylesheets, correct?
> 
> Does dblatex ignore multiple -p and -s options? If no then why don't 
> subsequent 
> options work? Could you please post an example.

It might be an issue in dblatex yes. Basically:

a2x  --dblatex-opts='--style mystyle' test.txt

won't use “mystyle” styles (you can check that by using
simple/db2latex/native styles, it won't change). But it's not only the
order, it seems that if -p/-s is present, -T/--style will be ignored.
(which is consistent, -p/-s override stuff in a style).

Cheers,
-- 
Yves-Alexis

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