Richard Heck wrote:

> Susanne Gütter wrote:
>> I have many files, which I print and after a few weeks, I have work to
>> find the corresponding files, if I don't label my papers manually.
>>
>> Is there any way to label it not manually (like it is possible in other
>> office-programms) ?
> There probably is some LaTeX command that holds the name of the source
> file. You could include in various ways. But, as Helge mentioned
> earlier, what you'll end up getting is the name of the temporary file to
> which LyX exports the LaTeX, not the name of the LyX file you're trying
> to print.

That name does not differ from your document name, only with the ending .tex
instead of .lyx. The directory part will be different (it will be some
temporary directory), so if you do not have documents with the same name in
different directories, then such a LaTeX command would indeed work.

> You could file an enhancement request on bugzilla. But remember that LyX
> isn't really an "office program". It's a front-end to LaTeX, which is a
> professional quality typesetting program.

Nevertheless it would be a useful feature to be able to put the document
file name in some footer or so, so an enhancement request in bugzilla would
be no bad idea.


Georg

Reply via email to