Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-04-2016, 10:44 PM   #1
PKTC
Junior Member
PKTC began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kindle
Bug in Sigil 0.9.5

To the makers of Sigil -- thanks very much! Your program has been most helpful. I's like to report a small bug. An html file converted to epub 2 by Sigil (Windows version) lists all sections of the book with the extension htm in accord with the extension on the html file. However, when that epub file is converted to epub 3 using the epub3 plugin, the .htm extension is not converted to xhtml as it should be. This leaves the mildly time-consuming task of manually renaming the extensions. Of course, if the original html file is given an xtml extension instead of htm, then there is no problem.

This is a small matter but one that would be helpful to be fixed.

By the way, I could not find the referenced help documentation despite searching for it. Basic procedural matter like the above should be mentioned in the documentation, if not already.

Thanks again.
PKTC is offline   Reply With Quote
Old 04-04-2016, 11:28 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I would think this is the fault of the (3rd party) Plugin

Sigil is a EPUB2 tool that allows EPUB3. The tool that makes EPUB3 should dot the i's and cross the t's if they are required
theducks is offline   Reply With Quote
Advert
Old 04-05-2016, 05:24 AM   #3
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,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
I would think this is the fault of the (3rd party) Plugin

Sigil is a EPUB2 tool that allows EPUB3. The tool that makes EPUB3 should dot the i's and cross the t's if they are required
I assume the OP is referring to this plugin ==>> https://www.mobileread.com/forums/sho...d.php?t=250566 - have a peek at who wrote it.

BR
BetterRed is offline   Reply With Quote
Old 04-05-2016, 05:37 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
In ePUB2 the extension .htm is perfectly valid, so no need to rename. If this is not valid in ePUB3, the plugin to convert to ePUB3 should rename the files. Not a bug of Sigil in my opinion.
Toxaris is offline   Reply With Quote
Old 04-05-2016, 09:24 AM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Or better yet, rename the files in Sigil using the nice Sigil rename facility before running ePub3-itizer!

Kevin
KevinH is online now   Reply With Quote
Advert
Old 04-05-2016, 09:37 AM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
The bug is actually in ePub3-itizer and not Sigil.

Sigil actually has the tools to automatically change extensions. As this requires parsing the entire books for links and updating them as well if needed, this is something much easier done in Sigil than a plugin.

I will add some docs to the ePub3-itizer site that will point out that using .htm or .html when the text is actually xhtml is not a particularly good idea even at the epub2 level and that the user should fix this with Sigil's rename tools before invoking the plugin.

This distinction will be become quite important when epub3.1 (epub4) is finally approved as they must be able to distinguish between html code and xhtml code.

Thanks,

KevinH


Quote:
Originally Posted by PKTC View Post
To the makers of Sigil -- thanks very much! Your program has been most helpful. I's like to report a small bug. An html file converted to epub 2 by Sigil (Windows version) lists all sections of the book with the extension htm in accord with the extension on the html file. However, when that epub file is converted to epub 3 using the epub3 plugin, the .htm extension is not converted to xhtml as it should be. This leaves the mildly time-consuming task of manually renaming the extensions. Of course, if the original html file is given an xtml extension instead of htm, then there is no problem.

This is a small matter but one that would be helpful to be fixed.

By the way, I could not find the referenced help documentation despite searching for it. Basic procedural matter like the above should be mentioned in the documentation, if not already.

Thanks again.
KevinH is online now   Reply With Quote
Old 04-05-2016, 12:33 PM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Hi PKTC:

To make the automated Sigil rename functionality clear since the approach is not always obvious:

In Sigil's BookBrowser:

1. highlight all of your .htm (or .html) files at the same time.

2. Right mouse click to raise the context menu and select Rename

3. In the "Rename Files Starting At:" dialog box that comes up, remove anything there and enter just ".xhtml" (no quotes). Then it "OK"

All of your files will be automatically renamed to .xhtml files (with no other name changes) and all of the internal links and references will be properly updated.

Hope this helps,

KevinH

ps. To document this requirement, I added these instructions to the ePub3-itizer main thread: https://www.mobileread.com/forums/sho...d.php?t=250566

Last edited by KevinH; 04-05-2016 at 12:44 PM.
KevinH is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Bug in Sigil 0.8.7 dragon reader Sigil 34 11-19-2015 11:45 AM
Sigil 0.8.6 and CSS cleanup tool bug steven522 Sigil 18 07-16-2015 01:57 AM
Table of Content click-bug inside Sigil steven522 Sigil 6 12-30-2014 03:33 PM
possible h1 bug in Sigil 0.6.1? michaelbr Sigil 2 12-04-2012 07:56 PM
Jumping Tocs (Bug Sigil 0.3.1) pedoll Sigil 1 11-09-2010 05:31 AM


All times are GMT -4. The time now is 09:45 AM.


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