diff.tcl - diff routines used by schtonk. originally from http://wiki.tcl.tk/3108
believed to be originally written by Kevin B. Kenny, modifications by Antti Jarvinen (how to do unicode in robodoc??)
diff routines used by schtonk. tcllib is in BSD license so this files is also, rest of schtonk uses AGPL.
diff2html - produces a diff in html
procedure that takes 2 documents in "doc1" and "doc2" and produces a HTML diff of those.
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
this returns the diff in html format. not whole document but a snippet that may be included into bigger document.
this is called from backend.tcl/list_attachments_for_page