View Single Post
Old 01-30-2014, 05:35 AM   #20
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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

Last edited by cybmole; 01-30-2014 at 06:10 AM.
cybmole is offline   Reply With Quote