Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-19-2026, 06:54 AM   #1
Monaghan
Enthusiast
Monaghan began at the beginning.
 
Monaghan's Avatar
 
Posts: 33
Karma: 10
Join Date: May 2012
Device: none
Any way to find orphaned styles?

Is there any way to find style classes that are present in the html pages, but are not defined in the stylesheet? I'm thinking specifically of overridden InDesign styles from print files, but this would be useful in a bunch of cases.

A forum search didn't yield any answers, but perhaps I didn't use the right terms.
Monaghan is offline   Reply With Quote
Old 08-19-2026, 07:47 AM   #2
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: 9,956
Karma: 7500000
Join Date: Nov 2009
Device: many
Have you tried Sigil Reports?

There is a Classes in HTML Report that searches the html for class attributes creating a list with a field indicating if that selector was matched in a stylesheet. You can export it to CSV to examine in detail if so desired. It should be sortable on that field.
KevinH is offline   Reply With Quote
Advert
Old 08-19-2026, 07:52 AM   #3
Monaghan
Enthusiast
Monaghan began at the beginning.
 
Monaghan's Avatar
 
Posts: 33
Karma: 10
Join Date: May 2012
Device: none
I have not! Many thanks.
Monaghan is offline   Reply With Quote
Old 08-19-2026, 02:39 PM   #4
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: 53,899
Karma: 182150167
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
You can also try the cssUndefinedClasses plugin which reports any styles in the html files that do not exist in a stylesheet or in the html file.
DNSB is offline   Reply With Quote
Old 08-19-2026, 04:03 PM   #5
Monaghan
Enthusiast
Monaghan began at the beginning.
 
Monaghan's Avatar
 
Posts: 33
Karma: 10
Join Date: May 2012
Device: none
Excellent. Covered on all fronts then! Thank you.
Monaghan is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate Orphaned Folders nepentanova Library Management 5 12-06-2022 04:06 AM
Orphaned books pwalker8 General Discussions 26 12-07-2020 12:10 PM
Orphaned apps on iOS6 tomsem Apple Devices 25 10-20-2014 10:45 PM
Does Find in Edit Book work in styles? Inferno Editor 4 08-01-2014 12:21 PM
Find/Replace Adds New Styles? Rand Brittain Sigil 5 10-03-2011 10:01 AM


All times are GMT -4. The time now is 03:58 AM.


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