Hi
I've been looking for a tool that compares two .lyx-files and marks the
places where they differ. Searching the net, I found a small script
called "texdiff". There was no manual or anything, but I got it working.
It is used as follows: >texdiff new_version old_version
and produces a new file:
new_version.diff.tex
that you can compile and look at. The differences have been marked
according to different styles (bold text, with margin arrows, or withing
thick brackets).
This works, but first you have to convert both versions of you
.lyx-files to .tex-files. This might be possible to do directly with a
.lyx-file. Unfortunately, 'texdiff' uses a program called 'sed', and I
don't know enough about it or the .lyx-format to make it work with a
.lyx-file.
If there is anybody out there that has the time and sed-skill to convert
"texdiff" into "lyxdiff", I've attached the "texdiff"-files (that I
found at: http://www.dis.uniroma1.it/PUB/italiano/texdiff/ )
Christian Ridderström
PS.
I saw something in the announcement about the Lyx file-format being
changed, so maybe this should wait. Maybe it is just bad practice to let
other programs/scripts mess with the .lyx-file?
DS
blockdiff.ed
delim.ed
linediff.sed
margin.ed
paint.ed
texdiff