![]() |
#31 | |
Chocolate Grasshopper ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#32 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 412
Karma: 546196
Join Date: Mar 2009
Location: UK canal boat
Device: sony prs505, prs650, kobo Glo HD liseuses
|
This may be of assistance - it's not very elegant (in fact it's totally lacking in elegance), but it works, eventually, for me:
In your favoured text editor (mine is NoteTab Lite) perform the following steps (note that the $ character is being used here to denote a space): - replace all instances of ^P^P^P with ^P^P (triple para to double para) - replace all instances of ^P^P with || - replace all instances of ^P with $ - replace all instances of || with </p>^P^P<p> - add a leading <p> at start of document and a </p> at the end You should now have a text that is neatly broken into paragraphs with zero hard line endings. Then: - replace <p>' with <p>“ - replace '</p> with ”</p> - replace .'$ with .”$ - ditto for comma, colon, semi-colon, query and bang followed by '$ - replace $' (or $" depending on text) with $‘ - use the above process to identify the '$ (or "$) and replace with ’$ Previous two steps should clean most of the quoted phrases ('Marie Celeste' eg and plural possessives survivors' eg) - replace .$' with $“ - ditto for comma, colon, semi-colon, query and bang followed by $' - should be fairly safe now to replace all remaining instances of ' with ’ This is not bullet-proof, but does clean up the text reasonably well. I generally reckon on 1 to 2 hours doing the above plus other odds and sods before moving the text into Sigil, where the html entities will be translated into 'proper' text. |
![]() |
![]() |
![]() |
#33 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Wow congratulations to you.
![]() ![]() Anyway back to the conversation: My point still stands. Last edited by Adjust; 10-10-2010 at 02:47 AM. |
![]() |
![]() |
![]() |
#34 |
Chocolate Grasshopper ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
Why does writing on an iPhone justify any mistakes
![]() Okay, back on with the show .... |
![]() |
![]() |
![]() |
#35 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |
![]() |
#36 |
Chocolate Grasshopper ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change single quotes to double quotes | Elfwreck | Workshop | 16 | 04-26-2013 10:06 AM |
Dealing with double quotes " in URL | kinurev | Recipes | 6 | 10-03-2010 09:57 AM |
convert straight quotes to curly quotes | alansplace | Calibre | 3 | 09-25-2010 03:51 PM |
Quotes | novels.books | Astak EZReader | 4 | 10-26-2009 09:56 PM |