Chris Umphress wrote:
On 1/17/06, Chris Umphress <[EMAIL PROTECTED]> wrote:
On 1/17/06, DM Smith <[EMAIL PROTECTED]> wrote:
"Is there any open source software that can be used to create a visually pleasant
markup of the comparison of two verses?"
http://wdiff.progiciels-bpi.ca/showfile.html?mode=archives
I haven't been able to compile it yet, but the source should have the algorithm.
I'd like to take that back. I just had to comment out a couple
functions (the functions that it complains about during make --
'getline' and another one) and it works. Seems like its' algorithm
should work for a verse comparison:
$ diatheke -b KJV -k John3:16 >1; diatheke -b YLT -k John3:16 >2;./src/wdiff 1 2
John 3:16: [-For-] {+for+} God {+did+} so [-loved-] {+love+} the
world, that [-he gave his-] {+His Son--the+} only [-begotten Son,-]
{+begotten--He gave,+} that [-whosoever believeth-] {+every one who is
believing+} in him [-should-] {+may+} not perish, but {+may+} have
[-everlasting life.
(KJV)-] {+life age-during.
(YLT)+}
This should be easy to change, substituting, for example,
<strike> for [-
</strike> for -]
<strong> for {+
</strong> for +}
to produce a fragment of html.
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page