When asked to update or view the dvifil of a LyX file there are
several files that must be checked for modification apart from the
document itself. I do not consider the latex generated files in this
note.
As far as I can see there are three different occasions:
- files included through insetinclude
- graphics files included through insetgraphics
- files included using ERT
Files included through insetinclude.
There are three filetypes that can be included this way:
- LyX files
- partial (La)TeX files�
- text files
Graphics files included through insetgraphics.
Up to present this has been limited to encapsulated postscript files,
but that is likely to change in the near future. Anyway the fileformat
of the included files are unlikely to change the method of checking
the files for modifications.
Files included through ERT.
This is basically three filetypes:
- partial (La)TeX files
- text files
- graphical files
So in total we have this:
- included LyX file
- included TeX file
- included text file
- included graphics file
An included LyX file is exported as TeX in the temporary directory fo
the including file, because of this the checksum will not tell after a
checksum update if the including LyX file has been modified or not,
this is something that needs to be looked into and cleaned
up/modified.
As to the rest of the filetypes they will be external to the temporary
directory and thus covered by the checksumming functions. However to
let the checksumming find the files in question we need to have
absolute paths to them. We should look at include@path and
graphics@path when trying to find the absolute path.
The present status should work for included LyX files and files
included through a relative path, or files in the same directory as
the including file.
� (La)TeX files without preamble and \begin \end{document}
Lgb