COOL! It works now. By just replacing pos_market.pdf by pos_maket.* and using your tip, the PNG has been automatically generated and placed into the right _build\html\_images while Latex output uses the original PDF figure.
This is official now, I'm switching to Sphinx ;) and I've already started converting other fellows at my workplace for technical documentations (not Python related though). Again, thank you very much your valuable support. Alphazo On Apr 8, 4:16 pm, Roberto Alsina <[email protected]> wrote: > On Thursday 08 April 2010 11:08:04 Alpha Zo wrote: > > > Thanks for the tip. In fact I didn't realize that I could use the '.. > > image' command to include a PDF for Latex output (EPS doesn't work but > > this is LaTeX related). That itself makes Sphinx even more powerful > > because I can now do things à la LyX for including spreadsheets and > > diagrams. > > > Coming back to your suggestion, I applied both modifications to both > > Makefile. I see the conversion happening and a new PNG files being > > generated. However when opening the HTML the PNG doesn't show up and I > > see the text "_images/pos_market.pdf" instead of the picture. Please > > note that in _build\html\_images there is no PNG, just the original > > PDF file. > > Well, since I have no clue what your file layout is, you will have to take > care of the details yourself ;-) > > Some tips: > > 1) You can use pos_market.* as the image name and sphinx will use the right > one (PNG for HTML, EPS for LaTeX, I think?) > > 2) If the PNG image is created, where is it? Change the Makefile so it's > created in the right place where the HTML link works. -- 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.
