Susanne Gütter wrote:
Dear lyx-user,
how can I get the name of my document into the document or into the preview?
I don't find any solution in the references.
If you just want to see the filename while previewing, note that
most previewer indeed shows the filename in the window title bar.
You can get the filename into the text by typing it in.
Lyx has no automatic way of doing it, as far as I know.
Latex might have
a command for doing it, but that would only get you
the name of the temporary latex file used for
creating output.
Helge Hafting