Index of /sandbox/paultremblay/python_interface

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[DIR]docs/22-Mar-2013 08:15 -  
[DIR]docutilsToFo/22-Mar-2013 08:15 -  
[DIR]scripts/22-Mar-2013 08:15 -  
[DIR]test_files/22-Mar-2013 08:15 -  
[DIR]tools/22-Mar-2013 08:15 -  
[   ]MANIFEST.in22-Mar-2013 08:15 159  
[TXT]setup.py22-Mar-2013 08:15 1.1K 
[   ]test.sh22-Mar-2013 08:15 6.6K 
[TXT]test.py22-Mar-2013 08:15 20K 

README: Docutils2fo 0.6

README: Docutils2fo 0.6

Author: Paul Tremblay
Contact: paulhtremblay@gmail.com
Date: 2011-09-26
Copyright: This document has been placed in the public domain.

Contents

Introduction

This directory contains stylesheets to convert docutils.xml to XSLFO. Once the document is converted to XSLFO, you would convert it to PDF in this way:

rst2xml.py  my_file.rst > my_file.xml
docutils_to_fo.py my_file.xml > my_file.fo
fop my_file.fo my_file.pdf

Or, to do all in one pass:

rst2xml.py my_file.rst | docutils_to_fo.py | fop -fo - -pdf my_file.pdf

Completion

TODO

Python Code

  • Develop code to read configuration file (in process of doing)
  • Develop code to check configuration file (in process of doing)
  • Develop code to output a customized XSLT stylesheet (in process)

Documentaion

  • Write a quick overview
  • Write a detailed overview

Limitations

  • Cannot do transitions as well as latex
  • Cannot put borders around page
  • Cannot do sidebars