Overview of Conversion Process
1) Open the MS-Word document in Open Office (my preference) and remove headers and footers from each page
2) Save the document in open office format
3) Try to apply the apress_odt_to_rst.py script that was donated by James Gardner. If that doesn't work, then save document in HTML format and use pandoc to convert.
Command: pandoc -t rst filename.htm > filename.rst
4) Manually parse through each rst file and repair issues (and there are usually a lot...especially with code markup and tables)
Interested in building the sources?
If you are interested in building the sources, you can check the out from bitbucket.org at the following link: http://bitbucket.org/javajuneau/jythonbook/ and then build them using Sphinx
View the Open Source Book
If you'd like to simply view the open source book, it can be found at http://jythonbook.com in Sphinx format. We of course recommend that you purchase a copy of the book from Apress to keep handy as well so that you can mark it up, make notes, etc. However, the open source version will be continually updated and it will be great for using as a quick reference while online.
Good stuff.
ReplyDeleteIf you think it would be useful, you can host the generated Sphinx documentation on Bitbucket directly.
Here's how: http://hgtip.com/tips/beginner/2009-10-13-free-hosting-at-bitbucket/