Embrace Dreams
Archive for the ‘Voicens’ Category
use python-sphinx for reStructuredText
December 12th, 2011 | admin
If you want to start a complex reStructuredText project, remember to use python-sphinx.
$sudo zypper install python-sphinx
or another way
$sudo easy_install Sphinx
then create your project:
$mkdir myproject $cd myproject $sphinx-quickstart
Answer some questions, you can have a make script, now you have anything you need.
$make html
Remember, at the moment, you can not use Chinese via python-sphinx.
Use ReStructuredText for project voicens
December 12th, 2011 | admin
I do not like MS Office, including Word and Powerpoint. I do not want to use Libreoffice for document works. Voicens is not one man project, I need to write many documents, how? OK, ReStructuredText.
I have experience to Latex, Docbook, that means it’s easy to understand ReStructuredText. Starting.
First I need to install ReStructuredText,remember docutils is called python-docutils.
$sudo zypper install docutils
It’s a simple ReStructuredText documents, voicens.rst
Title ========== Aha, it's content Do you need a link? http://voicens.com.
Let’s “build” it,
rst2html voicens.rst voicens.html
Now you have a good document.