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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docbook2sla-0.0.16.tar.gz (119.0 kB view details)

Uploaded Source

Built Distribution

docbook2sla-0.0.16-py2.4.egg (165.0 kB view details)

Uploaded Source

File details

Details for the file docbook2sla-0.0.16.tar.gz.

File metadata

File hashes

Hashes for docbook2sla-0.0.16.tar.gz
Algorithm Hash digest
SHA256 d858562994ac94926d50fdcdbd195151c07a4f2ee15fd98539c6f9986a640158
MD5 11f814a7a370bd80e8c3ba5c1d5454cb
BLAKE2b-256 ac8b1bc9f871b71b3aa29cc0393e2c8818625be5fda09e3bb2cdfc0e26f58a52

See more details on using hashes here.

File details

Details for the file docbook2sla-0.0.16-py2.4.egg.

File metadata

File hashes

Hashes for docbook2sla-0.0.16-py2.4.egg
Algorithm Hash digest
SHA256 f66ec06f94dace17551914d7badd187c4f83656a21450542ef4eec820288d514
MD5 a2182f35c1e031be3a33f445bb0b574c
BLAKE2b-256 44ded7787333254c536d6d6e7521e2a74fc3316af8c60b4c51daea0ad15d94f3

See more details on using hashes here.

Supported by

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