Quote:
Originally Posted by cybmole
different book - same topic
each chapter of this book opens with a small-caps phrase which appears in all capitals in sigil book view, but appears as lower case on the sony reader. e.g.
<p class="calibre5"><span class="calibre9">the cage opens at the front, a double loop</span> of chain hingeing its door at the bottom. At the top, a thicker chain and a fist-sized padlock keep the cage safely shut.</p>
.calibre9 { font-variant: small-caps }
so is there any way, short of retyping the start of every chapter , to add some CSS that ADE/sony does understand which will make that opening phrase display in caps ?
update - well google is telling me there is no CSS workaround, but could sigil's own regex engine fix this easily.
I need a regex that will transform all letters within a class ="calibre9" span to uppercase
|
Absolutly
I cut this from my saved searches, so it has MY line numbers
Code:
104\Name=Cleanup/Upper the case
104\Find="<span class=\"calibre9\">(.+?)</span>"
104\Replace="<span class=\"calibre9\">\\U\\1</span>"