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.create('tests/data/xml/content.xml',
                 'tests/data/scribus/clean134.sla',
                 output_filename='tests/data/output/create_output.sla')
print d2s.syncronize('tests/data/xml/content-1.xml',
                     'tests/data/output/create_output.sla',
                     'tests/data/output/syncronize_output.sla')

License

GPL

Author

Timo Stollenwerk | timo@zmag.de

Changes:

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.15.tar.gz (100.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docbook2sla-0.0.15-py2.4.egg (139.2 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: docbook2sla-0.0.15.tar.gz
  • Upload date:
  • Size: 100.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for docbook2sla-0.0.15.tar.gz
Algorithm Hash digest
SHA256 883dd76d28922a0cde8f45c4768b9a87900de0b46a12c3df1aa22585f5f91506
MD5 eca26cb890672f587e8cd9603a8d8747
BLAKE2b-256 9987047b8657a96396fe4c1cdaf26651167e40f59248d13e6179807eebf11b39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docbook2sla-0.0.15-py2.4.egg
Algorithm Hash digest
SHA256 249244ee7be28e8f94bbf12f7ac6e8da0ff29b7d0fdcd6e89ca7c9dc8df0bcdb
MD5 d53aa934409f16474c48a4bb5c97b7f4
BLAKE2b-256 2dc61364f789709698292775d87401db163f96d605e5e9f900b9c3794b012eea

See more details on using hashes here.

Supported by

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