Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 03:00 PM   #1
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 477
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Is there any way to search all style & text files at once?

As the title says.

Most of the things I want to do unambiguously affect one or the other, not both. As a random example, I'd want to delete all occurrences of "text-align: justify", then search for "today is Friday". It just adds an extra unnecessary step to have to switch between the two types of files.

If there isn't a way to do this, can I request the change to add it?
foosion is offline   Reply With Quote
Old Yesterday, 05:21 PM   #2
kcarscadden
Zealot
kcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavenskcarscadden is a rising star in the heavens
 
kcarscadden's Avatar
 
Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
There is a dropdown in the search dialog that lets you select Current file, All text files, All style files, Selected files, Open files or Marked text.

Am I misinterpreting your question?
kcarscadden is offline   Reply With Quote
Old Yesterday, 05:40 PM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,616
Karma: 168431739
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I think the OP wants be able to search in all files so they do not need to switch from all style files to all text files to ncx file or opf file.0.

I personally feel that since search for a specific item in the style files is different enough from searching for an inline style in a text file, it's not a good idea and is likely to give problems trying to validate a ePub.
DNSB is offline   Reply With Quote
Old Yesterday, 06:19 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kcarscadden View Post
There is a dropdown in the search dialog that lets you select Current file, All text files, All style files, Selected files, Open files or Marked text.
↑ ↑ ↑ ✔

Click image for larger version

Name:	Screenshot 2025-05-06 081547.jpg
Views:	15
Size:	328.4 KB
ID:	215495

BR
BetterRed is offline   Reply With Quote
Old Today, 02:01 PM   #5
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 477
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by DNSB View Post
I think the OP wants be able to search in all files so they do not need to switch from all style files to all text files to ncx file or opf file.0.

I personally feel that since search for a specific item in the style files is different enough from searching for an inline style in a text file, it's not a good idea and is likely to give problems trying to validate a ePub.
I want to be able to search all style files and text files at once, rather than having to switch between style and text. I'm not suggesting any current search choice be eliminated.

Last edited by foosion; Today at 06:15 PM.
foosion is offline   Reply With Quote
Old Today, 02:03 PM   #6
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 477
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by kcarscadden View Post
There is a dropdown in the search dialog that lets you select Current file, All text files, All style files, Selected files, Open files or Marked text.

Am I misinterpreting your question?
Yes, you are misinterpreting. You have to choose one of those. It is not possible to search All text and All style as part of one search. I want a combined category of style and text.
foosion is offline   Reply With Quote
Old Today, 02:39 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,616
Karma: 168431739
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
You can try a work around by selecting all the text and style files in the file browser and Selected files in the dropdown. See images for results. Again, I do not recommend doing this especially if you are using regex. As the images show, size is found 21 times in the text files, 42 times in the CSS files and 63 times in the combined text/CSS files.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-05-06 113642.png
Views:	6
Size:	105.6 KB
ID:	215526   Click image for larger version

Name:	Screenshot 2025-05-06 114028.png
Views:	5
Size:	123.6 KB
ID:	215527   Click image for larger version

Name:	Screenshot 2025-05-06 113752.png
Views:	6
Size:	122.2 KB
ID:	215528  

Last edited by DNSB; Today at 02:42 PM.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep raw text in Search & Replace (nbsp and old mobi format) Mr Groch Conversion 5 06-25-2019 10:53 PM
Search & Replace Same Content with Style LeftOvers Editor 7 09-29-2017 11:51 PM
diff & automerge multiple text files SBT Workshop 3 04-25-2012 10:47 AM
Safari downloads MOBI & EPUB as text files webfolk Workshop 3 11-14-2010 03:27 AM
Search & replace TEXT ToeRag Calibre 3 04-10-2010 01:44 PM


All times are GMT -4. The time now is 07:48 PM.


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