Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2017, 12:33 AM   #1
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 1,768
Karma: 3738738
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch Sony PRS300
Does any free software compare epubs?

I know a lot of software compares the html files within epubs but will any free software compare the epubs themselves?
Gregg Bell is offline   Reply With Quote
Advert
Old 02-22-2017, 01:35 AM   #2
Tex2002ans
Guru
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 813
Karma: 3849999
Join Date: Jul 2012
Device: Nook
Calibre has a compare EPUBs built in:

https://manual.calibre-ebook.com/diff.html

Open up your EPUB in Calibre's Editor, then press File > Compare to another book, and choose the one you want to compare to.

EPUBs are just HTML files in a ZIP file. You can just unzip the EPUB and use all the different Code Comparison programs to compare files:

https://en.wikipedia.org/wiki/Compar...mparison_tools

and there are probably quite a few online code comparison tools.

I personally use/prefer Beyond Compare (Paid, proprietary):

http://www.scootersoftware.com/

I found it worked better than the other tools I tested. (Working on large Non-Fiction books with large paragraphs.) Some other tools I tested misaligned very easily, and the entire comparison algorithm would get thrown off beyond that point.

If you are working on something like Fiction with shorter paragraphs, those other tools may work absolutely perfectly for you.

Last edited by Tex2002ans; 02-22-2017 at 01:50 AM.
Tex2002ans is offline   Reply With Quote
Old 02-22-2017, 05:20 PM   #3
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 997
Karma: 448520
Join Date: Dec 2012
Device: Kindle
Um, compared to what? Not checking for plagiarism, I assume. What is the benefit / utility of doing this?
Notjohn is online now   Reply With Quote
Old 02-22-2017, 05:27 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 15,850
Karma: 83613742
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Notjohn View Post
Um, compared to what? Not checking for plagiarism, I assume. What is the benefit / utility of doing this?
To compare different versions of the same epub, usually. It's very handy to know exactly what changes you made to the original. It's the heart and and soul of any version control system. Very handy when multiple people are working on the same project (or you just want to track your changes/ corrections/additions to an epub over time).

Very handy for simply double-checking your own work, as well. I would think the benefits would be painfully obvious (even if it's not something you see yourself needing).
DiapDealer is offline   Reply With Quote
Old 02-22-2017, 05:53 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 9,754
Karma: 56824989
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
The original issue was that Greg made changes in an epub that had been created from an LO document, and then wanted to make a print version of his book. It was suggested that one way to track down his changes would be to remake the ePub from LO and then compare the two epubs to find the changes.
PeterT is offline   Reply With Quote
Advert
Old 02-22-2017, 06:25 PM   #6
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 8,393
Karma: 7071999
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Gregg Bell - I suggest you try the one in the calibre-editor first, for a start it does the unravelling of the ePubs for you etc. I've used it a few times when I've gotten myself confused with what I've already done and not done, right and wrong.

The editor can be used independently of the library manager, I have it as one of the file associations for .epubs, same as I have for Sigil, etc.

I have a recollection Kovid said he created the calibre editor's file compare tool from the tool he uses in his daily work, so a) it's tried and tested and b) having it in his toolkit made it relatively easy to fold into the editor.

BR
BetterRed is online now   Reply With Quote
Old 02-22-2017, 06:43 PM   #7
Tex2002ans
Guru
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 813
Karma: 3849999
Join Date: Jul 2012
Device: Nook
Quote:
Originally Posted by PeterT View Post
It was suggested that one way to track down his changes would be to remake the ePub from LO and then compare the two epubs to find the changes.
Depending on how extensive the actual code changes are, it also might help to have a more visual comparison too.

What I do sometimes is use Calibre to convert EPUB -> DOCX (or ODT). Then you can use the Compares in LibreOffice/Word.

In LibreOffice you can do Edit > Track Changes > Compare Document:

Click image for larger version

Name:	CompareDocumentsMenu-LibreOffice.png
Views:	33
Size:	30.7 KB
ID:	155222 Click image for larger version

Name:	Compare-LibreOffice.png
Views:	35
Size:	120.3 KB
ID:	155225

or in Microsoft Word you can do Review > Compare > Compare:

Click image for larger version

Name:	CompareDocumentsMenu-MicrosoftWord.png
Views:	35
Size:	55.6 KB
ID:	155223 Click image for larger version

Name:	Compare-Word.png
Views:	38
Size:	215.0 KB
ID:	155226

And here is a sample showing Calibre's EPUB Comparison:

Click image for larger version

Name:	Compare-Calibre.png
Views:	45
Size:	97.8 KB
ID:	155224

In this case, my EPUB had hundreds and hundreds of very minor changes of Footnotes from:

Code:
<sup>##</sup> -> <a href="FootnoteStuff">[##]</a>
you might easily miss the "exPresidents" -> "ex-Presidents". Where using the visual method like in LibreOffice/Word, that tiny typo correction stands out more like a sore thumb.

Last edited by Tex2002ans; 02-22-2017 at 06:49 PM.
Tex2002ans is offline   Reply With Quote
Old 02-22-2017, 07:34 PM   #8
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 8,393
Karma: 7071999
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Tex2002ans View Post
you might easily miss the "exPresidents" -> "ex-Presidents".
camelCased former Presidents :lol:
================

Greg - if the changes PeterT mentioned stem from your use of the Language Tools grammar checker, then for future use you might want to consider installing it in LO Writer. IMO the LO Writer version is easier to use, and Writer is probably a more suitable place to be doing grammar checks.

BR
BetterRed is online now   Reply With Quote
Old 02-22-2017, 11:29 PM   #9
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 1,768
Karma: 3738738
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch Sony PRS300
Quote:
Originally Posted by Tex2002ans View Post
Calibre has a compare EPUBs built in:

https://manual.calibre-ebook.com/diff.html

Open up your EPUB in Calibre's Editor, then press File > Compare to another book, and choose the one you want to compare to.

EPUBs are just HTML files in a ZIP file. You can just unzip the EPUB and use all the different Code Comparison programs to compare files:

https://en.wikipedia.org/wiki/Compar...mparison_tools

and there are probably quite a few online code comparison tools.

I personally use/prefer Beyond Compare (Paid, proprietary):

http://www.scootersoftware.com/

I found it worked better than the other tools I tested. (Working on large Non-Fiction books with large paragraphs.) Some other tools I tested misaligned very easily, and the entire comparison algorithm would get thrown off beyond that point.

If you are working on something like Fiction with shorter paragraphs, those other tools may work absolutely perfectly for you.
Thanks Tex. I tried that Calibre comparison tool and found it hard to see the changes. I'll take a closer look at it. And thanks for that chart. I just wish it said what files (esp. epubs) they compare. And I've got Beyond Compare's free version now, but I find that for comparing html files Diff Checker does a better job.

https://www.diffchecker.com/
Gregg Bell is offline   Reply With Quote
Old 02-22-2017, 11:30 PM   #10
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 1,768
Karma: 3738738
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch Sony PRS300
Quote:
Originally Posted by Notjohn View Post
Um, compared to what? Not checking for plagiarism, I assume. What is the benefit / utility of doing this?
What Diap said. I find I'm always looking to compare files. Stuff just comes up.
Gregg Bell is offline   Reply With Quote
Old 02-22-2017, 11:32 PM   #11
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 1,768
Karma: 3738738
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch Sony PRS300
Quote:
Originally Posted by PeterT View Post
The original issue was that Greg made changes in an epub that had been created from an LO document, and then wanted to make a print version of his book. It was suggested that one way to track down his changes would be to remake the ePub from LO and then compare the two epubs to find the changes.
Thanks Peter. To tell you the truth I'm losing track of why I need it. I just know that there are so many situations where I'd like to compare epubs. I can do the html files but with 33 chapters that can be time consuming.
Gregg Bell is offline   Reply With Quote
Old 02-22-2017, 11:33 PM   #12
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 1,768
Karma: 3738738
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch Sony PRS300
Quote:
Originally Posted by BetterRed View Post
@Gregg Bell - I suggest you try the one in the calibre-editor first, for a start it does the unravelling of the ePubs for you etc. I've used it a few times when I've gotten myself confused with what I've already done and not done, right and wrong.

The editor can be used independently of the library manager, I have it as one of the file associations for .epubs, same as I have for Sigil, etc.

I have a recollection Kovid said he created the calibre editor's file compare tool from the tool he uses in his daily work, so a) it's tried and tested and b) having it in his toolkit made it relatively easy to fold into the editor.

BR
Thanks Red. I've used it but only once. I found it hard to see the changes. But I'm going to go back and take another look at it.
Gregg Bell is offline   Reply With Quote
Old 02-22-2017, 11:38 PM   #13
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 1,768
Karma: 3738738
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch Sony PRS300
Quote:
Originally Posted by Tex2002ans View Post
Depending on how extensive the actual code changes are, it also might help to have a more visual comparison too.

What I do sometimes is use Calibre to convert EPUB -> DOCX (or ODT). Then you can use the Compares in LibreOffice/Word.

In LibreOffice you can do Edit > Track Changes > Compare Document:

Attachment 155222 Attachment 155225

or in Microsoft Word you can do Review > Compare > Compare:

Attachment 155223 Attachment 155226

And here is a sample showing Calibre's EPUB Comparison:

Attachment 155224

In this case, my EPUB had hundreds and hundreds of very minor changes of Footnotes from:

Code:
<sup>##</sup> -> <a href="FootnoteStuff">[##]</a>
you might easily miss the "exPresidents" -> "ex-Presidents". Where using the visual method like in LibreOffice/Word, that tiny typo correction stands out more like a sore thumb.
Cool. I didn't know LO had such functionality. Thanks.
Gregg Bell is offline   Reply With Quote
Old 02-23-2017, 12:10 AM   #14
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 8,393
Karma: 7071999
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Greg - I usually have to increase the font size when I do compares - in anything.

In the calibre compare I also turn off mispelt word underlining. They're in Edit->Preferences->Editor Settings. And I tweaked the colours for Difference (??) in the Colour Scheme settings. My colour scheme is based on pyte-light - I think that's the default.

BR
BetterRed is online now   Reply With Quote
Old 02-23-2017, 04:11 PM   #15
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 1,768
Karma: 3738738
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch Sony PRS300
Quote:
Originally Posted by BetterRed View Post
Greg - I usually have to increase the font size when I do compares - in anything.

In the calibre compare I also turn off mispelt word underlining. They're in Edit->Preferences->Editor Settings. And I tweaked the colours for Difference (??) in the Colour Scheme settings. My colour scheme is based on pyte-light - I think that's the default.

BR
Thanks Red. That helps a lot. I think I judged this Calibre compare too quickly. I think it's going to be good. A question though. I made three changes to a file and ran the compare. It caught all the changes but adds all this other distracting stuff that it's calling changes, which makes it harder to find the actual changes. (screenshot--I circled some of them). Is there any way to get rid of that clutter?
Attached Thumbnails
Click image for larger version

Name:	Selection_106.png
Views:	51
Size:	148.2 KB
ID:	155259  
Gregg Bell is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPad Possibility to sync bookmarks through side loaded ePubs (Any iOS software?) andsoitgoes Apple Devices 12 04-13-2012 07:38 PM
Best software for proofing epubs? vootie ePub 10 02-24-2012 11:08 PM
Compare ePubs?? carmenchu ePub 6 09-05-2011 11:07 AM
How does Plucker (free) compare to iSilo (commercial)? Alexander Turcic Reading and Management 47 11-22-2004 11:43 PM


All times are GMT -4. The time now is 04:27 PM.


MobileRead.com is a privately owned, operated and funded community.