Generated from ./diff.tcl with ROBODoc v4.0.18 on Mon Aug 18 22:39:20 2008

schtonk/diff.tcl

NAME

    diff.tcl - diff routines used by schtonk. originally from 
               http://wiki.tcl.tk/3108

AUTHOR

    believed to be originally written by Kevin B. Kenny, modifications
    by Antti Jarvinen (how to do unicode in robodoc??)

DESCRIPTION

    diff routines used by schtonk. tcllib is in BSD license so this files
    is also, rest of schtonk uses AGPL. 

diff.tcl/diff2html

NAME

    diff2html - produces a diff in html

FUNCTION

    procedure that takes 2 documents in "doc1" and "doc2" and 
    produces a HTML diff of those. 

INPUTS

    doc1         - is the left side document
    doc2         - is the right side document
    doc1version  - is version string to be displayed in the diff
    doc2version  - is version string to be displayed in the diff
    word_line    - is you favourite translation for single word "line"
    h1           - is heading for doc1 
    h2 -         - is heading for doc2 

RESULT

    this returns the diff in html format. not whole document but a snippet
    that may be included into bigger document. 

USED BY

    this is called from backend.tcl/list_attachments_for_page

SEE ALSO

    backend.tcl/list_attachments_for_page