View Single Post
Old 05-10-2010, 06:38 AM   #17
Solicitous
Wizard
Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.
 
Posts: 1,434
Karma: 1525776
Join Date: Aug 2009
Location: TAS, Australia
Device: Astak Pocket Pro (Black), 2 x Kindle WiFi (Graphite), iPod Touch 4G
Quote:
Originally Posted by jusmee View Post
Someone posted a set of coolreader setup files here recently. I am using them, and just renaming epubs to fb2, and I am getting fast page turns and chapter headings in large bold font, different to body text. (using Lbook firmware)
If I know the ones you are referring to, they are .ini files used to define settings with Coolreader, such as default font size, spacing etc.

Quote:
Originally Posted by Dave_S View Post
So far, I have never been happy with the FB2 generated by Calibre, so I can not offer any Calibre specific information. In my FB2 files, all titles are surrounded by title /title tags, and I have a section in my fb2.css telling CoolReader how to render text within title tags. Since you are using strong tags, does your fb2.css have a section telling CoolReader how to render text bracketed by strong tags???

Here is my fb2.css telling CoolReader how to render text bracketed by title tags. My chapter titles are always displayed in bold with a slightly larger text size(130%), and my page changes are very rapid even with my 6" reader which has a much slower processor than the 5" reader.

Code:
title {
  color: #C00;
  text-align: center; text-indent: 0px;
  margin-top: 0.7em; margin-bottom: 0.5em;
  font-size: 130%; font-weight: bold;
  font-family: sans-serif;
  page-break-before: always; page-break-inside: avoid; page-break-after: avoid;
}
FWIW, I think that the strong tags are really meant for text inside a paragraph, and not for titles, but I could certainly be wrong about that. If that is true though, you probably do not want to have your CSS start strong tags centered on a new page the way I have in my title tags?
Thanks for the info. BTW I am using the Astak March firmware. I did put in a fb2.css file into the crengine folder which did specify the strong /strong tags, however my page turns took 4-5 seconds each, when I deleted the fb2.css my page turns went back to normal (fraction of a second).

I had a look through the bugs for Calibre and someone pointed out the incorrect usage of tags, however this issue apparently isn't planned on being fixed in Calibre.

So I have two options, (1) write a fb2.css specifying ONLY the tags used by Calibre in the fb2 output in the hope of fixing the page turn issue, or (2) forget using Calibre right now for fb2 conversion. Sad thing is, Calibre is really nice in being able to perform a bulk convert from epub to fb2 without much hassle (especially good when converting 100+ files).

What software do you use for your fb2 creation?? I found rtf works a treat (other than no line space between the end of a chapter and the chapter title following).
Solicitous is offline   Reply With Quote