04-09-2017, 05:16 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: STDU
|
Edits not always showing
Hi,
I am using calibre to edit an epub. Some of the edits work just great. But others, such as colour and spacings, show fine in the preview panel, but do NOT show in the epub. I am using STDU to view my e-books. Any suggestions? |
04-09-2017, 05:46 AM | #2 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
If the edits look fine then it may be the STDU viewer, if they don't look fine post actual code snippets of items that don't seem to work. |
|
Advert | |
|
04-09-2017, 06:39 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: STDU
|
Hi Dr.O,
The edits are ok in Calibre's book reader. But they also do not show in Sumatra. 2 edits that don't show in the epub are: <style> .centre { text-align: center; } #padleft { padding-left:50px; border:no; } .tab1 { padding-left: 4em; } .tab2 { padding-left: 8em; } .tab3 { padding-left: 12em; } .red{ color: red;</style> <div id="padleft"> <p class="red"> |
04-09-2017, 07:39 AM | #4 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
04-09-2017, 08:36 AM | #5 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: STDU
|
I have downloaded Adobe Digital Editions to check.
BUT, it is not very good. The padding shows, but colour changes do not. Worse, it has blanked large parts of my first 2 pages. (Also it cannot handle images very well, these are often overlayed on the text.) |
Advert | |
|
04-09-2017, 08:57 AM | #6 |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Given that your eBook is ePub and ADE has problems displaying your eBook, then I would say the problem is with your eBook. ADE is the standard and if it fails, then you need to fix things.
|
04-09-2017, 09:01 AM | #7 |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Use a proper linked CSS.
Code:
.centre { text-align: center; } .padleft { padding-left: 50px; } .tab1 { padding-left: 4em; } .tab2 { padding-left: 8em; } .tab3 { padding-left: 12em; } .red { color: red; } |
04-09-2017, 12:14 PM | #8 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You can make a book that renders perfect (your version o perfect) on a device that many have not heard of... OR You can make it look good on the majority of devices (because they also support the DRM used by industry) ADE /RMSDK ADE is notorious for ignoring whole stylesheets with syntax errors. Validate USE A STYLESHEET It is a lot easier to fix or adjust in a single place |
|
04-10-2017, 04:12 AM | #9 | |
Age improves with wine.
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
|
|
04-10-2017, 05:36 AM | #10 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: STDU
|
@JSWolf, thanks. I have incorporated your code, but still no change.
So now I will check the whole style-sheet. Didn't realise that these pgms just ignored the style-sheet if there are errors. Would be more helpful if they flagged the errors. @theducks. My target customer at the moment is me. Just want to read the corrected book on STDU. @Phssthpok. Thanks. |
04-10-2017, 05:40 AM | #11 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
04-10-2017, 10:29 AM | #12 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: STDU
|
True. But it could also let you know by flagging the error, like in normal programming languages. This would be infinitely more helpful.
|
04-10-2017, 10:33 AM | #13 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
But it is a PITA when you buged just a dropcap and you turned the whole mess into unreadable. |
|
04-10-2017, 06:37 PM | #14 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I've never heard of STDU until now. I see it and its companion products haven't been updated for a couple of years or more. So it might be time to consider an alternative viewer. On Windows (which is the only platform STDU supports) most reviews regard the calibre viewer as the best all round product. There are new versions of the calibre-viewer coming down the pipeline - whereas STDU may have been abandoned. BR |
|
04-14-2017, 01:36 AM | #15 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: STDU
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Books showing in Calibre not showing the whole book on reader | readerlover | Devices | 4 | 07-13-2015 01:52 AM |
Notification for edits | AlanHK | Feedback | 1 | 04-29-2015 12:49 AM |
Getting data edits into book | DMee | Conversion | 5 | 04-27-2014 06:31 PM |
Sigil Edits | belledee | Library Management | 0 | 05-26-2011 12:56 PM |
12 Edits that Every Manuscript Needs | Moejoe | Writers' Corner | 1 | 04-09-2009 01:53 PM |