Graphic in preamble

2008-11-13 Thread icebna

Hi all :

I have in preamble the next code :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{Et lux in tenebris lucet \usebox{\mylogo}}

the output to the printer, no print the graphic ant.eps, because say : 
don't find the graphic, and the graphic is there !!


Someone idea ?

Thanks advanced

Miguel





Re: Graphic in preamble

2008-11-13 Thread José Matos
On Thursday 13 November 2008 10:54:11 icebna wrote:
 the output to the printer, no print the graphic ant.eps, because say :
 don't find the graphic, and the graphic is there !!

 Someone idea ?

What class are you using?

I remember that in beamer we had to remove the file prefix. And then depending 
on the generated output (pdf for example) eps files are not supported you need 
to use a png file.

The question here is that by doing this manually we lose lyx ability to do the 
conversions automatically.

 Thanks advanced

 Miguel

-- 
José Abílio


Graphic in preamble

2008-11-13 Thread icebna

Hi all :

I have in preamble the next code :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{Et lux in tenebris lucet \usebox{\mylogo}}

the output to the printer, no print the graphic ant.eps, because say : 
don't find the graphic, and the graphic is there !!


Someone idea ?

Thanks advanced

Miguel





Re: Graphic in preamble

2008-11-13 Thread José Matos
On Thursday 13 November 2008 10:54:11 icebna wrote:
 the output to the printer, no print the graphic ant.eps, because say :
 don't find the graphic, and the graphic is there !!

 Someone idea ?

What class are you using?

I remember that in beamer we had to remove the file prefix. And then depending 
on the generated output (pdf for example) eps files are not supported you need 
to use a png file.

The question here is that by doing this manually we lose lyx ability to do the 
conversions automatically.

 Thanks advanced

 Miguel

-- 
José Abílio


Graphic in preamble

2008-11-13 Thread icebna

Hi all :

I have in preamble the next code :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{Et lux in tenebris lucet \usebox{\mylogo}}

the output to the printer, no print the graphic ant.eps, because say : 
don't find the graphic, and the graphic is there !!


Someone idea ?

Thanks advanced

Miguel





Re: Graphic in preamble

2008-11-13 Thread José Matos
On Thursday 13 November 2008 10:54:11 icebna wrote:
> the output to the printer, no print the graphic ant.eps, because say :
> don't find the graphic, and the graphic is there !!
>
> Someone idea ?

What class are you using?

I remember that in beamer we had to remove the file prefix. And then depending 
on the generated output (pdf for example) eps files are not supported you need 
to use a png file.

The question here is that by doing this manually we lose lyx ability to do the 
conversions automatically.

> Thanks advanced
>
> Miguel

-- 
José Abílio


graphic in preamble

2008-10-29 Thread icebna

Hi all :

In the preamble I include the path a small graphic, which appears like 
logo in all the pages, in format eps. When I have printed everything  
goes out well but the graph is not recognized. The problem this one in 
the package tetex-dvips, that in previous versions was working 
perfectly, but now I cannot stamp print this logo.


Some solution?

Thanks advanced


Miguel


Re: graphic in preamble

2008-10-29 Thread rgheck

icebna wrote:

Hi all :

In the preamble I include the path a small graphic, which appears like 
logo in all the pages, in format eps. When I have printed everything  
goes out well but the graph is not recognized. The problem this one in 
the package tetex-dvips, that in previous versions was working 
perfectly, but now I cannot stamp print this logo.


Some solution?

Well, one idea: Make sure you give the full path to the logo. LyX won't 
mess with paths to things in the preamble, so it may be that the logo 
isn't found.


rh



graphic in preamble

2008-10-29 Thread icebna

Hi all :

In the preamble I include the path a small graphic, which appears like 
logo in all the pages, in format eps. When I have printed everything  
goes out well but the graph is not recognized. The problem this one in 
the package tetex-dvips, that in previous versions was working 
perfectly, but now I cannot stamp print this logo.


Some solution?

Thanks advanced


Miguel


Re: graphic in preamble

2008-10-29 Thread rgheck

icebna wrote:

Hi all :

In the preamble I include the path a small graphic, which appears like 
logo in all the pages, in format eps. When I have printed everything  
goes out well but the graph is not recognized. The problem this one in 
the package tetex-dvips, that in previous versions was working 
perfectly, but now I cannot stamp print this logo.


Some solution?

Well, one idea: Make sure you give the full path to the logo. LyX won't 
mess with paths to things in the preamble, so it may be that the logo 
isn't found.


rh



graphic in preamble

2008-10-29 Thread icebna

Hi all :

In the preamble I include the path a small graphic, which appears like 
logo in all the pages, in format eps. When I have printed everything  
goes out well but the graph is not recognized. The problem this one in 
the package tetex-dvips, that in previous versions was working 
perfectly, but now I cannot stamp print this logo.


Some solution?

Thanks advanced


Miguel


Re: graphic in preamble

2008-10-29 Thread rgheck

icebna wrote:

Hi all :

In the preamble I include the path a small graphic, which appears like 
logo in all the pages, in format eps. When I have printed everything  
goes out well but the graph is not recognized. The problem this one in 
the package tetex-dvips, that in previous versions was working 
perfectly, but now I cannot stamp print this logo.


Some solution?

Well, one idea: Make sure you give the full path to the logo. LyX won't 
mess with paths to things in the preamble, so it may be that the logo 
isn't found.


rh



Insert graphic in preamble

2006-07-24 Thread icebna

Hi all :
I need insert a graphic in the right head, after a line of text. Now, I
have in the preamble :

\rhead{line of text}
I need :

\rhead{line of text} :-) What 
instructions must insert here, to show the graphic ?


Someone idea

Thanks.

Miguel



Re: Insert graphic in preamble

2006-07-24 Thread Jean-Pierre Chretien

Date: Mon, 24 Jul 2006 15:59:35 +0200
From: icebna [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Insert graphic in preamble

Hi all :
I need insert a graphic in the right head, after a line of text. Now, I
have in the preamble :

 \rhead{line of text}
I need :

 \rhead{line of text} :-) What 
instructions must insert here, to show the graphic ?

Here is the piece of code I use to insert a graphic in the footer:

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{mylogo}}
\rfoot{\smallskip\usebox{\mylogo}}

Using the savebox/usebox is strongly recommended because:
 - the graphic is loaded only once
 - this will protect you against weird  effects if you use verbatim inputs.
 
I didn't include the suffix eps, pdf, jpg or png of the logo to be able
to compile with latex or pdflatex, I keep approprite versions of the logo 
available.

HTH
 
-- 
Jean-Pierre
 
 
 



Insert graphic in preamble

2006-07-24 Thread icebna

Hi all :
I need insert a graphic in the right head, after a line of text. Now, I
have in the preamble :

\rhead{line of text}
I need :

\rhead{line of text} :-) What 
instructions must insert here, to show the graphic ?


Someone idea

Thanks.

Miguel



Re: Insert graphic in preamble

2006-07-24 Thread Jean-Pierre Chretien

Date: Mon, 24 Jul 2006 15:59:35 +0200
From: icebna [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Insert graphic in preamble

Hi all :
I need insert a graphic in the right head, after a line of text. Now, I
have in the preamble :

 \rhead{line of text}
I need :

 \rhead{line of text} :-) What 
instructions must insert here, to show the graphic ?

Here is the piece of code I use to insert a graphic in the footer:

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{mylogo}}
\rfoot{\smallskip\usebox{\mylogo}}

Using the savebox/usebox is strongly recommended because:
 - the graphic is loaded only once
 - this will protect you against weird  effects if you use verbatim inputs.
 
I didn't include the suffix eps, pdf, jpg or png of the logo to be able
to compile with latex or pdflatex, I keep approprite versions of the logo 
available.

HTH
 
-- 
Jean-Pierre
 
 
 



Insert graphic in preamble

2006-07-24 Thread icebna

Hi all :
I need insert a graphic in the right head, after a line of text. Now, I
have in the preamble :

\rhead{line of text}
I need :

\rhead{line of text} :-) What 
instructions must insert here, to show the graphic ?


Someone idea

Thanks.

Miguel



Re: Insert graphic in preamble

2006-07-24 Thread Jean-Pierre Chretien

>>Date: Mon, 24 Jul 2006 15:59:35 +0200
>>From: icebna <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Insert graphic in preamble
>>
>>Hi all :
>>I need insert a graphic in the right head, after a line of text. Now, I
>>have in the preamble :
>>
>> \rhead{line of text}
>>I need :
>>
>> \rhead{line of text} :-) What 
>>instructions must insert here, to show the graphic ?

Here is the piece of code I use to insert a graphic in the footer:

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{mylogo}}
\rfoot{\smallskip\usebox{\mylogo}}

Using the savebox/usebox is strongly recommended because:
 - the graphic is loaded only once
 - this will protect you against weird  effects if you use verbatim inputs.
 
I didn't include the suffix eps, pdf, jpg or png of the logo to be able
to compile with latex or pdflatex, I keep approprite versions of the logo 
available.

HTH
 
-- 
Jean-Pierre