oasegips / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Find by Style/Format #2486

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Many word processing and desktop publishing applications (Word, Scrivener, 
Inkscape) have facilities to search rich text by style. This allows constraints 
to be placed on search expressions such that they will only match (for 
instance) italicised text.

This is helpful in a proofreading workflow. An instance that recently arose in 
my experience is the case of an author proofing the electronic edition of his 
book (an academic monograph). At my recommendation, he used Sigil to edit the 
ebook.

The firm that performed the digitisation left a lot of improper formatting. Of 
specific concern to this author were trailing italicised commas and periods in 
the extensive endnotes.

The workflow I ended up recommending to him was copying the styled text into 
Word (which supports styled text searches), tracking any changes that needed to 
be made, and then manually transferring those changes back to the document in 
Sigil.

I know that Sigil doesn't have any native styled text support, but since 
highlights from the search fulltext have to be propagated back to the QWebView, 
would it be possible at that point to filter matches based on their computed 
style within the QWebView object?

Original issue reported on code.google.com by sehrgu...@gmail.com on 11 Jul 2014 at 3:31