Thanks.
Could not get the ifpdf statement to work....
But your suggestion is best, leave off the suffix. I had no idea that was
possible.
On Feb 12, 2010, at 12:59 PM, LyX Ticket Tracker wrote:
> #6532: eps graphics in header or footer will not compile under pdflatex
> -------------------------+--------------------------------------------------
> Reporter: marutgers | Owner: lasgouttes
> Type: enhancement | Status: closed
> Priority: low | Milestone:
> Component: general | Version:
> Severity: minor | Resolution: wontfix
> Keywords: |
> -------------------------+--------------------------------------------------
> Changes (by uwestoehr):
>
> * status: new => closed
> * type: defect => enhancement
> * resolution: => wontfix
>
>
> Comment:
>
>> Somewhat cumbersome to have to change things in the preamble in order to
> produce
>> pdf one way or another
>
> LyX does not care what you write into the preamble . This is exclusively
> your part.
>
> But why do you specify a file suffix? It works for all cases when you
> write
>
> \lfoot{\vspace{-0.4in}\resizebox{1.3in}{!}{\includegraphics{ARlogo}}}
>
> LaTeX will then take the image format it understands.
>
> Another solution is to use the command
> \ifpdf
> to check if the output is PDF or not. This solution works for all document
> classes.
>
>> It would be very nice for LyX to be able to handle graphics at the
> preamble level
>> in the robust way it does in the body of the text where LyX to
> incorporate nearly
>> any graphics file format, while properly generating PS, DVI, or PDF
> (pdflatex).
>
> This won't be possible because the preamble is the part of the document
> where you are free to to what you like without having LyX involved.
>
> --
> Ticket URL: <http://www.lyx.org/trac/ticket/6532#comment:1>
> The LyX Project <http://www.lyx.org/>
> LyX -- The Document Processor
Maarten Rutgers PhD, Staff Scientist
Asylum Research
6310 Hollister Ave
Santa Barbara, Ca 93117
tel: 805 696 6467 X294
fax: 805 696 6444
www.asylumresearch.com