[Scons-dev] New SCons doc toolchain...

Dirk Bächle tshortik at gmx.de
Mon Apr 22 17:44:52 EDT 2013


Gary,

On 22.04.2013 02:21, Gary Oberbrunner wrote:

>

>

>

> On Sun, Apr 21, 2013 at 5:57 PM, Dirk Bächle <tshortik at gmx.de

> <mailto:tshortik at gmx.de>> wrote:

>

> Hi Gary,

>

> On 21.04.2013 23 <tel:21.04.2013%2023>:38, Gary Oberbrunner wrote:

>

>

> [...]

>

>

> Hi, Dirk!

>

> I just cloned this on my Linux box (Ubuntu 11.10 - also tried

> 12.04), but running scons bootstrap.py gives errors:

>

> scons: *** [design.xml] XMLSyntaxError : Specification mandate

> value for attribute object, line 1, column 31

> scons: building terminated because of errors.

>


I was able to reproduce the error on a SuSE 11 box. The lxml support for
the Docbook Tool needed a few fixes, I uploaded 2 commits to the
"new_doc_toolchain" branch. Please update and try again...

While doing some further testing, I discovered that "jw" can render PDF
from Docbook files, but it doesn't cope with XML input (only SGML) in
all cases. That's why I removed it from the list of PDF renderers for
the toolchain, so only fop and xep are left now.

Make sure that you have "fop" and one of the XML Python bindings
installed (lxml or libxml2)...the latter is to be preferred because it
is much faster, but both should work fine now.

Best regards,

Dirk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20130422/37b36ca1/attachment.html>


More information about the Scons-dev mailing list