@David Goodger, I have tried 2.6.6, but same issue. I will ignore those issues mentioned before, since buildhtml.py works for many existed .txt files.
@David Sankel, Thanks for your tips.
2012/3/2 David Sankel <firstname.lastname@example.org>
On Wed, Feb 29, 2012 at 10:54 PM, David Goodger <email@example.com>
On Tue, Feb 28, 2012 at 23:09, ning zhou <firstname.lastname@example.org
> wrote:> BTW, C:\python26\python.exe buildhtml.py .. > buildhtml.log could not
> redirect the output on screen to the file buildhtml.log. I have to copy it
> to the buildhtml.log.
That must be a Windows thing, nothing Docutils can do about it.
Try "C:\python26\python.exe buildhtml.py .. 2>&1 > buildhtml.log" instead. This redirects the error output to the normal output before sending it to a file.