Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 03:14 AM   #31
Moonbase59
Groupie
Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.
 
Moonbase59's Avatar
 
Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
Quote:
Originally Posted by Slevin#7 View Post
For iOS the current version is 5.15.5 592939 and over a year old. So maybe they have updated the Android app?
That may well be the case.

Could you try the two EPUBs @RndJrg and I uploaded on iOS, maybe share a screenshot? Apple has been known to sometimes severely restrict iOS/macOS developers, and Safari’s WebKit does have some deficiencies.

Then again, @RbnJrg was speaking of the Android version, so I wonder. Maybe there is something else in the CSS that makes it behave differently, or some setting in the app?

At least with KOReader, I always have to remember to switch "Style Tweaks" off to see an EPUB as it was intended by the publisher. App settings can modify an EPUB’s appearance in unexpected ways.
Moonbase59 is offline   Reply With Quote
Old Yesterday, 08:26 AM   #32
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 451
Karma: 65460
Join Date: Jun 2011
Device: Kindle
@Terisa - I can't tell if this is a joke! If so, it elicited a chuckle. If not, well, it still elicited a chuckle. Yes, I supposed that having a program automatically generate an epub IS an easier way to produce a document (any document... quality be damned) than styling it yourself. But I got the impression that Sarmat was actually arguing for an advantage in favor of hand-coded <div>s over <p>s...
ElMiko is offline   Reply With Quote
Advert
Old Yesterday, 08:54 AM   #33
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,635
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by ElMiko View Post
@Terisa - I can't tell if this is a joke! If so, it elicited a chuckle. If not, well, it still elicited a chuckle. Yes, I supposed that having a program automatically generate an epub IS an easier way to produce a document (any document... quality be damned) than styling it yourself. But I got the impression that Sarmat was actually arguing for an advantage in favor of hand-coded <div>s over <p>s...
Sadly, not a joke but a mindset. And now I remember that I've seen ereaders at Android/iOs that honor div styles but not p (don't ask me why, it was long time ago, but I can tell you a publisher that, currently, only uses div, not p).
Terisa de morgan is offline   Reply With Quote
Old Yesterday, 08:54 AM   #34
Moonbase59
Groupie
Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.
 
Moonbase59's Avatar
 
Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
…and even a piece of software can be programmed to generate meaningful output. ;-)

For instance, I write almost everything in Markdown, and very rarely include HTML/XHML, except for the occasional

Code:
<hr />
for a scene change or thematic break, or maybe

Code:
<span xml:lang="fr">C’est la vie !</span>
to nudge the reader software to use the correct hyphenation or otherwise differentiate foreign-language text (like maybe italicize it).

The "piece of software" still generates correct results, i.e. headings, paragraphs and such.
Moonbase59 is offline   Reply With Quote
Old Yesterday, 09:17 AM   #35
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by RbnJrg View Post
Sorry, my mystake. I was referring to the Android version of PB. It's possible that the physical device has a different rendering engine, but the app has the bug I described.
I remember having problems last year with Android PB when "suddenly" my previously nicely rendered simulated letters and newspaper extracts etc no longer had left/right indented margins and scenebreak fleurons were missing their top/bottom margins. I usually use KOreader on Android these days so I had no idea when PB had actually started to misbehave.

The solution for me turned out to be quite simple. All I had to do was go to Settings > Page > Page margins and make sure it was set to Author. I'm embarrassed at how long it took me to make this "simple" discovery
jackie_w is offline   Reply With Quote
Advert
Old Yesterday, 09:36 AM   #36
Moonbase59
Groupie
Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.
 
Moonbase59's Avatar
 
Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
Quote:
Originally Posted by jackie_w View Post
The solution for me turned out to be quite simple. All I had to do was go to Settings > Page > Page margins and make sure it was set to Author. I'm embarrassed at how long it took me to make this "simple" discovery
Thanks, that is a valuable hint! Let me add this menu is only available when a book is actually open in the Pocketbook App.

It’s real nice that you can modify so many things in KOReader and Pocketbook, but the plethora of possible settings hidden in various submenus can be confusing.
Moonbase59 is offline   Reply With Quote
Old Yesterday, 10:48 AM   #37
Slevin#7
Connoisseur
Slevin#7 began at the beginning.
 
Posts: 64
Karma: 10
Join Date: May 2025
Device: iPad
Quote:
Originally Posted by Moonbase59 View Post
That may well be the case.Could you try the two EPUBs @RndJrg and I uploaded on iOS, maybe share a screenshot?
Screenshots taken with PocketBook iOS 5.15.5 592939

Moonbase
Click image for larger version

Name:	moonbase.png
Views:	8
Size:	463.3 KB
ID:	217030

RbnJrg
Click image for larger version

Name:	rbnjrg.png
Views:	5
Size:	196.3 KB
ID:	217031

Quote:
Originally Posted by jackie_w View Post
The solution for me turned out to be quite simple. All I had to do was go to Settings > Page > Page margins and make sure it was set to Author. I'm embarrassed at how long it took me to make this "simple" discovery
Yeah, that would be great if only I could find that special configuration. Can you describe maybe in depth where to search for? At least in my iOS app I can't find this setting

Quote:
Originally Posted by Moonbase59 View Post
Thanks, that is a valuable hint! Let me add this menu is only available when a book is actually open in the Pocketbook App.
Could you please tell me where to click or to search? These are the possible configurations I have access:

Main settings
Click image for larger version

Name:	settings_main.png
Views:	7
Size:	158.4 KB
ID:	217032

Settings with opened book
Click image for larger version

Name:	settings_open1.png
Views:	7
Size:	217.5 KB
ID:	217033 Click image for larger version

Name:	settings_open2.png
Views:	7
Size:	278.1 KB
ID:	217034 Click image for larger version

Name:	settings_open3.png
Views:	8
Size:	751.5 KB
ID:	217035
Slevin#7 is offline   Reply With Quote
Old Yesterday, 02:49 PM   #38
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jackie_w View Post
The solution for me turned out to be quite simple. All I had to do was go to Settings > Page > Page margins and make sure it was set to Author. I'm embarrassed at how long it took me to make this "simple" discovery
Thanks, that is the key! By setting page margins to Author fixes the issue.
RbnJrg is offline   Reply With Quote
Old Yesterday, 03:23 PM   #39
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by ElMiko View Post
@JSWolf - Yeah, I'd be curious to know who is the criminal responsible for this, too. Frankly, the books I've seen with this not only are guilty of the div/span coding, but also the css is usually ridiculously bloated. Like, multiple classes that are different from eachother only in the most marginal sense—think "margin: 0 1px;" vs "margin 0 2px;" or "font-size: 1.0em;" vs "font-size: 1.00012583em". In retrospect, those ridiculous decimals should have been a dead giveaway that it was a program, not a person. (although the designer presumably WAS a person, and deserves a jail sentence)
A font size like you've specified is usually from InDesign. You sometimes numbers with fairly small decimals.

As for the CSS being bloated, it's because these publishers just keep adding to the style sheet. It's very easy to remove any unused classes. But they won't do that. I do that and sometimes I see over 100 unused classes. It's ridiculous.

I think the publishers need staff who can make sure the eBooks are good to go both for the code and the formatting.
JSWolf is offline   Reply With Quote
Old Yesterday, 03:30 PM   #40
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
PB behaves extremely unusual regarding specific margins applied to a <p> tag. It doesn't even respect them if I declare a style inline. For example, <p style="margin: 2em 0">...</p> isn't honored if, for example, I have declared this in my stylesheet:

Code:
p {
  margin: 0;
  ...
}
Regarding to have:

Code:
<div style="margin: 2em 0">  /* This is honored */
    <p style="margin: 1.5em 0">This is my test</p> /* This isn't */
</div>
but for only one line, you never will write something so. Instead you'll write:

Code:
<div style="margin: 3.5em 0">
    This is my test
</div>
OTOH, if you have:

Code:
<div class="bigMargin">
    <p>This is my test</p>
    <p>This is my test</p>
    <p>This is my test</p>
</div>
and

Code:
.bigMargin {
   margin: 2em 0;  /* PB will honor this */
}

.bigMargin p {
   margin: 0.5em 0; /*PB won't honor this */
}
The opposite also occurs (that is, I have big margins and I want smaller ones for a particular <p>). The best way to understand what happens with PB is to install the app and test different particular margins for the <p> tag.
Will PB respect the margins in <p> if you do something like...

Code:
p {
  margin-top: 2em;
  margin-right: 0;
  margin-bottom: 2em.
  margin-left: 0;
}
I know the nook had an issue with a margin shorthand.
JSWolf is offline   Reply With Quote
Old Yesterday, 03:38 PM   #41
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,074
Karma: 105206895
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Pocketbook app on Android does respect <p> settings if it's configured to use them. My ebooks look the same on Pocketbook and on the Kobo, and more or less similar as azw3 on Kindle Pw3. The K3 and Pw3 (with azw3/Kf8) sometimes scale images rather differently, but oddly the K3 is more like the Kobo or PB app on Android. Some Android apps are useless.

I'll never use over-ride features in a apps that have them as it bites later. I only edit the epub or the original source.

Last edited by Quoth; Yesterday at 03:41 PM.
Quoth is offline   Reply With Quote
Old Yesterday, 04:48 PM   #42
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
Will PB respect the margins in <p> if you do something like...

Code:
p {
  margin-top: 2em;
  margin-right: 0;
  margin-bottom: 2em.
  margin-left: 0;
}
I know the nook had an issue with a margin shorthand.
By enabling author-based margins (a hidden feature deep within the application's settings), PB honors the margins specified in the style sheet.

However, if the user happens to modify the page margins using the easily accessible command in PB's main menu, the program not only modifies the page margins, but also all the margins, including paragraph margins. Thus, the specific values specified in the style sheet are no longer honored.

The only way for these margins to remain unchanged even when the user changes the page margins is to use <div> tags instead of <p> in paragraphs where a special margin is required. Terrible handling of margins by PB.
RbnJrg is offline   Reply With Quote
Old Yesterday, 04:52 PM   #43
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Moonbase59 View Post
Thanks, that is a valuable hint! Let me add this menu is only available when a book is actually open in the Pocketbook App.

It’s real nice that you can modify so many things in KOReader and Pocketbook, but the plethora of possible settings hidden in various submenus can be confusing.
Try to change the page margins with the PB's "Text" menu. You'll see that the app not only changes the page margins but also the paragraph margins. PB's handling of margins is terrifying.
RbnJrg is offline   Reply With Quote
Old Yesterday, 05:22 PM   #44
Moonbase59
Groupie
Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.
 
Moonbase59's Avatar
 
Posts: 189
Karma: 1000000
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
I don’t know what’s going on here, I give up. Works on mine:
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20250722-231540.png
Views:	9
Size:	239.6 KB
ID:	217045   Click image for larger version

Name:	Screenshot_20250722-231559.png
Views:	10
Size:	308.4 KB
ID:	217046   Click image for larger version

Name:	Screenshot_20250722-231651.png
Views:	9
Size:	213.6 KB
ID:	217047   Click image for larger version

Name:	Screenshot_20250722-232256.png
Views:	11
Size:	138.4 KB
ID:	217048  

Last edited by Moonbase59; Yesterday at 05:26 PM.
Moonbase59 is offline   Reply With Quote
Old Yesterday, 06:08 PM   #45
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,776
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Moonbase59 View Post
I don’t know what’s going on here, I give up. Works on mine:
Incredible! What Android version are you using? I have Android 14.
RbnJrg is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using <p> instead of <div> goderic Sigil 4 09-25-2024 11:12 AM
A tag that's new to me <div/> DyckBook Editor 7 11-13-2021 02:30 AM
<div> problem alheva Marvin 30 08-23-2016 09:13 PM
duplicate div id's thiefwriter ePub 6 09-17-2011 11:00 AM
Center a div marcelo2605 ePub 4 05-13-2011 07:39 AM


All times are GMT -4. The time now is 05:37 PM.


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