Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2018, 04:23 PM   #301
Doitsu
Wizard
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: 4,350
Karma: 14316543
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, 09: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: 1,696
Karma: 11766398
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
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
Old 08-11-2018, 05:09 PM   #303
odamizu
maniac
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: 758
Karma: 1831280
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, 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 05:21 PM. Reason: more info
odamizu is offline   Reply With Quote
Old 08-11-2018, 07:07 PM   #304
KevinH
Wizard
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: 3,110
Karma: 1931746
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 offline   Reply With Quote
Old 08-12-2018, 02:13 AM   #305
odamizu
maniac
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: 758
Karma: 1831280
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, 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
Old 08-12-2018, 12:46 PM   #306
KevinH
Wizard
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: 3,110
Karma: 1931746
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 02:05 PM.
KevinH is offline   Reply With Quote
Old 08-12-2018, 12:47 PM   #307
KevinH
Wizard
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: 3,110
Karma: 1931746
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 offline   Reply With Quote
Old 08-12-2018, 03:27 PM   #308
odamizu
maniac
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: 758
Karma: 1831280
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
Perfect! Thanks!
odamizu is offline   Reply With Quote
Old 11-12-2018, 09:08 AM   #309
AlanHK
Evangelist
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 440
Karma: 1002
Join Date: Apr 2014
Device: PW-3, 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 10:51 AM.
AlanHK is offline   Reply With Quote
Old 11-12-2018, 10: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: 19,361
Karma: 99455064
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, 11:57 AM   #311
KevinH
Wizard
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: 3,110
Karma: 1931746
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 offline   Reply With Quote
Old 11-12-2018, 12:08 PM   #312
AlanHK
Evangelist
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 440
Karma: 1002
Join Date: Apr 2014
Device: PW-3, 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, 01:08 PM   #313
KevinH
Wizard
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: 3,110
Karma: 1931746
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 offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 301 12-11-2018 07:52 PM
Create a javascript quizz for Epub3 in Sigil BertrandThibaut Sigil 3 01-26-2014 10:04 AM
An epub3 version of Sigil ? apulia03 Sigil 9 11-28-2012 02:07 AM
Plugin not customizable: Plugin: HTML Output does not need customization flyingfoxlee Conversion 2 02-24-2012 03:24 AM
epub3 Sigil Poetry(fixed layout) Giggleton Sigil 7 04-04-2011 01:58 PM


All times are GMT -4. The time now is 01:51 PM.


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