![](https://csdnimg.cn/release/download_crawler_static/2629039/bg1.jpg)
Python文档工具快速上手指南
Auther: LiYan
Version: 1.0.0
Date: 2010-08-18
Contents
Reference 1
背景知识 1
相关链接 1
在Windows环境下安装rst2pdf 1
Another Install Method 1
一个注意事项 2
Usage Guide 2
Base Usage 2
对中文的支持 2
Reference
背景知识
首先介绍一下reStructuredText和DocUtils。前者是一套纯文本标记语法,
后者是Python基于reStructuredText(简称ReST)文档工具。
ReST提供了一种简洁明了的文档语言,用户用这种语言写出文档,
再用DocUtils所提供的一些脚本将其转换成HTML(rst2html.py)、
Latex(rst2latex.py)、S5(rst2s5.py)等等格式。
然后rst2pdf隆重出场,利用这个工具可以把ReST格式的文本方便的转成pdf。
相关链接
Python:
来自google code的 rst2pdf:
ReST使用指南 QuickRef:
在Windows环境下安装rst2pdf
前提条件: 我用的是Windows XP,安装的是Python2.6
下载地址: http://code.google.com/p/pythonxy/downloads/list
Download Package::
Pygments reportlab docutils rst2pdf
Another Install Method
相对于以上安装方式,
easy_install rst2pdf