View Single Post
Old 05-21-2010, 06:08 PM   #4
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
The only HTML tags I've been able to configure formats for, in fbreader/fbreader180, using styles.xml are:-

Paragraph styles
  • <p> - "Default Paragraph"
  • <h1> to <h6> - "Header 1" to "Header 6"
  • <pre> - "Preformatted text"
  • <img> - "Image"

Character styles
  • <em> - "Emphasis"
  • <i> - "Italic"
  • <strong> - "Strong"
  • <b> - "Bold"
  • <sub> - "Subscript"
  • <sup> - "Superscript"
... and maybe
<a> - "Internal Hyperlink" or "External Hyperlink", but I haven't experimented
<code> - "Code" ditto

The fbreader paragraph styles "Verse", "Stanza", "Annotation" and "Epigraph" look as if they might be useful but I have no idea how I would write HTML to use them. If anyone has any ideas I'd love to hear them.

The following common HTML tags seem to be completely missing:-
  • <blockquote>
  • <ol>, <ul>, <li>
  • <dl>, <dt>, <dd>
  • all table stuff

If I have HTML with these tags then I've had to convert to EPUB using Calibre then read using AdobeViewer, not fbreader.

Can anyone shed any further light on HTML?
jackie_w is offline   Reply With Quote