Re: DVI chokes on PNG Logo in fancy header
Abdelrazak Younes [EMAIL PROTECTED] writes: 'pdflatex' works fine but 'dvi' don't. I have this in my preamble: \rhead{} \rhead{\includegraphics[clip=,scale=.3] {graphics/my_logo.png}} Idea someone? Err, ERT is not handled by LyX and including a png via includegraphics is not possible. Create the eps by hand or maybe use the following in your document instead: ert\rhead{/ert[your nice graphics]ert}/ert JMarc
Re: DVI chokes on PNG Logo in fancy header
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: 'pdflatex' works fine but 'dvi' don't. I have this in my preamble: \rhead{} \rhead{\includegraphics[clip=,scale=.3] {graphics/my_logo.png}} Idea someone? Err, ERT is not handled by LyX and including a png via includegraphics is not possible. I knew there was something obvious but couldn't find it :-) Create the eps by hand or maybe use the following in your document instead: ert\rhead{/ert[your nice graphics]ert}/ert I can't do that as this is in the preamble. Or can I just use the \rhead command in the document? 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} } Thanks, Abdel.
Re: DVI chokes on PNG Logo in fancy header
Abdelrazak Younes [EMAIL PROTECTED] 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. 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. JMarc
Re: DVI chokes on PNG Logo in fancy header
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] 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.
Re: DVI chokes on PNG Logo in fancy header
Abdelrazak Younes [EMAIL PROTECTED] writes: 'pdflatex' works fine but 'dvi' don't. I have this in my preamble: \rhead{} \rhead{\includegraphics[clip=,scale=.3] {graphics/my_logo.png}} Idea someone? Err, ERT is not handled by LyX and including a png via includegraphics is not possible. Create the eps by hand or maybe use the following in your document instead: ert\rhead{/ert[your nice graphics]ert}/ert JMarc
Re: DVI chokes on PNG Logo in fancy header
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: 'pdflatex' works fine but 'dvi' don't. I have this in my preamble: \rhead{} \rhead{\includegraphics[clip=,scale=.3] {graphics/my_logo.png}} Idea someone? Err, ERT is not handled by LyX and including a png via includegraphics is not possible. I knew there was something obvious but couldn't find it :-) Create the eps by hand or maybe use the following in your document instead: ert\rhead{/ert[your nice graphics]ert}/ert I can't do that as this is in the preamble. Or can I just use the \rhead command in the document? 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} } Thanks, Abdel.
Re: DVI chokes on PNG Logo in fancy header
Abdelrazak Younes [EMAIL PROTECTED] 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. 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. JMarc
Re: DVI chokes on PNG Logo in fancy header
Jean-Marc Lasgouttes wrote: Abdelrazak Younes [EMAIL PROTECTED] 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.
Re: DVI chokes on PNG Logo in fancy header
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > 'pdflatex' works fine but 'dvi' don't. I have this in my preamble: > \rhead{} > \rhead{\includegraphics[clip=,scale=.3] {graphics/my_logo.png}} > > Idea someone? Err, ERT is not handled by LyX and including a png via includegraphics is not possible. Create the eps by hand or maybe use the following in your document instead: \rhead{[your nice graphics]} JMarc
Re: DVI chokes on PNG Logo in fancy header
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: 'pdflatex' works fine but 'dvi' don't. I have this in my preamble: \rhead{} \rhead{\includegraphics[clip=,scale=.3] {graphics/my_logo.png}} Idea someone? Err, ERT is not handled by LyX and including a png via includegraphics is not possible. I knew there was something obvious but couldn't find it :-) Create the eps by hand or maybe use the following in your document instead: \rhead{[your nice graphics]} I can't do that as this is in the preamble. Or can I just use the \rhead command in the document? 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} } Thanks, Abdel.
Re: DVI chokes on PNG Logo in fancy header
Abdelrazak Younes <[EMAIL PROTECTED]> 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. > 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. JMarc
Re: DVI chokes on PNG Logo in fancy header
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> 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.