[darcs-users] locking

rmuschall rmuschall at tecont.de
Thu Feb 23 13:29:15 UTC 2006


Daniel Bünzli <daniel.buenzli at epfl.ch> wrote:

> The diff result of a tex file is generally not what really changed in  
> the text -- what you are interested in -- but how the line by line  
> layout of the paragraph changed in the source, which makes it hard to  
> identify the actual textual change : word or sentence changes in a  
> paragraph.
> 
> Diffing tex files first paragraph-wise and then, in paragraphs, token- 
> wise would report textual changes more accurately and make conflicts  
> much less frequent and easier to solve. One would then not try to  
> resort to locking to avoid conflicts.

Something like this would be wrong if we are inside
\begin{verbatim}...\end{verbatim} or similar.

Since [La]TeX is Turing-complete, detecting these places can
be arbitrarily hard (but is certainly possible, e.g. by
reimplementing TeX ;-)).

Ralf




More information about the darcs-users mailing list