On 2012-01-02, Maria Gouskova wrote:

> I want to insert a high-resolution pdf image into a figure float.

I assume this is a bitmap image wrapped into PDF? (For a vector image,
the "high-resolution" would not make sense to me.)

> I specify the width of the image in the figure properties as "100% of
> line width". Typesetting via pdflatex works fine, with the image scaled
> appropriately. Typesetting via ps2pdf or dvipdfm does not scale the
> image--it spills over onto the margin and off the page.

I cannot reproduce here. Tried inserting a scaled one-page PDF document
(without wrapping in a float). The output of 
PDF (pdflatex),
PDF (ps2pdf), and
PDF (dvipdfm)
is exactly the same (with proper scaling of the indcluded graphic).


> DVI didn't produce a pdf at all, even though LyX claimed successful
> import to pdf.

I don't understand this. (DVI (a file format) didn't produce pdf (a
different file format)?)

> I tried the same with an .eps figure and did not encounter these
> issues, so it seems to be a combination of using a .pdf image and
> certain output formats.

It might also depend on

* the content of the EPS or PDF figure, and
* the PDF -> EPS conversion program (as for the ps2pdf route, LyX converts
  the input file from PDF to EPS, latex generates a DVI with a reference to
  the EPS file, dvips embedds it into the generated PS file and ps2pdf
  converts the PS file to PDF).

Günter




Reply via email to