[fptex] pdf_page failure with pdftex-1.00a-pretest-20010806-win32.zip

Guy Worthington guyw@multiline.com.au
07 Sep 2001 11:28:30 +0800


I've attached the files inline.  All files should be put in the same
directory.  Along with Heiko Oberdiek's updated pdftex.def driver
(http://www.tug.org/applications/pdftex/pdftex.def).

%-trypdf.tex-------------------------------------------------
\input graphicx

\includegraphics{polyline}

\bye
%-------------------------------------------------------------

%-graphics.cfg------------------------------------------------

% This file contains nothing

%-------------------------------------------------------------

%-graphics.tex------------------------------------------------
% Plain TeX interface to graphicx package.

\input miniltx

\def\Gin@driver{pdftex.def}
\input graphicx.sty


\resetatcatcode
%-------------------------------------------------------------

The file polyline.pdf was generated from the metapost file
polyline.mp using the following commands:

  mpost polyline
  perl c:/Local/TeX/tex/context/perltk/mptopdf polyline.1
  rename polyline-1.pdf polyline.pdf

%-polyline.mp-------------------------------------------------
beginfig(1)
  % draw axis
  u:=1cm;
  draw (0,0)--(10u,0);
  draw (0,0)--(0,4u);

  % x axis major tics
  draw (5u,u/10)--(5u,-u/10);
  draw (10u,u/10)--(10u,-u/10);

  % axis minor tics
  for i=0 step u until 4u:
    draw (i,u/20)--(i,-u/20);
    draw (u/20,i)--(-u/20,i);
  endfor;
  for i=5u step u until 10u:
    draw (i,u/20)--(i,-u/20);
  endfor;
  label.bot(btex X-Axis etex, (5u,0));
  label.lft(btex Y-Axis etex rotated 90, (0,2u));

  % draw polyline 1
  pair A,B,C,D,E,F,G,H,I,J,K;
  A:=(2u,3u);
  B:=(3u,2u);
  C:=(2u,u);
  D:=(u,2u);
  draw A--B--C--D;
  dotlabel.lft (btex $P_1$ etex, A);
  dotlabel.top (btex $P_2$ etex, B);
  dotlabel.bot (btex $P_3$ etex, C);
  dotlabel.bot (btex $P_4$ etex, D);

  % draw polyline 2
  E:=(9u,2u);
  F:=(6u,3u);
  G:=(8u,u);
  H:=(7u,u);
  I:=(5u,2u);
  J:=(8u,3u);
  K:=(5u,u);
  draw E--F--G--H--I--J--K;
  dotlabel.rt (btex $P_1$ etex, E);
  dotlabel.top (btex $P_2$ etex, F);
  dotlabel.rt (btex $P_3$ etex, G);
  dotlabel.bot (btex $P_4$ etex, H);
  dotlabel.lft (btex $P_5$ etex, I);
  dotlabel.top (btex $P_6$ etex, J);
  dotlabel.bot (btex $P_7$ etex, K);

endfig;
end
%-------------------------------------------------------------

The file trypdf-pdfTeX.pdf was produced with the commands:

  pdfTeX trypdf
  rename trypdf.pdf trypdf-pdfTeX.pdf

The file trypdf-pdfeTeX.pdf was produced with the commands:
  
  pdfeTeX trypdf
  rename trypdf.pdf trypdf-pdfeTeX.pdf

The file trypdf-pdfeTeX.pdf cannot be displayed using gsview 4.0.