05-08-2015, 12:06 PM | #76 |
Sigil Developer
Posts: 7,800
Karma: 5446592
Join Date: Nov 2009
Device: many
|
Some valid ncx 's (which are allowed in epub3 for backwards compatibility) require the extended doctype to actually work. So this DOCTYPE is technically still valid for toc.ncx (not opf or content xhtml) and this bug was fixed to stop calling it an error in epubcheck 4.
|
05-28-2015, 03:58 PM | #77 |
Sigil Developer
Posts: 7,800
Karma: 5446592
Join Date: Nov 2009
Device: many
|
New Version of ePub3-itizer now posted
See post 1 at the top of this thread for the download link to ePub3-itizer_v031.zip
Changes since version v022: 1) nav.xhtml changes to add style in head to prevent display of landmarks and to use ol list-style-none 2) remove "linear = "yes" from nav entry in spine 3) remove DOCTYPE from toc.ncx (still not sure if this is correct or not) 4) remove guide from content.opf since now optional and empty guides freak out epubcheck 4 5) should now properly identify and add manifest properties "scripted" if the xhtml page uses the "script" tag inside its "head" tag. Please let me know if you run into any bugs Hope this helps, KevinH Last edited by KevinH; 05-29-2015 at 12:27 PM. |
Advert | |
|
05-29-2015, 12:29 PM | #78 |
Sigil Developer
Posts: 7,800
Karma: 5446592
Join Date: Nov 2009
Device: many
|
Hi All,
Added a bug fix ePub3-itzer_v031 to the first post that fixes a nasty bug I introduced in v030 that downcased ncx tags and even omitted navPoints. Thanks to Doitsu for quickly catching and reporting that bug in v030. KevinH |
05-29-2015, 01:02 PM | #79 |
Wizard
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Hi Kevin;
Many thanks for this new version of ePub3 plugin. Regarding the new nav.xhtml file that the plugin build, would it be possible for the plugin to allow me to choose the title (for example, instead of "Table of Contents/Guide" to use "Contenido/Guía") and to style nav.xhtml as I'd want? Now to do that, I have to edit by hand the epub3 built by your plugin. Regards Rubén Last edited by RbnJrg; 05-29-2015 at 01:12 PM. |
05-29-2015, 04:38 PM | #80 | |
Sigil Developer
Posts: 7,800
Karma: 5446592
Join Date: Nov 2009
Device: many
|
Hi RbnJrg,
I will think about how best to allow different languages for the nav.xhtml that is generated from the toc.ncx. Perhaps an ini file or setting file that will set these things or maybe a simple gui to allow users to specify these things. Let me think about how best to handle that and I will get back to you when I have something workable. Thanks for the suggestion. KevinH Quote:
|
|
Advert | |
|
05-29-2015, 06:34 PM | #81 | |
Grand Sorcerer
Posts: 5,618
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
I.e., epub3 users will most likely only see localized TOC strings if the app manufacturer decides to release localized versions. Nevertheless, I'd recommend that the plugin check the language metadata of the epub and automatically select a localized TOC string based on the first two letters of the ISO language code. For a traditional FIGS localization the plugin could query the following tuple list: Code:
toc = [('en', 'Table of Contents'), ('fr', 'Table des matières'), ('it', 'Tavola dei Contenuti'), ('de', 'Inhaltsverzeichnis'), ('es', 'Índice de contenido')] |
|
05-29-2015, 08:06 PM | #82 | |
Wizard
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Rubén |
|
05-29-2015, 08:26 PM | #83 | |
Wizard
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
In spanish, practically is not used "Indice de contenido"; many times is used "Indice" and many times is used "Contenido". In my case, I'd prefer to have the possibility of using sometimes "Indice" and sometimes "Contenido". Also, it would be nice to have the option in the plugin (as you explained well by PM) that the users can see (or can't) the nav.xhtml file by writing in content.opf: Code:
<itemref idref="navid" linear="no"/> Code:
<itemref idref="navid" linear="yes"/> Many thanks for your help. Rubén |
|
07-08-2015, 10:52 AM | #84 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: none
|
Good morning,
I've the following message when I try to use ePub3-itizer_v031 (Sigil 0.8.7): Quote:
|
|
07-08-2015, 12:23 PM | #86 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: none
|
Thank you for your message.
There is no problem with FlightCrew and EpubCheck before running the plugin. |
07-08-2015, 01:10 PM | #87 | |
Grand Sorcerer
Posts: 27,642
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Code:
props = self.props[idref] Code:
props = self.sprops[idref] If you're comfortable making changes to python source code, then feel free to try it (the plugins get installed in their own subdirectory of the plugins directory found Sigil's preferences location). If not, you'll need to wait for a fixed release of the plugin. Last edited by DiapDealer; 07-08-2015 at 01:14 PM. |
|
07-08-2015, 01:47 PM | #88 |
Sigil Developer
Posts: 7,800
Karma: 5446592
Join Date: Nov 2009
Device: many
|
Hi,
DiapDealer is exactly correct (as always!). This is a bug/typo and DiapDealers suggested correction is exactly right. I will try and get out a new version tomorrow when I get a free moment. Thanks! KevinH |
07-09-2015, 11:16 AM | #89 |
Sigil Developer
Posts: 7,800
Karma: 5446592
Join Date: Nov 2009
Device: many
|
ePub3-itizer Updated
FYI: ePub3-itizer has been updated to version v0.3.2
Changes since the previous version: 1) Fixed typo bug in opf_converter that caused problem with spine properties (Thanks DiapDealer for the fix! And thanks Olivier_g for the bug report!) 2) added lang= and xml:lang= to specify language from opf dc:language for nav.xhtml Please see the first post in this thread for the link |
07-10-2015, 03:33 AM | #90 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: none
|
And it works !
Thanks a lot folks, Have a nice day, Olivier |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 551 | 07-18-2023 06:22 AM |
Create a javascript quizz for Epub3 in Sigil | BertrandThibaut | Sigil | 3 | 01-26-2014 09:04 AM |
An epub3 version of Sigil ? | apulia03 | Sigil | 9 | 11-28-2012 01:07 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
epub3 Sigil Poetry(fixed layout) | Giggleton | Sigil | 7 | 04-04-2011 12:58 PM |