[texhax] Problem with graphics package
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Aug 22 10:03:11 CEST 2017
On 22/08/2017 00:30, Michael Barr wrote:
> I have been trying to figure out how to use the graphics package to clip an image. The following test file:
>
> \documentclass{article}
> \usepackage{graphics}
>
> \begin{document}
>
> \[
> \includegraphics*[1in,3in][6in,1in]{adj1.pdf}
> \]
>
> \end{document}
>
> led to the following error message:
>
> ! Undefined control sequence.
> <argument> ... at base \Gin at ext image\GPT at AttrShort
> \ifx \GPT at print \ltx at empty...
> l.7 \includegraphics*[1in,3in][6in,1in]{adj1.pdf}
>
> ? x
> No pages of output.
>
> Since I cannot put in attachments just substitute any convenient graphic. Incidentally I get the same error whether or not I use the * version.
>
> Any thoughts?
>
> Michael
Could you add \listfiles to you input and report the resulting File List
from the .log? I suspect a version mismatch between graphics and the
driver file.
Joseph
More information about the texhax
mailing list