From: Guenter M. <mi...@us...> - 2009-05-25 08:23:16
|
On 2009-05-25, Roberto Alsina wrote: > On Sunday 24 May 2009 18:18:07 Guenter Milde wrote: >> On 2009-05-20, Roberto Alsina wrote: > Sadly, I can't get it to produce a DVI, I guess there is something very > wrong with my LaTeX, right? As Alan pointed out, its just some missing LaTeX knowledge (adding supported graphic formats to the latex writer description is on my TODO list). I get the expected result with the following modifications and pdflatex (or my rst2pdf-rubber front end) (the image without unit is HUGE in the PDF but this is expected):: 300px with 300DPI == 1 inch .. raw:: latex \pdfpxdimen=1in % 1 DPI \divide\pdfpxdimen by 300 % 300 DPI .. image:: images/biohazard.png :width: 300px 300, no unit == 300px (in rst2pdf) or 300pt (in rst2latex) .. image:: images/biohazard.png :width: 300 Günter |