|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 39754
Join Date: Feb 2011
Device: Nook - Simple Touch
|
find/replace function no longer useful
calibre 8.16.1
see the screen shot calibre on left, sigil on right calibre shows result of command-F (this is mac) My goal was to search within the css files for some text and remove it. Doing this is sigil is straightforwared In the calibre editor, the find is so dumbed-down that compared to the sigil find and replace the current implementation in calibre is, from my humble point of view, totally useless. It apparently can only search open files whereas sigil gives you a wide choice of file types to search and it will search them all without needing to open each one. Perhaps this is taking simplification too far? Sigil is always an option but it entails a more complex workflow: open book folder, rt-click open with sigil. Not a biggy Maybe all that's needed is an option sto specify what epub editor to use when choosing edit book from the rt-click options in calibre? If, as usual, I'm way off target and totally inappropriate, just tell me and I will go away. Thank you |
|
|
|
|
|
#2 |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,734
Karma: 7927573
Join Date: Sep 2020
Device: none
|
There are no screenshots in your post, but I am guessing what you're missing is the "All text style files"option:
Last edited by Comfy.n; Yesterday at 07:32 AM. |
|
|
|
|
|
#3 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,092
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
|
|
|
|
|
#4 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 39754
Join Date: Feb 2011
Device: Nook - Simple Touch
|
Thank ou. i will look for that It's in the pref I suppose
|
|
|
|
|
|
#5 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,092
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
|
|
#6 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 1537710
Join Date: Jul 2021
Device: N/A
|
|
|
|
|
|
|
#7 |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,734
Karma: 7927573
Join Date: Sep 2020
Device: none
|
@lomkiri yeah I missed the search "within the css files" bit
|
|
|
|
|
|
#8 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,375
Karma: 62500000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
??? I have Calibre editor saved searches that run against CSS all the time.
I even run 3 as a group selection . They work as long as yo remember to make sure the scope is set to All Style files (the file does not need to be the current window in the editor with this choice) My only mumble is why the saved search does not allow it to remember the scope setting. The default should be No change) |
|
|
|
|
|
#9 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 39754
Join Date: Feb 2011
Device: Nook - Simple Touch
|
That's useful information
There is one thing that has me terminally confused. I have the latest calibre installed on several computers. They are all running Debian 13 with Cinnamon. The UI in the book editor is different on each of them. The one from which the screenshot was taken yestercay looks completely different from the one I'm looking at today. It's find/replace looks almost exactly like the one in sigil. It is obvious how to have it search all CSS. The otherone has a completely different file-type dropdown that only has 4 options and none of those are "All CSS Files". I can't begin to fathom how the same app can yield such wildely different results on 2 ostensibly identical systems. Any thoughts? |
|
|
|
|
|
#10 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 39754
Join Date: Feb 2011
Device: Nook - Simple Touch
|
Also, and maybe related. Opening some epubs in Sigil get a warning about malformed content which it fixed. The Calibre editor, so far, has not shown me messages like that on the same books.
|
|
|
|
|
|
#11 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 39754
Join Date: Feb 2011
Device: Nook - Simple Touch
|
also, I not that when sigil opens it always opens the first text or html file in the book and the find/replace area is populated. When the Calibre Editor opens a book it selects no file and ^F will not display the find/replace area until you open a file in the edit area. This is an unnecessary extra step if one, for example, knew that one wanted to search all css files and knew what the search string would be. Not critical but I find it an odd and less helpful approach that the one that sigil has taken
|
|
|
|
|
|
#12 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,713
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
|
|
|
|
|
|
#13 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 39754
Join Date: Feb 2011
Device: Nook - Simple Touch
|
thank you
I learn something every day
|
|
|
|
|
|
#14 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,166
Karma: 6565346
Join Date: Nov 2009
Device: many
|
And it checks for and adds if missing the top line xml declaration as well.
|
|
|
|
|
|
#15 | |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 1537710
Join Date: Jul 2021
Device: N/A
|
Quote:
Last edited by lomkiri; Yesterday at 04:09 PM. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Replace group in Regex function mode | lindlind | Editor | 2 | 08-15-2024 03:54 AM |
| Help with Search & Replace function and fi/fl ligatures | raghiid | Conversion | 0 | 03-21-2021 08:36 AM |
| Sigil Find Replace Function | d351r3d | Sigil | 5 | 06-09-2020 01:17 AM |
| Find/Replace Won't Find | Rand Brittain | Sigil | 7 | 09-24-2011 05:35 AM |
| Find function | doug38 | Ectaco jetBook | 3 | 03-07-2010 11:51 PM |