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 01-26-2017, 05:22 PM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,705
Karma: 47716053
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by valdearg View Post
They're largely for personal use so wouldn't be sharing them, I usually go through a second time and correct them, this would just make the first stage quicker.
There is no plugin to do this that I know of. Personally, I'd rather read it as the author wrote it. If it'swritting in US style, leave it. If it's written in UK style, leave it. I can read either and understand.

The only thing I'd prefer is the US way of using double quotes vs the UK way of using single quotes. Now a plugin to fix that would be very welcome.
JSWolf is offline   Reply With Quote
Old 01-26-2017, 05:23 PM   #17
valdearg
Junior Member
valdearg began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2017
Device: Kindle Paperwhite
They're translated from Japanese, so it's just what the translator thinks they mean, rather than anything on US vs UK.
valdearg is offline   Reply With Quote
Old 01-26-2017, 06:10 PM   #18
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,580
Karma: 14563843
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by valdearg View Post
There's most likely a better way to do it.
Both Sigil and Calibre Editor have a Saved Searches feature that allows you automate search and replace operations.

For Sigil you'll need to reformat your list as follows:

Code:
[search_entries]
1\Name=Anglicise/Anglicize
1\Find=\\baccessorise\\b
1\Replace=accessorize
2\Name=Anglicise/Anglicize
2\Find=\\baccessorised\\b
2\Replace=accessorized
3\Name=Anglicise/Anglicize
3\Find=\\baccessorises\\b
3\Replace=accessorizes
4\Name=Anglicise/Anglicize
4\Find=\\baccessorising\\b
4\Replace=accessorizing
size=4
(The above example file is only for the first four entries.)

Save the Saved Searches file with an .ini extension, import it in the Saved Searches dialog box, select the search group, click Load Search and Replace All. (You'll also need to select Regex and All HTML Files.)
Doitsu is offline   Reply With Quote
Old 01-26-2017, 06:21 PM   #19
valdearg
Junior Member
valdearg began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2017
Device: Kindle Paperwhite
Quote:
Originally Posted by Doitsu View Post
Both Sigil and Calibre Editor have a Saved Searches feature that allows you to automate search and replace operations.

For Sigil you'll need to reformat your list as follows:

Code:
[search_entries]
1\Name=Anglicise/Anglicise
1\Find=\\baccessorise\\b
1\Replace=accessorize
2\Name=Anglicise/Anglicise
2\Find=\\baccessorised\\b
2\Replace=accessorized
3\Name=Anglicise/Anglicise
3\Find=\\baccessorises\\b
3\Replace=accessorizes
[COLOR="Magenta"]4[/COLOUR]\Name=Anglicise/Anglicise
[COLOR="Magenta"]4[/COLOUR]\Find=\\baccessorising\\b
[COLOR="Magenta"]4[/COLOUR]\Replace=accessorizing
size=[COLOR="Magenta"]4[/COLOUR]
(The above example file is only for the first four entries.)

Save the Saved Searches file with an .ini extension, import it in the Saved Searches dialogue box, select it, click Load Search and Replace All. (You'll also need to select Regex and All HTML Files.)
That's incredibly helpful, thanks very much for this.
valdearg 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
A New Epub Creator: txt to epub, word to epub oxen ePub 119 07-12-2019 10:41 AM
redo epub to epub - don't use original-epub cybmole Conversion 8 02-20-2014 05:21 AM
epub to epub conversion problem with regex spanning multiple input files ctop Conversion 2 02-12-2012 01:56 AM
epub, ePub, EPUB, warum blos ePub? flowoeB Lounge 5 11-27-2009 09:37 AM


All times are GMT -4. The time now is 04:27 PM.


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