![]() |
#256 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#257 |
Enthusiast
![]() 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
![]() Thank you really for your kindness. |
![]() |
![]() |
![]() |
#258 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#259 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
|
![]() |
![]() |
![]() |
#260 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
(This package is required to display the plugin GUI.) |
|
![]() |
![]() |
![]() |
#261 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
![]() |
![]() |
![]() |
#262 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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!
|
![]() |
![]() |
![]() |
#263 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#264 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.) |
![]() |
![]() |
![]() |
#265 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
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. |
![]() |
![]() |
![]() |
#266 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#267 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Well, same sentiment applies.
Can't see any benefit at all in forcing numeric over mnemonics. Yes. Mea culpa. I didn't know that "preserve" also meant "change back". |
![]() |
![]() |
![]() |
#268 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#269 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#270 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
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. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |