Dear All,

I would like to ask you about document comparison.
How can I compare two .lyx document to see the changes between them?
It would be quite nice for updating translations.(since thange tracking
is disabled for this.)

A few month ago I've set-up a local svn on my linux box to store both
the english version and the localised version of the lyx docs.

Thus, I can translate only one file free from any changes. When I
finish, I can compare my old english file to the actual one to see what
was changed and correct it in the localised one.

I do it in the following way:
 1. export both "english".lyx file to txt by ps2txt (since it almost
handles one line per paragraph)
 2. compare them with krusaider's diff command (File->compare by content)
 3. modification of "hungarian".lyx

Earlier, I compared the files without converting to txt, so I had to
fight with the .lyx file format.

Drawbacks:
 - The diff will see much more changes than there are. Other diffs are
similar.
 - Unfortunately, the one line per pharagraph is not always the case, so
 some tweaks would be nice


One new feature, that I think would be nice:
 - compare two lyx file and show one with all the changes and let the
user to choose what to keep.
(Like: http://bugzilla.lyx.org/show_bug.cgi?id=1897)

Can you offer an other or better solution?

Alex

Reply via email to