[pstricks] includegraphics page of pdf, pst-pdf, auto-pst-pdf

exelnet at exelnet.de exelnet at exelnet.de
Thu Mar 20 15:36:23 CET 2008


Hi!

Im trying to include a pdf page.

\listfiles
\documentclass[11pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{pst-pdf}

\begin{document}

\includegraphics[page=1,width=\linewidth]{graphicx}

\end{document}

This wont work. It will end with the following compile error:


latex test.tex



! Package keyval Error: page undefined.

See the keyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.9 ...graphics[page=1,width=\linewidth]{graphicx}
                                                  
? Exit

Ideally i would like to use auto-pst-pdf package. I ve been working with it 
for a while and it did work fine for everything except the \includegraphics[page=...
command.



my \listfiles output:


 *File List*
  report.cls    2005/09/16 v1.4f Standard LaTeX document class
  size11.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
inputenc.sty    2006/05/05 v1.1b Input encoding file
    utf8.def    2006/03/30 v1.1i UTF-8 support for inputenc
   t1enc.dfu    2006/03/30 v1.1i UTF-8 support for inputenc
  ot1enc.dfu    2006/03/30 v1.1i UTF-8 support for inputenc
  omsenc.dfu    2006/03/30 v1.1i UTF-8 support for inputenc
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
 pst-pdf.sty    2006/08/31 v1.1o PS graphics for pdfLaTeX (RN,HjG)
pstricks.sty    2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2006/12/22 v1.15 `PSTricks' (tvz)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 preview.sty    2006/08/25 11.84 (AUCTeX/preview-latex)
prtightpage.def
  pdftex.def    2007/01/08 v0.04d Graphics/color for pdfTeX
 ***********

Thanks

Jan Marc Hoffmann



More information about the PSTricks mailing list