RSS

 
WinEdt Macro Library  | LaTEX previous macro  | next macro

RCSdiff

This macro is a part of the RCS menu but can also be used without it.

Description

This macros produces a LaTEX'able file in which the differences between two versions are marked.

If you use a Revision Control System (e.g. CS-RCS, freely available for Windows from www.componentsoftware.com), you can thus easily compare two versions of a document.
Some basic instructions on how to use RCS together with WinEdt can be found here.

The macro in this package

  1. produces a diff file, comparing the current file
    • either with its latest version as found in the RCS repository,
    • or with a file of your choice (e.g. if you want to compare with an earlier version that you have retrieved from RCS),
    and
  2. writes the changes into a new file, to work with either
    • changebar.sty or
    • correct.sty.

(The package changebar.sty marks changed paragraphs with bars in the margins and is available from CTAN;
correct.sty typesets additions and deletions in different colours, and can be found in WinEdt's folder "Macros\Edt RCS"; an enhanced version that allows for coloured text span over paragraphs is available here, also included in the RCS menu.)