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 10-23-2017, 09:07 AM   #256
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
You can use regular expressions in Search and Replace to only remove charset inside link tags. Sigil supports this. I am sure someone here can help with creating the right regular expression.

You could also checkout just the plugin.py file from master from my github site and use it to replace the one you have on your computer and all should just work.

If you need help with either, just let us know.
KevinH is offline   Reply With Quote
Old 10-23-2017, 03:26 PM   #257
Julie34
Enthusiast
Julie34 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Oct 2017
Location: where is my heart
Device: Kobo Glo, and...
Yes, I could do a regex (I manage a bit, not much) but for such a small search and replace it is quick (there is rarely 70 chapters with the normal search/replace. I mentioned it for over peoples in my case in the purpose they notice this point.

Thank you really for your kindness.
Julie34 is offline   Reply With Quote
Old 11-16-2017, 11:38 PM   #258
LauraB7
Junior Member
LauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with others
 
Posts: 9
Karma: 2744
Join Date: Nov 2017
Device: all
Output fail

I am brand new to the forums and hoping someone can help. I want to convert some old files to EPUB 3 but can't seem to get the plugin to work at all.

A screenshot of the error message is attached.

I am sure this is something simple that I can't see. Still, I apologize if this is a basic question.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2017-11-16 at 11.27.59 PM.png
Views:	276
Size:	255.5 KB
ID:	160062  
LauraB7 is offline   Reply With Quote
Old 11-17-2017, 01:36 AM   #259
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: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by LauraB7 View Post
I am sure this is something simple that I can't see.
Have you installed Python? This, like other plugins, requires it.
AlanHK is offline   Reply With Quote
Old 11-17-2017, 03:26 AM   #260
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,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by LauraB7 View Post
I am brand new to the forums and hoping someone can help. I want to convert some old files to EPUB 3 but can't seem to get the plugin to work at all.
macOS users will need to install the ActiveState TCL 8.6.6.8606 distribution.
(This package is required to display the plugin GUI.)
Doitsu is offline   Reply With Quote
Old 11-17-2017, 05:25 AM   #261
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: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There's a problem with the stock tcl implementation on Macs. The advice to install the ActiveState version of TCL that @Doitsu mentioned has been in Sigil's release notes for several versions.

Quote:
Attention Mac OS X Users
Per the recommendation of www.python.org (see https://www.python.org/download/mac/tcltk/), due to bugs and the age of Apple's internal Tcl library, you should also download and install ActiveState's ActiveTcl Community Edition. To get the latest bug fixes, Sigil-0.9.8's embedded Python has been linked with the very latest version: Tcl 8.6.4.1

We may not redistribute this Package with Sigil due to ActiveState's binary non-redistribution policy.

So please, if you have not already done so download and install this version of ActiveState's Active Tcl Community Edition, until we get a chance to do our own build of Tcl 8.6.4.1 from source for future releases. ActiveState is a primary contributor to www.python.org and a respected and trusted source for python and tcl/tk related binaries on both Windows and Mac OS X.

See: http://www.activestate.com/activetcl/downloads
Version: 8.6.4.1
DiapDealer is offline   Reply With Quote
Old 11-17-2017, 11:09 AM   #262
LauraB7
Junior Member
LauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with othersLauraB7 plays well with others
 
Posts: 9
Karma: 2744
Join Date: Nov 2017
Device: all
Thanks everyone. As I suspected, it was a simple error owing to me not reading the Github notes thoroughly. I appreciate your patience with me!
LauraB7 is offline   Reply With Quote
Old 11-17-2017, 11:29 AM   #263
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: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by LauraB7 View Post
Thanks everyone. As I suspected, it was a simple error owing to me not reading the Github notes thoroughly. I appreciate your patience with me!
No problem. The note is easy to miss. I added a sticky message to the Sigil plugin subforum to hopefully get it a little more exposure.
DiapDealer is offline   Reply With Quote
Old 11-18-2017, 12:27 AM   #264
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: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
I converted an epub2 to epub3, and it works fine in most situations.
However, ePubcheck complained that there were some named entities --   -- instead of numeric, and Azardi reader choked on those too.

Not hard to fix manually, but could the plugin convert such characters?

(Personally I much prefer named entities, don't know why epub3 is against them. Maybe ePub4 will be an all binary format.)
AlanHK is offline   Reply With Quote
Old 11-18-2017, 05:20 AM   #265
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: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by AlanHK View Post
(Personally I much prefer named entities, don't know why epub3 is against them. Maybe ePub4 will be an all binary format.)
It's not epub3 that is "against" named entities, it's HTML5. Also note that this plugin does convert all named html entities to their numeric counterparts. if emsp is sticking around, it's likely because you have that named entity entered explicitly in the list of entities to preserve in your prefs. In that scenario, the numeric entity will be changed back to named whenever you make edits and/or save the new epub3. If you're going to be working a lot with epub3, you'll want to switch your Preserve Entities list to numeric. They're valid in both flavors of epub.

Last edited by DiapDealer; 11-18-2017 at 06:02 AM.
DiapDealer is offline   Reply With Quote
Old 11-18-2017, 07:59 AM   #266
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
Yes exactly. All named entities are converted to their numeric equivalents by the plugin. If you then load it back into Sigil without fixing your preserved entities first, Sigil will happily convert it back since effectively you asked it to.
KevinH is offline   Reply With Quote
Old 11-18-2017, 02:59 PM   #267
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: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by DiapDealer View Post
It's not epub3 that is "against" named entities, it's HTML5.
Well, same sentiment applies.
Can't see any benefit at all in forcing numeric over mnemonics.

Quote:
Originally Posted by DiapDealer View Post
because you have that named entity entered explicitly in the list of entities to preserve i.
Yes. Mea culpa. I didn't know that "preserve" also meant "change back".
AlanHK is offline   Reply With Quote
Old 11-18-2017, 04:40 PM   #268
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: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by AlanHK View Post
Well, same sentiment applies.
Can't see any benefit at all in forcing numeric over mnemonics.
It's just spec. Get used to not seeing much benefit to many of the ongoing changes to it.
DiapDealer is offline   Reply With Quote
Old 11-18-2017, 06:22 PM   #269
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
FWIW. There are DOS and attacks based on named entities and recursion that are not possible with numeric entries.

Thus one good reason for the change in the spec to limit potential attack avenues.
KevinH is offline   Reply With Quote
Old 11-18-2017, 09:06 PM   #270
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: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by KevinH View Post
FWIW. There are DOS and attacks based on named entities and recursion that are not possible with numeric entries.
Has one of these possible attacks ever occurred in reality?
In an ebook?

Anyway, not blaming anyone here. Just bitching about a change for the marginal benefit of automatic processing at the cost to human editors; a change that makes manual editing a bit harder and more prone to error. As more entities are numeric, it becomes a stew of digits and impossible to make sense of by eye.
AlanHK is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 588 03-28-2025 02:26 PM
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:57 AM.


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