04-04-2016, 10:44 PM | #1 |
Junior Member
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. |
04-04-2016, 11:28 PM | #2 |
Well trained by Cats
Posts: 30,422
Karma: 58055868
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 |
Advert | |
|
04-05-2016, 05:24 AM | #3 | |
null operator (he/him)
Posts: 20,964
Karma: 27620690
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
04-05-2016, 05:37 AM | #4 |
Wizard
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.
|
04-05-2016, 09:24 AM | #5 |
Sigil Developer
Posts: 8,116
Karma: 5450818
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 |
Advert | |
|
04-05-2016, 09:37 AM | #6 | |
Sigil Developer
Posts: 8,116
Karma: 5450818
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:
|
|
04-05-2016, 12:33 PM | #7 |
Sigil Developer
Posts: 8,116
Karma: 5450818
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. |
|
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 |