Ah brilliant, thank you very much! On Monday, 14 January 2013 22:11:52 UTC, Stuart Rackham wrote: > > > > On 15/01/13 07:56, Andrew Birchall wrote: > > It seems when using a2x you can't output to a separate destination > > directory from where the source file is located? > > > > E.g. using dblatex to create a PDF from docbook source file: > > python a2x.py -D mydocs/publish mydocs/my-document.xml > > > > I get a2x: ERROR: missing docbook file: > > /cygdrive/c/asciidoc-8.6.8/mydocs/publish/my-document.xml > > > > So it seems I have to have the source file in the same location as the > > destination-dir. Which seems to defeat the whole point of the -D > > (--destination-dir) option? > > XML source behaves differently to AsciiDoc source because when a DocBook > XML source file is specified as the input a2x simply skips XML file > generation and assumes the XML file already exists in the destination > directory (AsciiDoc source generates XML to the destination directory). > > I've fixed this anomaly: > > https://code.google.com/p/asciidoc/source/detail?r=531e926fd958b45ad99a5a64990df16e8bec37f3 > > > > Cheers, Stuart > > > > > > I really want to publish the completed output documents to a separate > > directory to where I keep the source files (.txt, .xml, etc.) > > > > Many thanks for any help. > > > > -- > > You received this message because you are subscribed to the Google > > Groups "asciidoc" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/asciidoc/-/nYAuionP3E0J. > > To post to this group, send email to [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > For more options, visit this group at > > http://groups.google.com/group/asciidoc?hl=en. >
-- You received this message because you are subscribed to the Google Groups "asciidoc" group. To view this discussion on the web visit https://groups.google.com/d/msg/asciidoc/-/mPm94rPNmU0J. 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.
