[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-users
Subject: Re: DVI chokes on PNG Logo in fancy header
From: Abdelrazak Younes <younes () lyx ! org>
Date: 2008-11-24 15:37:53
Message-ID: 492ACA51.1090102 () lyx ! org
[Download RAW message or body]
Jean-Marc Lasgouttes wrote:
> Abdelrazak Younes <younes@lyx.org> writes:
>> I can't do that as this is in the preamble. Or can I just use the
>> \rhead command in the document?
>
> I think so, try it.
I confirm.
>> If not, is there something like conditional include with LateX?
>> Something like that (in pseudo C-like code):
>>
>> \includegraphics{
>> \engine == 'dvi' ? graphics/my_logo.eps : graphics/my_logo.png}
>> }
>
> It is possible (latex is a full-fledge language, after all), but not
> needed here. Make a png file and an eps one, and use
> \includegraphics{graphics/my_logo}
> the right extension will be picked automatically.
Even better, thanks!
Abdel.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic