Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 07:37 PM   #31
byword
Enthusiast
byword began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Apr 2022
Device: Onyx Leaf 3
How about improving the Text search feature in the search options?

The Text search option is a feature that "does not search tags." When this option is enabled, it ignores the tags themselves and only searches the text content inside them. However, it cannot properly search for text that is split by tags.


<p>Sigil <b>Text Search</b></p>

With markup like this, it cannot find "Sigil Text Search".
I think this option would be much more useful if checking the Text search option ignored tags completely, allowing it to find "Sigil Text Search".
byword is offline   Reply With Quote
Old Yesterday, 07:53 PM   #32
byword
Enthusiast
byword began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Apr 2022
Device: Onyx Leaf 3
Could you please add the 'Rebase OPF Manifest IDs on Current filenames' feature to the Add Automate tool? I run this before delivering the final file, but I often forget to do it. I'd like to add it to my final check automation list.
byword is offline   Reply With Quote
Old Yesterday, 08:50 PM   #33
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,333
Karma: 7640672
Join Date: Nov 2009
Device: many
@BeckyEbook,

Okay, I will look into what changes that would take. If we add a DOCTYPE and or xml header, we would still want to mark that Book as modified just so that people know they need a save or save-as even if they make no changes themselves.

Last edited by KevinH; Yesterday at 08:54 PM.
KevinH is online now   Reply With Quote
Old Yesterday, 09:00 PM   #34
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,333
Karma: 7640672
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by byword View Post
Could you please add the 'Rebase OPF Manifest IDs on Current filenames' feature to the Add Automate tool? I run this before delivering the final file, but I often forget to do it. I'd like to add it to my final check automation list.
Yes, as others may be interested in that as well, and it is a very minor change.
KevinH is online now   Reply With Quote
Old Yesterday, 10:48 PM   #35
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,333
Karma: 7640672
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by byword View Post
How about improving the Text search feature in the search options?

The Text search option is a feature that "does not search tags." When this option is enabled, it ignores the tags themselves and only searches the text content inside them. However, it cannot properly search for text that is split by tags.


<p>Sigil <b>Text Search</b></p>

With markup like this, it cannot find "Sigil Text Search".
I think this option would be much more useful if checking the Text search option ignored tags completely, allowing it to find "Sigil Text Search".
No, that text does not exist in that sequence in the file. You misunderstand, that Text search checkbox was added to prevent inadvertent text replacements from changing things **inside** tags (such as tag names, attribute names, attribute values, etc).

If you want a pure text search, strip out all tags first and search but you can then forget getting any accurate positional information.

That is not something for Sigil.

Last edited by KevinH; Yesterday at 10:55 PM.
KevinH is online now   Reply With Quote
Old Today, 12:30 AM   #36
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: 22,964
Karma: 34252880
Join Date: Mar 2012
Location: Sydney Australia
Device: none
PageEdit will find 'Sigil Text Search' in

Code:
<p>Sigil <b>Text Search</b></p>
Click image for larger version

Name:	pageedit.jpg
Views:	12
Size:	248.6 KB
ID:	227849

The calibre book editor has a simple Find feature for its Preview window which finds it too, never used it before now.

Click image for larger version

Name:	calibre preview.jpg
Views:	12
Size:	223.4 KB
ID:	227850

BR
BetterRed is offline   Reply With Quote
Old Today, 03:52 AM   #37
Doitsu
Grand Sorcerer
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: 5,944
Karma: 24444443
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by BeckyEbook View Post
@KevinH, thanks for looking into this. IMHO (and I think that's what Doitsu meant too) the issue was never the DOCTYPE itself – I'm always for a correct file, so let it be added automatically. It's only about the warning on load: I knowingly want the DOCTYPE, I just don't need to be told about it every time
You read my mind. I just find the warning annoying. Since most commercial epubs still don't have a DOCTYPE, it's an extra message box that I need to click each time I open those books.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Features or Improvements post Sigil 2.8.1 KevinH Sigil 155 10-03-2026 07:16 PM
Improvements? New Features? post sigil 2.7.6 KevinH Sigil 315 05-23-2026 11:40 AM
Suggestions for Sigil Improvements or New Features KevinH Sigil 241 03-02-2026 02:09 PM
Suggestions for Sigil Improvements or New Features KevinH Sigil 168 11-18-2025 01:23 PM
Hello. Where do I make suggestions for future improvements? spelunker Sigil 19 02-28-2022 12:46 PM


All times are GMT -4. The time now is 08:27 AM.


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