Skip to main content

A Python interface to convert DocBook to Scribus

Project description

The docbook2sla package helps you to convert DocBook XML into the Scribus (http://www.scribus.net) file format.

Requirements

Installation

  • install docbook2sla either using easy_install or by downloading the sources from the Python Cheeseshop

Supported platforms

Unix

Subversion repository

Known Issues

  • currently only a very limited subset of the DocBook syntax is supported: book, part, section, title, subtitle, author, para, bridgehead and blockquote.

Usage

Example from the Python command-line:

from docbook2sla import DocBook2Sla
d2s = DocBook2Sla()
print d2s.syncronize('tests/data/xml/content.xml',
                     'tests/data/scribus/clean134.sla',
                     output_filename='tests/data/output/create_output.sla')

License

GPL

Author

Timo Stollenwerk | timo@zmag.de

Changes:

0.0.16 (13.04.2008)

  • create function removed (replaced by syncronize)

0.0.15 (27.03.2008)

  • clean up unit tests

  • xml markup change: complex pageobjects are now encapsulated into a docbook section node

0.0.14 (12.03.2008)

  • bug in overwrite_simple_pageobjects stylesheet fixed

0.0.13 (11.03.2008)

  • syncronize function fixed

0.0.12 (09.03.2008)

  • generate-id stylesheet deleted

0.0.11 (08.03.2008)

  • bug (extra content in docbook2pageobject stylesheet) fixed

0.0.10 (07.03.2008)

  • bug (docbook article) in docbook2sla stylesheet fixed

0.0.9 (07.03.2008)

  • bug in wrapper.xsl stylesheet fixed

  • unit tests for wrapper function added

0.0.8 (05.03.2008)

  • create and syncronize without given output filename fixed

0.0.7 (05.03.2008)

  • code cleanup

  • external data include fix

0.0.6 (04.03.2008)

  • link to svn fixed again

  • example updated

0.0.5 (04.03.2008)

  • link to svn fixed

  • unittests added

  • refactoring of create, syncronize and transform functions

0.0.4 (29.02.2008)

  • egg description fix

0.0.3 (29.02.2008)

  • egg classifiers added

  • gpl license added

  • long description added

  • xml schema for scribus 1.3.4 added

0.0.2 (28.02.2008)

  • bugfix

  • description added

0.0.1 (28.02.2008)

  • initial release

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page