![]() |
#316 | |
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:
Here is a typical default CSS for epub. this file is placed in the crengine folder and cool reader will find it there. There are separate files of different formats but the defaults are the same. It is a bit of overkill for some formats. It is especially targeted for fb2 format but ePub is quite close. Code:
body { text-align: left; text-indent: 0px } p { text-align: justify; text-indent: 1em; margin-top:0em; margin-bottom: 0em } empty-line { height: 1em } hr { height: 1px; background-color: #808080; margin-top: 0.5em; margin-bottom: 0.5em } sub { vertical-align: sub; font-size: 70% } sup { vertical-align: super; font-size: 70% } strong, b { font-weight: bold } emphasis, i { font-style: italic } a { text-decoration: underline } a[type="note"] { vertical-align: super; font-size: 70%; text-decoration: none } image { text-align: center; text-indent: 0px } p image { display: inline } title p, subtitle p, h1 p, h2 p, h3 p, h4 p, h5 p, h6 p { text-align: center; text-indent: 0px } cite p, epigraph p { text-align: left; text-indent: 0px } v { text-align: left; text-indent: 0px } stanza + stanza { margin-top: 1em; } stanza { margin-left: 30%; text-align: left; font-style: italic } poem { margin-top: 1em; margin-bottom: 1em; text-indent: 0px } text-author { font-weight: bold; font-style: italic; margin-left: 5%} epigraph { margin-left: 25%; margin-right: 1em; text-align: left; text-indent: 1px; font-style: italic; margin-top: 15px; margin-bottom: 25px } cite { font-style: italic; margin-left: 5%; margin-right: 5%; text-align: justyfy; margin-top: 20px; margin-bottom: 20px } title, h1, h2 { text-align: center; text-indent: 0px; font-weight: bold; hyphenate: none; page-break-before: always; page-break-inside: avoid; page-break-after: avoid; } subtitle, h3, h4, h5, h6 { text-align: center; text-indent: 0px; font-weight: bold; hyphenate: none; page-break-inside: avoid; page-break-after: avoid; } title { font-size: 110%; margin-top: 0.7em; margin-bottom: 0.5em } subtitle { font-style: italic; margin-top: 0.3em; margin-bottom: 0.3em } h1 { font-size: 150% } h2 { font-size: 140% } h3 { font-size: 130% } h4 { font-size: 120% } h5 { font-size: 110% } table { font-size: 80% } td, th { text-indent: 0px; padding: 3px } th { font-weight: bold; background-color: #DDD } table > caption { text-indent: 0px; padding: 4px; background-color: #EEE } code, pre { display: block; white-space: pre; text-align: left; font-family: "Courier New", "Courier", monospace; text-align: left } body[name="notes"] { font-size: 70%; } body[name="notes"] section title { display: run-in; text-align: left; font-size: 110%; font-weight: bold; page-break-before: auto; page-break-inside: auto; page-break-after: auto; } body[name="notes"] section title p { display: inline } description { display: block; } title-info { display: block; } annotation { margin-left: 5%; margin-right: 5%; font-size: 80%; font-style: italic; text-align: justify; text-indent: 2em } date { display: block; font-size: 80%; font-style: italic; text-align: center } genre { display: none; } author { display: none; } book-title { display: none; } keywords { display: none; } lang { display: none; } src-lang { display: none; } translator { display: none; } document-info { display: none; } publish-info { display: none; } custom-info { display: none; } coverpage { display: none } |
|
![]() |
![]() |
![]() |
#317 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2011
Location: San Francisco
Device: EEE Transformer
|
Editing path to Microsd card/Getting cool reader to see MicroSD
Hi:
I have a EEE Transformer running Honeycomb 3.2. I'm trying to setup Cool Reader for a friend. I was able to edit the path to the Microsd card but I can't seem to do so on my friend's transformer. I need to change it from /mnt/sdcard to /removable/microsd. I've looked at other posts that suggest menu/options/open file but I don't see that in the latest version. Any help would be appreciated. Thanks, Tom |
![]() |
![]() |
Advert | |
|
![]() |
#318 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2009
Device: Centro, Galaxy S
|
Bulleted lists
Have tried to search this thread, but it's getting a bit long!
Is it possible to get bulleted lists to appear with bullets in the Android epub version of Cool Reader? They appear fine in the Windows version, but the lists just appear without bullets with a dark background on my Android? Am I missing something? Chris |
![]() |
![]() |
![]() |
#319 | |
What Title ?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
http://sourceforge.net/apps/mediawik...oid_user_guide |
|
![]() |
![]() |
![]() |
#320 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2009
Device: Centro, Galaxy S
|
Quote:
Thanks for the swift response - good point. I have not specified the font in the CSS, and am using the 'standard' fonts that seem to come with CoolReader (Droid Sans, Droid Sans Fallback, Droid Sans Mono, and Droid Serif). How can I check if these have the bullet character? Since I want to be able to distribute the epub file, I don't particularly want to require users to download and install additional fonts - it should work 'out of the box'. If the 'standard' fonts do not include the bullet character, is there a work around? I'm also a little unclear about adding new fonts. Can I just use the Windows font files? Chris |
|
![]() |
![]() |
Advert | |
|
![]() |
#321 |
Enthusiast
![]() ![]() ![]() ![]() Posts: 25
Karma: 310
Join Date: May 2011
Device: none
|
I have an epub file that contains a gif at some point in the middle of the text. The space where the image is supposed to show, however, is competely blank.
Cool Reader for the PC also doesn't show the image. But if I load the epub file into Sigil, I can see it just fine. Any ideas as to what's causing this? Is it a problem with the way the epub is structured, or is Cool Reader known to have issues of this sort? |
![]() |
![]() |
![]() |
#322 | |
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:
Dale |
|
![]() |
![]() |
![]() |
#323 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2009
Device: Centro, Galaxy S
|
More on bulleted lists
Update on the situation with bulleted lists. I have just upgraded to v3.0.49-14 from the CoolReader web site. This appears to solve the problem, although the bullets are not perfect. The standard appears to be a lower-case 'o', while the square is very small. However, its certainly a great improvement!
![]() In case it's been as a result of my comments, one minor related point: the line indent for the following lines in the list is a little less than the position the first word on the first line. Same is true for Windows version. Be great if that could be corrected... Chris |
![]() |
![]() |
![]() |
#324 | |
Enthusiast
![]() ![]() ![]() ![]() Posts: 25
Karma: 310
Join Date: May 2011
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#325 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 62782
Join Date: Jun 2011
Device: Kobo Clara, Kindle 4
|
Thank you!
I just wanted to say a big thank you to the makers of this app. The lastest update (3.0.49-14) now reads the css so that new chapters begin on a fresh page. This has been irritating me for a while so thanks for the fix.
![]() |
![]() |
![]() |
![]() |
#326 | |
Enthusiast
![]() ![]() ![]() ![]() Posts: 25
Karma: 310
Join Date: May 2011
Device: none
|
Quote:
Did you need a seperate css file to do that, or is it now working by default? |
|
![]() |
![]() |
![]() |
#327 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 62782
Join Date: Jun 2011
Device: Kobo Clara, Kindle 4
|
Quote:
I don't know anything about code but for what it's worth, I managed to figure out that Cool reader only started a new chapter on a fresh page if the chapter headings were wrapped in h tags. I would go into sigil and format each chapter title as Heading 1 or Heading 2 or use Aldiko. Thank goodness I don't have to do that anymore. |
|
![]() |
![]() |
![]() |
#328 |
Enthusiast
![]() ![]() ![]() ![]() Posts: 25
Karma: 310
Join Date: May 2011
Device: none
|
The current version breaks the page margins. I'll set them, hit OK, but Cool Reader never reformats the document, and if I go back into the settings, the margins have all reverted back to 8.
|
![]() |
![]() |
![]() |
#329 |
Member
![]() Posts: 20
Karma: 10
Join Date: Apr 2011
Device: Yarvik 310
|
Is there any chance that future versions of Cool Reader will be able to display DOC files without smashing words together, or TXT files (don't know if this applies to other formats as well, such as DOC) that get to keep their blankspaces intact?
|
![]() |
![]() |
![]() |
#330 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Aug 2011
Device: none
|
good features
|
![]() |
![]() |
![]() |
Tags |
cool reader, fb2 epub rtf chm fbreader |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cool reader and E-Book reader differences? | PKFFW | OpenInkpot | 9 | 11-22-2010 05:52 PM |
Cool Reader 3 Issue | Blossom | Astak EZReader | 4 | 10-14-2010 07:48 PM |
Cool reader with slavic letters | s52d | HanLin eBook | 4 | 02-18-2010 06:18 AM |
Ended Cool-er e reader | BenjaminJames | Flea Market | 1 | 01-07-2010 05:36 PM |
Cool Reader 2, like FBReader for windows | yargoflick | Reading and Management | 1 | 03-06-2007 01:36 PM |