On 03/26/2012 09:35 AM, Bieniasz wrote:
1) I notice that apart from *.lyx files there are also files with extension
lyx~. I presume these are "previous" versions of the *.lyx files, produced
when any changes are made to the *.lyx files. Is this so?
Yes, but it only applies to the current editing session. The ~ file is a copy of what you had when you started working on the file. Next time you load the file into LyX, it overwrites that ~ file with the then current version.
2) I observe that some other files are also created, the names of which begin
with #. What are these files, and can I delete them safely?
Those are emergency saves, if LyX crashed.
3) I am not sure about the relationships between the *.lyx files and
*.tex files. It seems to me that the *.tex files are not updated or used
at all during the LyX operations, but all changes are saved in *.lyx files. Is
this correct? If so, can I delete all *.tex files? I presume the *.tex files
can be re-created by using the file/export command. Is this correct?

Yes. *.tex files in your user directory are only created when you export to TeX, and not automatically updated. There are other files, in (well, for linux) /tmp/* which are created and used during conversions to other formats, or for printing.
Can I be sure that if I import a *.tex file into LyX, and then export the
result into another *.tex file, the two *.tex files will be identical
(assuming I do not do any editing)?

No, you can't. There are too many ways to encode things in TeX. LyX uses only a subset of those. Fortunately, the importer understands a broader range, but still exports will be LyX's flavor of TeX.

--

David L. Johnson

The motor car reflects our standard of living and gauges the speed of
our present life. It long ago ran down Simple Living, and never halted
to inquire about the prostrate figure which fell as its victim.
                -- Warren G. Harding

Reply via email to