| Short description: |
Compares documents and outputs html highlighting differences |
| Category: |
Application/Text processing |
| Status: |
alpha |
| Created: |
2003-07-10 04:03:27 GMT |
| Last update: |
- |
| Owner: |
MarkWilson
(Projects of this owner) |
| Homepage: |
None |
| Download: |
ftp://ftp.learningruby.com/compare-0.0.3a.tar.gz
|
| License: |
Ruby's |
| Dependency: |
|
| Description: |
What's new: Documents to be compared can be html, pdf, text, rtf, MS word or PostScript and do not have to be in the same format. Some refactoring.
What's was new: some refactoring
Usage: ruby compare.rb <original file> <modified file>
Input: two files, each in html, text, MS word, rtf, pdf or PostScript format.
Output: <modified file>.html.
Deletions are shown with strike-through and in red. Additions are shown underlined and in blue.
Uses wdiff, available at
http://www.iro.umontreal.ca/contrib/wdiff/wdiff-0.5g.tar.gz
and txt2html, a perl program, available at
http://sourceforge.net/project/showfiles.php?group_id=31276
txt2html installation instructions are at
http://txt2html.sourceforge.net/#install
Installation: Add #!/path/to/ruby to compare.rb. Copy compare.rb to desired directory (e.g., /usr/local/bin). Make compare.rb executable. Copy compare_model.rb and document_convert_model.rb to ruby library (e.g., /usr/local/lib/ruby/site_ruby/1.8/). document_convert_model.rb is the same file included with doc_convert, also available on the RAA.
|