Quote:
Originally Posted by Solicitous
In the .fb2 files the chapter headings are surrounded by the strong /strong tags, so the solution I am after is one that does not involve editing each individual file by hand (I have a few).
|
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?