Le 04/04/11 21:47, Hellmut Weber a écrit :
Hi list, recently in another post I found the internal LaTeX macro\input@path mentioned. Putting this (surrounded by \makeatletter and \makeatother) in an ERT eventually gives me the correct path to my LyX document as string in the document.
Note that this \input@path is not defined when you export to LaTeX, only when running inside LyX. So your code should be robust to that situation...
JMarc