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

William Deegan bill at baddogconsulting.com
Mon Apr 22 20:06:30 EDT 2013


Dirk,

Does the new doc toolchain generate pdf files with tables of contents and indexes?

-Bill
On Apr 22, 2013, at 2:44 PM, Dirk Bächle <tshortik at gmx.de> wrote:


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

>> Hi Gary,

>>

>> On 21.04.2013 23: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

>

> _______________________________________________

> Scons-dev mailing list

> Scons-dev at scons.org

> http://two.pairlist.net/mailman/listinfo/scons-dev


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


More information about the Scons-dev mailing list