Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2025, 10:06 PM   #1
mrprobert
Connoisseur
mrprobert began at the beginning.
 
Posts: 60
Karma: 46
Join Date: Mar 2017
Device: None
Search results with bulk highlights

Delete

Last edited by mrprobert; 04-21-2025 at 08:07 AM.
mrprobert is offline   Reply With Quote
Old 04-16-2025, 10:16 PM   #2
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: 28,338
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I don't quite follow how having them all highlighted at once would help reduce errors in your manual process.

As far as a wildcard string goes: that's what regex is for. Once you have the regex that will match all that you want to fix, you replace and find next until you're done.

This is just a wild guess, but are you trying to make Sigil's Find & Replace feature duplicate the behavior of another favorite text editor? If so, just use the Open With feature and use that favorite editor.

Last edited by DiapDealer; 04-16-2025 at 10:23 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 04-17-2025, 12:17 AM   #3
mrprobert
Connoisseur
mrprobert began at the beginning.
 
Posts: 60
Karma: 46
Join Date: Mar 2017
Device: None
Quote:
Originally Posted by DiapDealer View Post
I don't quite follow how having them all highlighted at once would help reduce errors in your manual process.

As far as a wildcard string goes: that's what regex is for. Once you have the regex that will match all that you want to fix, you replace and find next until you're done.

This is just a wild guess, but are you trying to make Sigil's Find & Replace feature duplicate the behavior of another favorite text editor? If so, just use the Open With feature and use that favorite editor.
I have no editor in mind and I have no problems using a regex search (DFA, anyone?). It's my old eyes that is the problem. With verbose code, a visual cue from seeing the matches before and after the current selection make it easier for me to see what needs to be changed. For my specific use the errors are proximate to each other and it helps if I can see all the matches in view.

Im my earlier post I think I have mixed up book browser and code view. I get dizzy swiveling my head between looking at the headings in the preview window and in the nav, and trying to sort out the various IDs and their proper order.

It may be that the particular complexity of this project is fairly rare and I should just figure it out.

Thanks.
mrprobert is offline   Reply With Quote
Old 04-17-2025, 12:19 PM   #4
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: 8,437
Karma: 5702578
Join Date: Nov 2009
Device: many
Quote:
I have an epub with dozens of errors of type 'link target is before the previous link’s target in document order.'
Typically this is an NCX or Nav issue where spine order and the order used n the nav/ncx is inconsistent. It can be as simple as having one link out of order.

The solution is just to rebuild the TOC from the original h1-h3 tags if possible. Ids themselves are not numbered but in the nav and ncx the order must match the playorder, (typically the same as the spine order of the files).

In fact the playorder attributes are not needed anymore.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why use "Highlight search results instead of restricting list to results"? Benefits? droopy Calibre 4 08-24-2023 09:59 PM
New Feature? Embed search term as a tag into Search Results with one click? mikhail_fil Library Management 1 04-02-2022 10:18 PM
Search results only show first result. How can I view successive results? lovedj1 Calibre 2 05-07-2021 07:53 AM
Forma Search-in-book results sometimes ends on page17, even if there's more (hidden)results droopy Kobo Reader 9 06-30-2020 11:05 AM
Get Books search - extremely fuzzy search results? Man Eating Duck Calibre 1 05-06-2013 12:08 AM


All times are GMT -4. The time now is 09:58 PM.


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