The chunked format works via DocBook, so make sure you have DocBook 4.5 and 
DocBook XSL Stylesheets installed.

You can also run a2x with -k, so it does not delete temporary files, then run 
the xsltproc command manually, and then you should get a more verbose error 
message.

Bela

PS: Also check out the -n flag to find out what magic should happen when a2x is 
called.

On Thursday 01 July 2010 21:07:15 Vaibhav Bhandari wrote:
> Thanks Bela.
> 
> I tried the command line and I get the following -
> [fiero]$ python ../bin/asciidoc-8.5.3/a2x.py -f chunked Main.txt -L
> a2x: ERROR: xsltproc  --nonet --stringparam callout.graphics 0
> --stringparam navig.graphics 0 --stringparam admon.textlabel 1
> --stringparam
> admon.graphics 0  --stringparam base.dir Main.chunked/
> /home/.tiaka/vaibhavb/
> silosbook.vitraag.com/asciidoc/bin/asciidoc-8.5.3/docbook-xsl/chunked.xsl/h
> ome/.tiaka/vaibhavb/ silosbook.vitraag.com/asciidoc/book/Main.xml returned
> non-zero exit status 127
> 
> Has anyone seen a similar error? May be my tool chain is not setup
> properly.
> 
> Thanks in advance.
> 
> regards,
> Vaibhav
> 
> On Thu, Jul 1, 2010 at 11:38 AM, Bela Hausmann 
<[email protected]>wrote:
> > `a2x --format=chunked …` should do the trick.
> > 
> > On build systems: I use make to build my AsciiDoc files, which work
> > really great.
> > 
> > Bela
> > 
> > On Thursday 01 July 2010 00:05:21 vaibhavb wrote:
> > > hi folks -
> > > 
> > > ** Newbie to Asciidoc **
> > > 
> > > I recently started using Asciidoc for a book I'm working on -
> > > http://silosbook.vitraag.com
> > > 
> > > I wanted to chunk the HTML output to have a chapter per page. I see
> > > that the Asciidoc UserGuide (http://www.methods.co.nz/asciidoc/chunked/
> > > index.html) does it.  How can i achieve the same?
> > > 
> > > On similar note i read a bunch of thread from Noah Slater about using
> > > Asciidoc for his CouchDB book, is anyone aware if the authors made
> > > their build system available publicly?
> > > 
> > > Thanks in advance.
> > > 
> > > regards,
> > > Vaibhav

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to