Roberto,
Roberto Alsina wrote:
> On Friday 16 October 2009 05:49:37 werner wrote:
>
>> Roberto,
>>
>> Roberto Alsina wrote:
>>
>>> On Thursday 15 October 2009 11:43:23 werner wrote:
>>>
>>>> Roberto,
>>>>
>>>> Made a little bit of progress.
>>>>
>>>> Added this to my conf.py:
>>>> import pkg_resources
>>>> pkg_resources.require("rst2pdf") # get latest version
>>>> import rst2pdf
>>>>
>>>> I am still getting "Builder name pdf not registered"
>>>>
>>> You should not need to do anything like it. What happens if you do what
>>> the manual says and add 'rst2pdf.pdfbuilder' to your extensions?
>>>
>>> For example:
>>>
>>> extensions = ['sphinx.ext.autodoc','rst2pdf.pdfbuilder']
>>>
>> I have this in my conf.py and get the error.
>>
>>
>>>> [ERROR] createpdf.py:1344 Missing image file:
>>>> C:\Dev\twcb-doc\_screenimages\initial.png [near line UNKNOWN in file
>>>> UNKNOWN]
>>>>
>>> Well, does C:\Dev\twcb-doc\_screenimages\initial.png exist or not? If it
>>> doesn't exist, that's the problem. If it does... well, then it's a bug in
>>> rst2pdf and I would love a self-contained example of it.
>>>
>> The project builds without error when I use html or htmlhelp builder.
>>
>
> You know, if you don't answer the questions I ask you, it's really,
> **really**
> hard for me to help you.
>
Sorry that I was not clear. What I meant is that html builds and I can
see the images in the created html files.
> However, if you really need to know, the HTML writer doesn't care if the
> images exist or not, because al it needs to do is write <img
> src="_screenimages/initial.png">
>
Yes, the image exists.
> On the other hand, rst2pdf has to read the image and actually put it inside
> the PDF. So, a missing image when you build HTML is no problem, but when you
> build a PDF it's a big problem.
>
In my test project and in my real project the PDF file is now created,
but all the places I check for images (did only do two or three in my
real project, and the only one in the test project) the PDF only has an
"image" place holder (no parking sign) as can be seen on the attached
pdf which is the output I get from my test project.Maybe you see different results as you seem to be running on a *nix system while I am on Windows Vista. Werner --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
testpdf.pdf
Description: Adobe PDF document
