[pdftex] Bug in 1.10a: \pdfximage with pdf file and width
Heiko Oberdiek
oberdiek at uni-freiburg.de
Sat Feb 8 04:37:38 CET 2003
Hello,
pdf files are not correctly embedded, they are not scaled,
if width is given explicitly in opposite to former behaviour
and other file types.
Example scenario:
%%% cut %%% image.tex %%% cut %%%
\NeedsTeXFormat{LaTeX2e}
\def\papertype{a4paper}
\def\doublesided{n}
\def\typein[#1]#2{}
\input{testpage}
%%% cut %%% image.tex %%% cut %%%
%%% cut %%% test.tex %%% cut %%%
\nopagenumbers
\def\test#1{%
\pdfximage width\hsize{image.#1}%
\noindent
\pdfrefximage\pdflastximage
}
\test{png}
\filbreak
\test{pdf}
\bye
%%% cut %%% test.tex %%% cut %%%
$ pdflatex image
$ gs -dBATCH -dNOPAUSE -sDEVICE=pngmono -sPAPERSIZE=a4 \
-sOutputFile=image.png image.pdf
$ pdftex test
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
More information about the pdftex
mailing list