On 2010-12-12, dhyams wrote: > Thank you both for your input...I have actually combined both and > things do what they should.
> I thought originally that the problem was the image in conjunction > with the table was causing problems. As it turns out, however, it was > just the image itself that was causing problems. Perhaps incorrect > DPI, I'm not sure...but anyway, I think that there is a problem in > sphinx itself. If I put the following in my rst file and compile > latex: > .. image:: _static/icon.png > :width: 1in > :height: 1in > I get this in the output latex: > \includegraphics[width=1in,height=1in]{icon.png} > But if I put this: > > .. image:: _static/icon.png > :width: 16px > :height: 16px > > I only get this in the output latex: > > \includegraphics{icon.png} > > As you can see, the sizes are ignored. Is this expected behavior? No. With Docutils' rst2latex, you I get the expected:: \includegraphics[height=16px,width=16px]{_static/icon.png} One more reason to use the upstream LaTeX writer also in Sphinx... 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-...@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.