It seems the correct way to achieve this is with the following in the preamble:
\let\foobar=\includegraphics
\renewcommand{\includegraphics}[1]{\foobar*{#1}}
Works nicely now!
R.
Rudolph van der Merwe wrote:
> Well, I also thought that might work, but it doesn't. When I put the
> following in the preamble:
>
> \renewcommand{\includegraphics}{\includegraphics*}
>
> I get the following Latex compilation error:
>
> > ! TeX capacity exceeded, sorry [input stack size=1500].
> > \includegraphics ->\includegraphics
> > *
> > l.280 ...mnwidth}{!}{\includegraphics{ut_fig.eps}}
> > \par}
>
>
> R.
>
>
> Guenter Milde wrote:
>
>> On Thu, 14 Mar 2002 19:42:16 -0800 wrote Rudolph van der Merwe
>> <[EMAIL PROTECTED]>:
>>
>>
>>> How do I get Lyx to clip an EPS image to its bounding box? I pure
>>> Latex this
>>> is quite easy, by simply using
>>> \includegraphics* in place of \includegraphics . I know that Lyx
>>> uses \includegraphics internally (its in the
>>> generated Latex source) but how do I get it to use \includegraphics*
>>> instead from within Lyx?
>>>
>>> More generally speaking, how do you pass options/parameters to
>>> includegraphics from within Lyx?
>>
>>
>>
>> AFAIK, you cannot.
>>
>> A workaround would be to have
>>
>> \renewcommand{\includegraphics}{\*includegraphics}
>>
>> in your preamble.
>>
>> Guenter
>>
>> --
>> [EMAIL PROTECTED]
>>
>
>
--
Rudolph van der Merwe | http://ece.ogi.edu/~rvdmerwe