View Single Post
Old 10-27-2009, 03:07 PM   #1
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Dropcaps example in User Manual FAQ

I was browsing the Calibre User Manual today and came across the section named
"How do I use some of the advanced features of the conversion tools?"
in the FAQ with attached demo files.

When I tried the HTML DropCaps examples I couldn't get the simpler one to work, i.e. the one which uses the following CSS:-

.drop { text-indent: 0pt}
.drop:first-letter { font-size:xx-large}

with a paragraph coded:-

<p class="drop">This is a plain text based dropcaps ... </p>

This suggestion works great in my browser and when viewing the imported .zip in the ebook-viewer, but not in a converted EPUB or LRF on my Sony PRS-505. It doesn't appear to show up in the Viewers either.

Is this something which only works with some readers or other output types?

I think I could use something like

p.noindent {text-indent: 0pt}
span.drop {font-size:xx-large}

<p class="noindent"><span class="drop">T</span>his is a big capital.</p>

to achieve the same thing, but the original suggestion results in neater HTML if it can be made to work.
jackie_w is offline   Reply With Quote