skip to navigation
skip to content

docbook2sla 0.0.16

A Python interface to convert DocBook to Scribus

Downloads ↓

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

Installation

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

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
 
File Type Py Version Uploaded on Size # downloads
docbook2sla-0.0.16-py2.4.egg (md5) Python Egg 2.4 2008-04-13 161KB 757
docbook2sla-0.0.16.tar.gz (md5) Source 2008-04-13 116KB 587