[OS X TeX] Problem with the "starred" includegraphics

Herbert Schulz herbs at wideopenwest.com
Thu Jan 8 23:15:28 CET 2009


On Jan 8, 2009, at 3:48 PM, Cédrick Fairon wrote:

> Hello All,
>
> I am trying to use the star version of \includegraphics* for  
> including a PDF graphic (filename=cental.pdf) in a document.I am  
> working with TexShop, with the TexLive-2008 distribution (compiling  
> with PDFTex)
>
> The following code does not work: LaTeX Error: File '*' not found.
>
> \usepackage{graphicx}
>
> \resizebox{!}{1.7cm}{\includegraphics*{cental}}
>
>
> But, if I remove the star... it works, the image file "cental.pdf"  
> is correctly inserted in my document.
>
> \usepackage{graphicx}
>
> \resizebox{!}{1.7cm}{\includegraphics*{cental}}
>
>
> I guess, I am missing something... Any Idea?
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Cédrick
>
>
>
> Prof. Cédrick Fairon
> cedrick.fairon at uclouvain.be


Howdy,

The graphicx manual. grfguide.pdf, says

The functions for graphics inclusion try to give the same user syntax  
for includ-
ing any kind of graphics file that can be understood by the driver.  
This relies
on the file having an extension that identifies the file type. The  
‘driver options’
will define a collection of file extensions that the driver can  
handle, although
this list may be extended using the declarations described below.
If the file’s extension is unknown to the driver, the system may try  
a default
file type. The PostScript driver files set this default to be eps  
(PostScript), but
this behaviour may be customised if other defaults are required.

graphics: \includegraphics*[⟨l lx,l ly ⟩][⟨urx,ury ⟩] 
{⟨file ⟩}
graphicx: \includegraphics*[⟨key val list ⟩]{⟨file ⟩}

Include a graphics file.

If * is present, then the graphic is ‘clipped’ to the size  
specified. If * is omitted,
then any part of the graphic that is outside the specified ‘bounding  
box’ will
over-print the surrounding text.

If the optional arguments are omitted, then the size of the graphic  
will be
determined by reading an external file as described below.
...

Note the last paragraph and information that follows.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list