02-03-2018, 03:23 PM | #301 |
Grand Sorcerer
Posts: 5,585
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
02-03-2018, 08:35 PM | #302 |
A Hairy Wizard
Posts: 3,105
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I like BeckyEbook's icon as a standalone, however jcsalamon makes a very good point that the E₂→E₃ icon sets the stage nicely for an E₃→E₂ icon...
IF Doitsu agrees to that kind of icon, I would prefer the E₂→E₃/E₃→E₂. In any case, Thank you so much for including the Calibre series tags with the ability to convert to ePub3. That was one of the roadblocks keeping me from spending the time learning how to convert! |
08-11-2018, 04:09 PM | #303 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Greetings! I've been using ePub3-itizer successfully, but ran across an error message with one book:
Code:
..converting: OEBPS/content.opf ..parsing: OEBPS/toc.ncx Traceback (most recent call last): File "/Applications/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 135, in launch self.exitcode = target_script.run(container) File "/Users/J/Library/Application Support/sigil-ebook/sigil/plugins/ePub3-itizer/plugin.py", line 251, in run doctitle, toclist, pagelist = parse_ncx(bk, temp_dir) File "/Users/J/Library/Application Support/sigil-ebook/sigil/plugins/ePub3-itizer/plugin.py", line 564, in parse_ncx toclist.append((lvl, navlabel, href)) UnboundLocalError: local variable 'navlabel' referenced before assignment Error: local variable 'navlabel' referenced before assignment ETA: I created a new toc.ncx (using Sigil's "Generate Table of Contents"), after which the ePub3-itizer plug-in succeeded in converting to ePub3. But I'm still curious as to what went wrong since the epub2 validated. Last edited by odamizu; 08-11-2018 at 04:21 PM. Reason: more info |
08-11-2018, 06:07 PM | #304 |
Sigil Developer
Posts: 7,675
Karma: 5433388
Join Date: Nov 2009
Device: many
|
bug is line 542 in plugin.py, "navlable" should have been "navlabel" to given an initial value of None. An updated value is generated from parsing the ncx but in your case there was no navlabel text and so no new value assigned.
Rebuilding the ncx "fixed" it by creating a navlabel which was then properly handled. I will fix this typo. Thanks for the bug report. |
08-12-2018, 01:13 AM | #305 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
I didn't completely follow all that, but I'm thrilled my post was useful to you. Thanks again for all that you do!
|
08-12-2018, 11:46 AM | #306 |
Sigil Developer
Posts: 7,675
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Fix has now been pushed to master on ePub3-itizer github site (http://github.com/kevinhendricks/ePub3-itizer) and will be included in the next release.
Last edited by KevinH; 08-12-2018 at 01:05 PM. |
08-12-2018, 11:47 AM | #307 |
Sigil Developer
Posts: 7,675
Karma: 5433388
Join Date: Nov 2009
Device: many
|
BTW, you can grab the plugin.py file from github master and use it to replace the one in the plugin if you want this fix now.
|
08-12-2018, 02:27 PM | #308 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Perfect! Thanks!
|
11-12-2018, 08:08 AM | #309 |
Guru
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Found that <big> tags are apparently not kosher in epub3.
Hard to confirm this as searching for "big" is pretty hopeless. I had been using: <big><big><big><big>H</big></big></big></big> to make a standing cap and this seemed fine. Worked in epub2, passed epubcheck, worked when converted to mobi or AZW3. Converted to epub3 and it still works, and it loaded on iBooks fine. But it choked epubcheck. I made an equivalent <span> and that passed. Oddly, there seems no issue with <small>. Probably too much to expect this to be fixed by the converter, but perhaps it could give a warning if the tag is present. I don't see it mentioned in the notes at the head of the thread. Unrelated: when I save an epub3 file, it defaults to a folder in the top of "Documents and Settings" (a folder I never use for my working files). So I click up and down about 10 times to get to the folder I'm working in. Then if I redo it and try again, it again starts at "Documents and Settings".... Could it recall and use the last folder saved to; or default to the same folder as the epub2 file? Last edited by AlanHK; 11-12-2018 at 09:51 AM. |
11-12-2018, 09:48 AM | #310 |
Grand Sorcerer
Posts: 27,572
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
EPUB3 is based on HTML5. The "big" tag is not allowed in HTML5, the "small" tag (for whatever reason) is.
|
11-12-2018, 10:57 AM | #311 |
Sigil Developer
Posts: 7,675
Karma: 5433388
Join Date: Nov 2009
Device: many
|
I could look for all "big" tags and replace each with a span tag with an inline style attribute style="font-size:larger" but many people do not like inline styles even if they are technically correct.
That said, no conversion can be perfect all of the time, so running epub-check after conversion can easily detect this case, and allow the user to fix it the way they wish. I will look into auto replacement of big tags with spans and inline styles for the next release of epub-itizer. |
11-12-2018, 11:08 AM | #312 | |
Guru
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
Thanks. |
|
11-12-2018, 12:08 PM | #313 |
Sigil Developer
Posts: 7,675
Karma: 5433388
Join Date: Nov 2009
Device: many
|
New Release: ePub3-itizer_v041.zip
See the new version linked in the first post of this thread.
Fixes include: 1) a typo fix for missing ncx labels when converting to nav 2) the "big" tag is not part of html5 and so these are converted to "span" tags with the equivalent inline styles Have fun! KevinH |
02-03-2019, 10:19 AM | #314 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2019
Device: none
|
Plugin doesn't work for Mac
Appreciate your work a lot! What a big help indeed.
Unfortunately the plugin can be installed on sigil which is on a Mac but can't successfully output a epub3.0. Here's the message shown in Sigil. Hopefully this can be fixed and that would be another big help! Status: failed Traceback (most recent call last): File "/Users/bettina/Desktop/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 134, in launch target_script = __import__(script_module) File "/Users/bettina/Library/Application Support/sigil-ebook/sigil/plugins/ePub3-itizer/plugin.py", line 35, in <module> import tkinter File "tkinter/__init__.py", line 35, in <module> ImportError: dlopen(/Users/bettina/Desktop/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_tkinter.cpython-35m-darwin.so, 2): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.6/Tcl Referenced from: /Users/bettina/Desktop/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_tkinter.cpython-35m-darwin.so Reason: image not found Error: dlopen(/Users/bettina/Desktop/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_tkinter.cpython-35m-darwin.so, 2): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.6/Tcl Referenced from: /Users/bettina/Desktop/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_tkinter.cpython-35m-darwin.so Reason: image not found |
02-03-2019, 10:42 AM | #315 | |
Grand Sorcerer
Posts: 5,585
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
|
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 |