05-10-2010, 02:39 AM | #16 | |
What Title ?
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
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; } |
|
05-10-2010, 06:38 AM | #17 | ||
Wizard
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:
Quote:
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). |
||
Advert | |
|
05-10-2010, 07:57 AM | #18 | |||
What Title ?
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
Quote:
Quote:
I use BookDesigner 5.0 mostly, but I am beginning to use OOoFBTools more as I get more experience with it. I think that both of them produce files that will pass the FB2 Validator, and follow the FB2 Schema correctly. IF I use Calibre in the conversion process, I have Calibre output an RTF file for input to my FB2 software. Isn't it possible to fix that in the rtf.css file in the /crengine folder? I really do not know, since I have never put an RTF file on my reader. I mainly use RTF as an intermediate format in my conversion process. |
|||
05-10-2010, 11:27 AM | #19 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
they are also in the wiki and available for download. Dale |
|
05-10-2010, 10:49 PM | #20 | ||
Wizard
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:
Quote:
Thanks for your help though, does look like my ultimate solution is BD. |
||
Advert | |
|
05-11-2010, 10:42 AM | #21 | |
What Title ?
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
One parting thought, FWIW. I tried doing a MOBI to FB2 conversion in Calibre today, and then loaded up the resultant FB2 in my text editor. In the text editor I did a global search and replace for <strong>, changing it to <title>. I then repeated the S&R for </strong>, replacing with </title>. The result was surprisingly better, but not perfect because Calibre actually used the <strong> tag in a few places that it actually belonged. The whole area in the Calibre FB2 around chapter breaks is a little (lot?) screwed up, so CoolReader did not make it's own TOC of titles for some reason. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I make a left-justify CSS for CoolReader? | Sunspark | Astak EZReader | 1 | 06-07-2010 11:00 AM |
.CSS [CoolReader] Programming Demystified | Dr. Drib | Astak EZReader | 6 | 03-18-2010 01:27 AM |
Is CoolReader in 0.2? | basshead | OpenInkpot | 1 | 12-08-2009 07:17 AM |
My first attempt at writing an original... | JanG | Writers' Corner | 13 | 08-11-2009 05:36 PM |