Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > Astak EZReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-10-2010, 02:39 AM   #16
Dave_S
What Title ?
Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
Quote:
Originally Posted by Solicitous View Post
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?
Dave_S is offline   Reply With Quote
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
Advert
Old 05-10-2010, 07:57 AM   #18
Dave_S
What Title ?
Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
Quote:
Originally Posted by Solicitous View Post
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 am currently using the experimental Lbook firmware, but that should not make any difference since both Astak and Lbook firmware are using CoolReader 3 with identical CSS support. I do not have any explanation for why your page turns are taking so long with the use of those "strong" tags for chapter titles. I think that the FB2 Schema seems to indicate that "title" tags be used for chapter identification though, and "strong" tags be used for emphasis within a paragraph or sentence.

Quote:
Originally Posted by Solicitous View Post
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.
IMHO, it is really a shame that Calibre still does not follow the FB2 Schema properly when it outputs FB2 novels.

Quote:
Originally Posted by Solicitous View Post
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).
Since Calibre does not seem to be following the FB2 Schema in generating FB2 files you may have considerable difficulty with option #1. I can sure see that a mass conversion capability does have it's attractions though. My process is to buy books in whatever format I can get them in and then convert them to FB2 immediately. For books that I previously purchased and want to re-read, I convert them before reading at the time I want to read them. All my older books are in eReader or MobiPocket format, since I have been reading novels on my PDA devices for quite a few years.

Quote:
Originally Posted by Solicitous View Post
What software do you use for your fb2 creation??
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.

Quote:
Originally Posted by Solicitous View Post
I found rtf works a treat (other than no line space between the end of a chapter and the chapter title following).
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.
Dave_S is offline   Reply With Quote
Old 05-10-2010, 11:27 AM   #19
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
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)

they are also in the wiki and available for download.

Dale
DaleDe is offline   Reply With Quote
Old 05-10-2010, 10:49 PM   #20
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 Dave_S View Post
IMHO, it is really a shame that Calibre still does not follow the FB2 Schema properly when it outputs FB2 novels.
It is, and I posted last night a question in the Calibre forum about specifying proper title /title tags rather than the strong /strong tags, but unfortunately with no time nor desire to implement this by the developers into Calibre (and programming being well above my capabilities), I think Calibre is going to be left aside for me with fb2 file conversion.


Quote:
Originally Posted by Dave_S View Post
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.
I have used BookDesigner4 in the past and the fb2 files have worked a charm (even worked on my PP just testing now with my fb2.css file). So in the interim I have gone back to epub (after manually editing a file and creating a css that works for me as I want it to display), and will revisit the fb2 issue when I get to end of semester break at uni.

Thanks for your help though, does look like my ultimate solution is BD.
Solicitous is offline   Reply With Quote
Advert
Old 05-11-2010, 10:42 AM   #21
Dave_S
What Title ?
Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
Quote:
Originally Posted by Solicitous View Post
Thanks for your help though, does look like my ultimate solution is BD.
If you are as picky about how you would like a book to look as I am, then either Book Designer or OOoFBTools are the way to go because you can make changes in much more detail. ANY2FB2 or Calibre both do everything for you but neither gets it exactly right, especially Calibre IMHO.

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.
Dave_S is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:58 AM.


MobileRead.com is a privately owned, operated and funded community.