Make a script, take the output of diff, find all the lines with '>'s in front of them, then mark those with a changebar. The biggest trick is that since the line breaks will be different, we need a way in the markup to say "start left margin bar here" and "stop left margin bar here" that aren't overly picky about where they go in relation to other things.
I think you would have to do it at that level, since trying to do it in the various forms of generated documents would be even more hassle. On Thu, 7 Aug 1997, Brian Slesinsky wrote: > > > One big feature I want are those handy bars down the left side of the page > > beside lines which have been modified since the last revision. > > CVS already represents changes, so it seems like change bars could be > generated using 'cvs diff' somehow. The main drawback would be that > anyone who wanted to print change bars would have to have both versions in > their CVS repository. > > Another way would be to include the previous version of the documentation > in the distribution, and use 'diff'. > > The output from 'diff' isn't perfect but I don't think editing change bars > by hand would be much fun. > > _____________________________________________________________________ > Brian Slesinsky www.wired.com/staff/bslesins >