![]() |
#46 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,868
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@bookman156
handy tip 1 : Insert->Special characters, or 'Ω' button in toolbar handy tip 2 : Tools->Saved searches (Ctrl+Alt+F), see Saved Searches. Use a Group search to deal with variants like 2BC-AD5, 2BC-5BCE etc. BR |
![]() |
![]() |
![]() |
#47 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
A useful search to run after using this plugin is:
Find: </span>‘ Replace: </span>’ I discovered that the closing quote mark following a span will be the wrong way round. Edit: here's another example where the plugin won't work: ‘circa 1050<small>BC</small>‘ Last edited by bookman156; 03-30-2016 at 05:56 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,856
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
There must be something else in play. I'm not experiencing the same problem.
Whether using single or double quotes, this: Code:
<p>A quote where the closing mark is immediately "preceded by a <span>span tag.</span>"</p> No problem with this: Code:
'circa 1050<small>BC</small>' There must be something preceding all of that that's causing confusion. Don't get me wrong; the smartypants algorithm will occasionally result in some backward quotes for me too, but they're fairly rare. And I can't get them to happen with your examples. Last edited by DiapDealer; 03-30-2016 at 06:02 PM. |
![]() |
![]() |
![]() |
#49 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
I think the difference is that for me it's in sentences where the full point or comma is not inside the span and follows the end quote.
|
![]() |
![]() |
![]() |
#50 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
|
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,856
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
What follows the closing quotes in either of those examples?
|
![]() |
![]() |
![]() |
#52 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
In 'circa 1050<small>BC</small>' it is just a space and then more words.
In another similar example it is like this (now corrected): ninth century <small>BC</small>’.<sup><a href= etc A example of a span end quote that was wrong (corrected now): Gu Jiegang, ‘Historical events in the judgment and line texts of the <span class="italic">Book of Changes</span>’ (Chinese). Here's another span that was wrong with the punctuation inside the span: were in <span class="italic">Ursa Major.</span>’ But at least it was consistently wrong! Meaning I knew what to look for. So I think it would do no harm for anyone to check for this anyway. Last edited by bookman156; 03-30-2016 at 07:34 PM. |
![]() |
![]() |
![]() |
#53 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,856
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Ah ... I may be on to something. I can get just:
Code:
'circa 1050<small>BC</small>' Would it be possible to see the entire <p>, <div>, or <blockquote> that that passage is a part of? For instance: <p>'circa 1050<small>BC</small>'</p> Works just fine. But SmartyPants does seem to be more prone to errors with the British style of quotation (single) VS the American style. Which would explain why I rarely run into the error. ![]() I'll take a look and see if anything can be done about it, but my plugin truly is just a wrapper around someone else's smartening algorithm. I've made a few tweaks to it (such as the apostrophe exception file) ... perhaps those tweaks have broken something in the single-quote logic. |
![]() |
![]() |
![]() |
#54 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
I've posted a scrambled copy of the EPUB in relation to another issue here:
https://www.mobileread.com/forums/sho...83&postcount=7 To find the circa 1050BC bit, search for: ikqob 0077JQ This was before I corrected it so it has all the wrong end quotes still intact. |
![]() |
![]() |
![]() |
#55 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,856
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks. That's perfect.
This same phrase from your epub works fine when using double quotes, but fails (backward closing quote) when using single quotes: Code:
snpljp eg 'ikqob 0077<small>JQ</small>' fmm qatyq fnkhfsktzq vy vde qtxzqapncmk. |
![]() |
![]() |
![]() |
#56 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Interesting. Good luck!
Incidentally, does the plugin handle quotes within quotes okay? I generally prefer British single quotes but I must admit they do start to look odd with quotes within quotes as that means you have to use double inside single. Thankfully, the situation doesn't occur too often. |
![]() |
![]() |
![]() |
#57 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,856
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It typically handles the quotes within quotes that I encounter really well. Granted ... I rarely try to stress it out too much.
|
![]() |
![]() |
![]() |
#58 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
|
Errors highlighted in red:
<p>"<i>That</i>'s my secret power."</p> yields <p>“<i>That</i>‘s my secret power.”</p> <p>"'<i>Angel</i>,'" read Gaius.</p> yields <p>”’<i>Angel</i>,’” read Gaius.</p> John Jr.'s ball yields John Jr.‘s ball (But these may all be a SmartyPants issue.) |
![]() |
![]() |
![]() |
#59 |
Techno-geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
|
I'm having trouble getting the plugin to run on my Mac. It brings up the dialog box and says Status running... but then nothing happens (I have waited for an hour.) If I cancel I get the message "Launcher process crashed" and a pop-up dialog which says "Reached unexpected end of XML." I ran the epubcheck plugin and flightcrew and found no problems with the epub.
--MH Last edited by dynabook; 01-28-2017 at 04:04 PM. Reason: Added text. |
![]() |
![]() |
![]() |
#60 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,063
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Please look at the Finders panel bar immediately after launching the plugin and if you see a Rocket blasting off icon, click on it. My guess is the plugin has a Window that opened under Sigil itself or is hidden in some way by Sigil. Clicking on the plugins app icon in the panel bar should bring the window to the front and give it focus.
This is a tk bug with some versions of Tk and MacOSX. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epubcheck plugin for Sigil | Doitsu | Plugins | 519 | 07-22-2024 04:59 PM |
[Plugin] ePub3-itizer - epub3 output plugin for Sigil | KevinH | Plugins | 435 | 01-19-2023 09:46 PM |
[Plugin] KindleImport Sigil plugin | DiapDealer | Plugins | 187 | 07-04-2022 10:11 AM |
icarus Sigil plugin | AlPe | Plugins | 26 | 12-05-2017 10:03 AM |
smoothRemove_v010 plugin for Sigil | kbanelas | Plugins | 15 | 01-27-2017 05:51 PM |