Dear all, I seek your help on the following matter....

On a WinXP PC,  I am using Python V2.6.4 and Sphinx V0.6.5
The creation of HTML files works fine, as also the creation of HTMLHelp and 
Latex file.

But... I want to be able to create PDF files as well.
So I installed rst2pdf with the following command:

C:\> easy_install rst2pdf
this installe rst2pdf  in 
'F:\python26\Lib\site-packages\rst2pdf-0.12.3-py2.6.egg'
So far so good.

Then I changed conf.py, so it includes the following line:
extensions = ['rst2pdf.pdfbuilder']
and  I changed my make.bat so it included the following:

if "%1" == "pdf" (
                %SPHINXBUILD% -b pdf %ALLSPHINXOPTS% %BUILDDIR%/pdf
                echo.
                echo.Build finished. The PDF pages are in %BUILDDIR%/pdf.
                goto end
)

The problem is that when I run 'make pdf' I get the following error output:

[F:\lxe\tnsim\doc]make pdf
Running Sphinx v0.6.5
AccessInit: hash collision: 3 for both 1 and 1

Build finished. The PDF pages are in _build/pdf.

And there is nothing  in my _build/pdf folder.

First I thought it had to do with rst2pdf, but when I run 'make html' then I 
get a similar error:

[F:\lxe\tnsim\doc]make html
Running Sphinx v0.6.5
AccessInit: hash collision: 3 for both 1 and 1

Build finished. The HTML pages are in _build/html.

Only when I remove the folder and its contents 
'F:\python26\Lib\site-packages\rst2pdf-0.12.3-py2.6.egg' completely, and
change  in the conf.py file the line
extensions = ['rst2pdf.pdfbuilder'] back to
extensions = []
then the 'build html' works again.

Has anybody have any clue on how to make it possible to use rst2pdf on WinXP in 
order to make it possible to create PDF files ?

Thanks,
Henk

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to