-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME.txt
93 lines (53 loc) · 1.72 KB
/
README.txt
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
========
ZCA Book
========
This repository contains reStructuredText source of ZCA book.
Files
-----
- `default.css`: CSS imported from zope3.css (from Zope repository)
- `zope3.css`: CSS files used for HTML rendering (from Zope
repository)
- `izca.txt`: Source of book
- `rst2pdf.sh`: Script which combines commands for converting to HTML
& PDF
- `style.tex`: LaTeX stylesheet for PDF creation (from Grok
repository)
- `test_izca.py`: script for testing source (izca.txt is doctestable)
Creating HTML
-------------
To create HTML from izca.txt, first change this line::
.. .. sectnum::
To::
.. sectnum::
Then::
rst2html --stylesheet=zope3.css izca.txt > zca.html
After creating HTML, change it back to original, otherwise contents
page in PDF output will be cluttered.
Creating PDF
------------
To create pdf just run the `rst2pdf.sh` script. You should have
`pdflatex` and related TeX packages installed in your system.
Contributing to this project
----------------------------
If you would like to contribute to this project, just create a
personal bzr branch here: https://code.edge.launchpad.net/zcadoc
After you made any change in your branch, please inform me or Kent.
We will merge it to our branches and later we will publish it.
- My Email Id: mbaiju AT muthukadan.net
- Kent's Email Id: ktenney AT gmail.com
Guidelines
----------
- Use double back-ticks (``) for:
- commands
- directories
- packages
- modules
- classes
- functions
- Use single back-tick (`) when you want to high-light some text.
- Use two spaces after every sentence
- Use maximum 70 characters per line
- Skip two lines before chapters and sections
Regards,
Baiju M
http://www.muthukadan.net