View Single Post
Old 08-09-2017, 02:09 AM   #12
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by Tex2002ans View Post
Mind sharing these Saved Searches?
You're welcome. I use them to tweak French EPUBs.
Here they are in .json format with French titles. You can import the group in the Calibre editor. They are numbered from one to ten.

You also can begin with this one, if you are coming back from Sigil:
S:  |& #160;
R: \u00a0

Some comments before using them.
- save your EPUB before use.
- the Calibre editor allows you to know the individual count for each regex when you perform a group search (see "Show details").
- I can begin -or not- with 01, suppressing everything close to a no-break or narrow no-break space to begin with a clean -and empty- slate. The other nine recreate them step by step.
- I make mostly use of narrow no-break spaces ("fines nsécables" in French) represented by \u202F in the replace part. If you wish to get "normal" no-break spaces, replace this last term with \u00a0 in the replace part.
- If the number counted in 01 is superior to half the number of the group total (i.e. if you destroy more than you create), you may have to understand the reason of this difference and check again the book. You may be missing something useful.

Any improvement welcome.
Attached Files
File Type: zip narrow no-break spaces.json.zip (910 Bytes, 325 views)

Last edited by roger64; 08-09-2017 at 02:25 AM.
roger64 is offline   Reply With Quote