Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2018, 03:23 PM   #301
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
added calibre:title_sort support here and if you pull Sigil from master just now, you can use the epub2 metadata gui to set any of these new calibre metadata items.
Thanks! I'll test all new items tomorrow.
Doitsu is offline   Reply With Quote
Old 02-03-2018, 08:35 PM   #302
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,093
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!
Turtle91 is offline   Reply With Quote
Advert
Old 08-11-2018, 04:09 PM   #303
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,585
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
Thank you for any help!

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
odamizu is offline   Reply With Quote
Old 08-11-2018, 06:07 PM   #304
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,634
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.
KevinH is online now   Reply With Quote
Old 08-12-2018, 01:13 AM   #305
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,585
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!
odamizu is offline   Reply With Quote
Advert
Old 08-12-2018, 11:46 AM   #306
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,634
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.
KevinH is online now   Reply With Quote
Old 08-12-2018, 11:47 AM   #307
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,634
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.
KevinH is online now   Reply With Quote
Old 08-12-2018, 02:27 PM   #308
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Perfect! Thanks!
odamizu is offline   Reply With Quote
Old 11-12-2018, 08:08 AM   #309
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
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.
AlanHK is offline   Reply With Quote
Old 11-12-2018, 09:48 AM   #310
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,546
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.
DiapDealer is online now   Reply With Quote
Old 11-12-2018, 10:57 AM   #311
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,634
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.
KevinH is online now   Reply With Quote
Old 11-12-2018, 11:08 AM   #312
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by KevinH View Post
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.
Ugly but correct is better than non-conforming.


Quote:
Originally Posted by KevinH View Post
I will look into auto replacement of big tags with spans and inline styles for the next release of epub-itizer.
Thanks.
AlanHK is offline   Reply With Quote
Old 11-12-2018, 12:08 PM   #313
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,634
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
KevinH is online now   Reply With Quote
Old 02-03-2019, 10:19 AM   #314
chloelo
Junior Member
chloelo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2019
Device: none
Exclamation 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
chloelo is offline   Reply With Quote
Old 02-03-2019, 10:42 AM   #315
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by chloelo View Post
Unfortunately the plugin can be installed on sigil which is on a Mac but can't successfully output a epub3.0.
macOS users will need to install the ActiveTcl Community Edition.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 12:40 PM.


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