Register Guidelines E-Books Today's Posts Search

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: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
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
Old 02-22-2017, 01:35 AM   #2
Tex2002ans
Wizard
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: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, 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
Advert
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: 1,515
Karma: 987654
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 offline   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: 27,547
Karma: 193191846
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: 12,165
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
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 (he/him)
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: 20,565
Karma: 26954694
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 offline   Reply With Quote
Old 02-22-2017, 06:43 PM   #7
Tex2002ans
Wizard
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: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, 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:	356
Size:	30.7 KB
ID:	155222 Click image for larger version

Name:	Compare-LibreOffice.png
Views:	379
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:	351
Size:	55.6 KB
ID:	155223 Click image for larger version

Name:	Compare-Word.png
Views:	375
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:	383
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 (he/him)
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: 20,565
Karma: 26954694
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 offline   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: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
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: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
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: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
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: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
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: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
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 (he/him)
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: 20,565
Karma: 26954694
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 offline   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: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
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:	282
Size:	148.2 KB
ID:	155259  
Gregg Bell is offline   Reply With Quote
Reply


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 01:39 PM.


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