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. 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"> 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. So, I ask you again: is there a C:\Dev\twcb-doc\_screenimages\initial.png or not? > Will setup a new project from scratch and see if I can recreate it in > there. If I can recreate I post the project zip'd here? No, post it to me personally, or create an Issue at http://rst2pdf.googlecode.com and attach it. -- ("\''/").__..-''"`-. . Roberto Alsina `9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH) (_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar _..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia (l)-'' ((i).' ((!.' according to alexa.com (27/5/2007) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@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 -~----------~----~----~----~------~----~------~--~---