On 7 March 2014 21:02, Marius Cirsta <[email protected]> wrote:
>  I actually have the same problem but this seems to be just a warning so I
> guess we can safely ignore it, at least for now. I do need the
> --destination-dir option and see now reason it would work only for "HTML
> based outputs"
>
>
> On Friday, January 31, 2014 9:34:53 PM UTC+2, Manfred Moser wrote:
>>
>> When upgrading from 8.6.8 to 8.6.9 I started getting warnings like this
>>
>> a2x: WARNING: --destination-dir option is only applicable to HTML based
>> outputs
>>
>> My command looks like this
>>
>> a2x -D target input.asciidoc
>>
>> and it behaves as expected by createing the input.pdf in the target
>> directory.
>>
>> So my question is if this warning is a bug in asciidoc or if not.. how
>> would I produce the output into a different location (well... I could cd
>> there and the reverse all the input parameters but thats a hack).

Hi All,

The warning was added in 8.6.9 to indicate that the option is only
*intended* to work for the output types listed in the documentation.
These are html types where a2x copies resources linked from the HTML
to that directory.

The fact that it works for other types seems to be an accidental side
effect of how its implemented for those types it is meant to work for,
it might not work if that is changed.  The "correct" method for other
types is to pass the appropriate option to the toolchain being used.

Cheers
Lex



>>
>> manfred
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to