Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install docbook2sla

How to install docbook2sla

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install docbook2sla
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.16 Available View build log
Windows (64-bit)
0.0.16 Available View build log
Mac OS X (10.5+)
0.0.16 Available View build log
Linux (32-bit)
0.0.16 Available View build log
Linux (64-bit)
0.0.16 Available View build log
 
License
GPL
Dependencies
Lastest release
version 0.0.16 on Jan 5th, 2011

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

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:

System Message: WARNING/2 (<string>, line 48)

Literal block expected; none found.

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

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.