How to automatically add the filename in a footer?

2009-01-31 Thread Christian Ridderström

Hi,

I guess the following will require some LaTeX. Any tips on how to get the 
filename appear in the footer?


I'm using \cfoot{...} to create the center text of the footer.

Is it also possible to only extract for instane the filename and not get 
the full path? Or remove the extension?


regards,
/Christian

--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr

Re: How to automatically add the filename in a footer?

2009-01-31 Thread john
Christian Ridderström wrote:
> Hi,
>
> I guess the following will require some LaTeX. Any tips on how to get
> the filename appear in the footer?
>
> I'm using \cfoot{...} to create the center text of the footer.
\cfoot{\scriptsize{\jobname.lyx}}}

John O'Gorman
>
> Is it also possible to only extract for instane the filename and not
> get the full path? Or remove the extension?
>
> regards,
> /Christian
>