Thanks Günther, I put the code in the latex_preamble, but it still does not work. I also tried setting the image width. Here's the code:
https://bitbucket.org/felixhummel/sphinx-pdf-table-bug/src/tip Cheers Felix On Jan 25, 9:40 am, Guenter Milde <mi...@users.berlios.de> wrote: > On 2011-01-24, Felix Hummel wrote: > > > Hi, > > when I include images they get scaled to the page-width and become > > rather ugly looking. How do I deal with that? Is this a DPI config > > thing? Did I miss an option? Is PNG the wrong format to use here? > > Here's how I include images: > > .. figure:: foo.png > > This is a description for foo. > > Set an explicite size or a resolution. This is explained > inhttp://docutils.sourceforge.net/docs/user/latex.html#size-of-a-pixel > > With pdftex, the "resolution" is a configuration setting. > > Default: > 72 DPI, i.e. 1 px = 1/72 in. > Example: > > Set a resolution of 96 DPI with the LaTeX code: > > \pdfpxdimen=1in % 1 DPI > \divide\pdfpxdimen by 96 % 96 DPI > > You can put the code in a "raw latex" directive, the "user preamble", or > a custom stylesheet. > > Günter -- 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.