The file "makro.txt" and the program "differ.exe"

The makro in "makro.txt" can be used to modify large dictionaries using
WinWord dictionary. The makro will replace all (to WinWord) unknown words
with the first suggestion WinWord has to the word. If WinWord has no
suggestions, the word will be deleted and the makro exits.

Please note that %{d} (stands for Alt+d) is used in the german version
of WinWord to replace the word with first (current) suggestion; also
ExtrasRechtschreibung calls the dictionary and might only work in the
german version of WinWord. You might have to modify the makro for other
versions of WinWord.

The program "differ.exe" will find the difference between file1 and file2
and write result to file3 (will find all text that is in file2 but not in
file1). Please note that additional syncronization is missing. It is
*REQUIRED* that file2 has to include all text of file1 (use MergeRead in 
the Dictionary Manager) *AND* both files are sorted in the same manner.
Otherwise the program will not end.

The program "differ.exe" is able to read unix-style files. Due to the way
this is done (reads the files byte-after-byte), the program is slow. One
could improve this by using BlockRead-procedure.

The source is provided in "differ.pas". You can modify the code to your
needs. If you have improved the program this might be of interest to others.
Note that using a syncronization will only work if you keep both
dictionaries in memory.


Examples are given with "de.dic" as current directory. You may replace this
with your primary dictionary. 

How to add a new dictionary ("addon.dic" to "de.dic"):
  - Load "de.dic" in Dictionary Manager of WinEdt
  - Use MergeRead and select "addon.dic" in Dictionary Manager
  - Use Sort and then SaveAs to save the new dictionary

How to remove words of a wordlist ("remove.dic") from dictionary ("de.dic"):
  - Rename "remove.dic" to "small.dic"
  - Use MergeRead with "de.dic" and "remove.dic" (required to syncronize)
  - Use Sort and then SaveAs (select "big.dic" as the filename)
  - run program "differ.exe"
  - the resulting "diff.dic" is the new dictionary ("de.dic" without the
    words of "remove.dic"); rename to "de.dic".

How to create a addon-dictionary ("addon.dic") and remove-dictionary
("remove.dic") to upload it on CTAN:
  - you have two dictionaries ("de_orig.dic" - the original version and
    "de_modif.dic" - your modified version)
  - use MergeRead with "de_orig.dic" and "de_modif.dic" (and Sort) to create
    the dictionary "big.dic", that contains the words of both dictionaries
  - copy "de_orig.dic" to "big.dic"
  - run program "differ.exe"
  - rename the resulting "diff.dic" to "addon.dic"
  - copy "de_modif.dic" to "big.dic"
  - run program "differ.exe"
  - rename the resulting "diff.dic" to "remove.dic"
  - Upload the dictionaries on CTAN...
  