Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-10-2019, 08:27 AM   #1
Capricorn
Belgian Pommes Frites
Capricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enough
 
Posts: 102
Karma: 532
Join Date: Jan 2012
Device: Pocketbook Touch HD
Saved search for stylesheets only

First of all, I would like to thank all the developers of sigil for all their incredibly hard work. It allows me to use Sigil as my main editor for changing my epub books.

I am at the moment stumped by the following:
I use some saved searches only for stylesheet changes. Hence I would like to directly connect these saved searches to any and all stylesheets present. That way I would not have to first click on each stylesheet and then run the search.

I thought maybe by using keyboard shortcuts I could connect it. But I realise I know too little to be sure how that might be done.
Looking in the manual did not lead to some brilliant idea.
Searching on the forum did not provide any hints, but I might have used the wrong search words.

So, my questions are:
1. Can it be done at all?
2. If yes, how would I go about it?

If anyone can throw any light on this, I would appreciate it.
Many Thanks.

Capricorn,
Capricorn is offline   Reply With Quote
Old 10-10-2019, 12:20 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,032
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I use saved searches with Stylesheets all the time.

Somewhere, waaay back someone decided to NOT (allowing) store the scope of a search.

Stylesheet searches MUST be done while viewing the sheet AND the scope is CURRENT FILE. Other than that, saved searches run just fine. That includes running a Group of searches ON THE stylesheet.

FWIW I created A Group Just for Stylesheets searches ( I have lots of other groups. Including Groups within Groups that do a series of other S&R tasks)
theducks is offline   Reply With Quote
Advert
Old 10-10-2019, 12:47 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,642
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Searching All CSS files in one fell swoop is not currently possible. It doesn't matter if it's a saved search or a manual one.

Like theducks mentioned, you can create a group of saved searches to run. But you'll always have to run that group on each css file present in the epub using the "current file" scope.
DiapDealer is offline   Reply With Quote
Old 10-10-2019, 02:29 PM   #4
Capricorn
Belgian Pommes Frites
Capricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enoughCapricorn will become famous soon enough
 
Posts: 102
Karma: 532
Join Date: Jan 2012
Device: Pocketbook Touch HD
theducks: I recently discovered grouping in searches by reading some other posts. That has been very useful. On top of that, my hope now was to be able to store the scope of a search and which type of files it should work on. Or connect it in some way.

DiapDealer: ah well, I will have to continue doing them one by one. Maybe one day....

Thank you for the information,

Capricorn,
Capricorn is offline   Reply With Quote
Old 10-10-2019, 03:58 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,642
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Capricorn View Post
DiapDealer: ah well, I will have to continue doing them one by one. Maybe one day....
I'd like it too. But every time I look at the search code for Sigil and its various scopes to see how it can be done, my head starts spinning.

It's going to take a pretty-big restructuring of the search engine logic to accomplish, I think.
DiapDealer is offline   Reply With Quote
Advert
Old 10-10-2019, 04:09 PM   #6
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by DiapDealer View Post
Searching All CSS files in one fell swoop is not currently possible. It doesn't matter if it's a saved search or a manual one.

Like theducks mentioned, you can create a group of saved searches to run. But you'll always have to run that group on each css file present in the epub using the "current file" scope.
Along with Current File, Calibre's Editor has a:
  • All Text Files
  • All Style Files

so the "All Style Files" search would help in Capricorn's case.
Tex2002ans is offline   Reply With Quote
Old 10-10-2019, 04:41 PM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,642
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yes. It would help a lot of people. Myself included. Patches welcome.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to use the selection in a Saved Search? phossler Editor 29 02-20-2019 10:00 AM
Difference in Manual Search and Saved Search phossler Editor 4 10-04-2015 12:17 PM
Saved Search: How 2 theducks Library Management 3 11-27-2012 02:10 PM
Editing a saved search crossi Library Management 3 06-26-2012 12:12 PM
Need help setting up a saved search ficbot Calibre 1 07-10-2010 02:10 PM


All times are GMT -4. The time now is 09:30 AM.


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