blob: 8f1c3a0ac46c034758e63ab56b6d5ee4c8ae1e33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
=========================
README: Docutils2fo 0.6
=========================
:Author: Paul Tremblay
:Contact: paulhtremblay@gmail.com
:Date: $Date$
: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
==========
* Ability to create custom pages of simple layout, of first page layout,
of odd-even layout, and first, odd-even layout.
* Sections
* Transitions
* Paragraphs
* Bullet Lists
* Enumerated Lists
* Definition Lists
* Field Lists
* Bibliographic Fields
* Option List
* Line Blocks
* Block Quotes
* Headers and Footers, with the ability to create custom headers and
footers for the first, odd, and even pages; and the ability to
create custom headers and footers for the Table of Contents secions
for the first, odd, and even pages; and the ability to suppress
headers and footers on the first page.
* Doctest Blocks
* Tables
* Footnotes
* Citations
* Hyperlinks
* Interpreted Text
* inline Literals
* Specific Admonitions
* Generic Admonition
* Image
* Figure
* Topic
* Sidebar
* Parsed Literal Block
* Rubric
* Epigraph
* Highlights
* Pull-Quote
* Compound Paragraph
* Container
* documenttion of XSLT stylesheets
* Develop code to process XSlT stylesheet (using lxml)
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
|