Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-14-2021, 07:29 AM   #1
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Google Play Books and Nested Lists - Some Weird Display Issue

Hello Guys,

So I have this ePub which I'm preparing for Google Play Books and other ePub platforms. Thing is, the Play Books display some 'orphan' or 'empty' list markers across pages. All these markers are of 'nested lists'.

I'm at loss at what can cause this and how to get rid of these issues.

Can anybody here help in solving this issue?

Many thanks.

For reference, the PDF has the screenshots with an explanation of the issue is attached.
Attached Files
File Type: pdf Play_Books_ePub_Nested-Lists-Issues.pdf (1.54 MB, 320 views)
rsuchwani is offline   Reply With Quote
Old 07-15-2021, 03:59 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Probably incorrectly nested ul tags. What does the xhtml look like (copy paste inside code tags here or snap a screen capture) near where the problem occurs?
KevinH is offline   Reply With Quote
Advert
Old 07-16-2021, 06:06 AM   #3
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: 76,458
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Just a note, it would be easier to attach the screenshots instead of making a PDF.
JSWolf is offline   Reply With Quote
Old 08-17-2021, 06:04 AM   #4
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Quote:
Originally Posted by KevinH View Post
Probably incorrectly nested ul tags. What does the xhtml look like (copy paste inside code tags here or snap a screen capture) near where the problem occurs?
Quote:
Originally Posted by JSWolf View Post
Just a note, it would be easier to attach the screenshots instead of making a PDF.
@KevinH and @JSWolf

My sincere apologies for not being prompt in responding, I was badly held up in personal matters.

Here is the code of those specific list items.

Code:
<ul class="blacksqlg" style="margin-top: 0;">
                <li class="bsqlg"><b>Allergische Sofortreaktionen (nach 5 – 15 Minuten)</b> Bei Kindern selten.
                <ul class="whitesqlg" style="margin-top: 0;">
                    <li class="wsqlg">Im Falle von Atemnot (Asthma) oder Blutdruckabfall mit evtl. Bewusstlosigkeit
                        <ul class="darkarrw" style="margin-top: 0;">
                            <li class="darw">ist die Ambulanz (Schweiz 144) bzw. der Notarztwagen (EU 112) zu rufen und
                                <ul class="arrwright" style="margin-top: 0;">
                                    <li class="arrt">falls zur Hand, Adrenalin (Epipen Autoinjetor) spritzen.<br/>
                                        <span class="fs-s">Verdacht auf lebensgefährliche Allergie, siehe unten Elternwissen.</span></li>
                                </ul>
                            </li>
                        </ul>
                    </li>
                    <li class="wsqlg">Im Falle von Hautausschlag am Körper ausserhalb der Stichstelle mit Quaddeln (Nesselfieber = Urticaria, Foto am Ende der Datei <a href="0GB2-nose-wings.xhtml"><u>hier</u></a>)
                        <ul class="darkarrw" style="margin-top: 0;">
                            <li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<br/>
                                <span class="fs-s">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
                        </ul>
                    </li>
                </ul>
                </li>
                <li class="bsqlg"><b>Allgemeine Giftwirkung Bienenstich</b> (beginnt nach 1 - 2 Stunden):<br/>
                    <b>Kind &lt; 2 Jahre</b> ab 10 Bienenstiche ► Überwachung im Spital.<br/>
                    <b>Kind 2 - 5 Jahre</b> ab 30 Bienenstiche ► Überwachung im Spital.<br/>
                    <b>Kind 5 - 10 Jahre</b> ab 50 Bienenstiche ► Überwachung im Spital.<br/>
                    <span class="fs-s">Eine Biene kann beim Stich mehr Gift als eine Hornisse und wesentlich mehr als eine Wespe entladen.</span></li>
                <li class="bsqlg"><b>Lokale Giftreaktion bei Stichen am Hals und im Mund</b> (beginnt nach 1 - 2 Stunden).<br/>
                    Stiche am Hals und im Mund können zu einer Schwellung des Kehlkopfs und zum Ersticken führen.
                <ul class="darkarrw" style="margin-top: 0;margin-bottom: 0;">
                    <li class="darw">Bei Stichen am Hals oder im Mund ist eine Überwachung im Spital zwingend.</li>
                </ul>
                <ul class="arrwright" style="margin-top: 0;">
                    <li class="arrt">Als Sofortmassnahme bzw. zur Verzögerung der Giftwirkung Eis lutschen.</li>
                </ul>
                </li>
                <li class="bsqlg"><b>Verzögerte allergische Lokal</b>reaktion (beginnt nach 12 - 24 Stunden, ist nach 36 bis 48 maximal und bildet sich danach spontan zurück.) Teils massive <b>Schwellung und Rötung</b> an der Stichstelle, die über Stunden und Tage einen Farbwechsel von dunkelrot zu blau zu grün und zu gelb zeigen kann.<br/>
                    <span class="fs-s">Das Blut an der Stichstelle zersetzt sich wegen des Giftes.</span>
                <ul class="arrwright" style="margin-top: 0;">
                    <li class="arrt">Darf von den Eltern mit Kühlen und <u><a href="7ms-analgesic-drugs.xhtml">Schmerzmitteln</a></u> behandelt werden.</li>
                </ul>
                </li>
                  <li class="bsqlg">Verzögerte Giftwirkung mit <b>roten Striemen</b> herzwärts der Stichstelle.
                      <ul class="arrwright" style="margin-top: 0;">
                        <li class="arrt">Bei gutem <a href="0GA1a-gen-instruction.xhtml">Allgemeinzustand</a> darf zugewartet werden.<br/>
                            Es ist eine Entzündung der Lymphgefässe durch das Gift. Im Gegensatz dazu sind rote Striemen herzwärts einer eiternden Wunde (evtl. nach Kratzen bei Mückenstich) eine Entzündung durch Bakterien mit der Gefahr, dass sich Bakterien auf dem Blutweg in anderen Organen absiedeln (= Sepsis = fälschlich Blutvergiftung). Aber im Gift der Bienen etc. überleben keine Bakterien.</li>
                      </ul>
                  </li>
              </ul>
Please note that I've used custom symbols in my list markers because the book demands them.

Also, the first thing I did is to make sure all the nested lists are correctly put.

The issue I'm describing is not only with the shared chapter screenshots but also with all the nested lists in the book.
rsuchwani is offline   Reply With Quote
Old 08-17-2021, 11:18 AM   #5
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,610
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Try suppresing the <br/> tags and, to force a new line, use the property "display: block". For example:

You have something like (watch the text in red):

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<br/><span class="fs-s" style="display: block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
Remove the <br/> tag so that you have the following (watch the text in red):

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<span class="fs-s" style="display: block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
Of course, instead of styling inline, you can create a class like:

Code:
.block {
   display: block;
}
and to employ it as follow:

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<span class="fs-s block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
I think that the <br/> tags could be the cause of your issues.

Regards
RbnJrg is offline   Reply With Quote
Advert
Old 08-17-2021, 01:12 PM   #6
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by rsuchwani View Post
@KevinH and @JSWolf

My sincere apologies for not being prompt in responding, I was badly held up in personal matters.

Here is the code of those specific list items.

(snip the code for brevity)

Please note that I've used custom symbols in my list markers because the book demands them.

Also, the first thing I did is to make sure all the nested lists are correctly put.

The issue I'm describing is not only with the shared chapter screenshots but also with all the nested lists in the book.
Custom symbols, in my experience, is what kills lists. eBook HTML doesn't support anything but the regular old HTML symbols, so...if it were me, I'd try it with regular symbols and regular classes and see if it works. If it does, you instantly have your answer.

When we use custom symbols, at my shop, we have to hand-code the CSS for the list elements, because otherwise, as I said, they don't work. I'm 98% sure that's right; I haven't double-checked with my crews this morning about it, but last time I was involved in a discussion with them around this topic, that was the case.

Hitch
Hitch is offline   Reply With Quote
Old 08-18-2021, 06:13 AM   #7
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: 76,458
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You did not post the relevant CSS. Please post a sample ePub that shows your problem. That would be easiest to look at.
JSWolf is offline   Reply With Quote
Old 08-18-2021, 02:32 PM   #8
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Quote:
Originally Posted by Hitch View Post
Custom symbols, in my experience, is what kills lists. eBook HTML doesn't support anything but the regular old HTML symbols, so...if it were me, I'd try it with regular symbols and regular classes and see if it works. If it does, you instantly have your answer.

When we use custom symbols, at my shop, we have to hand-code the CSS for the list elements, because otherwise, as I said, they don't work. I'm 98% sure that's right; I haven't double-checked with my crews this morning about it, but last time I was involved in a discussion with them around this topic, that was the case.

Hitch
I too am not in favor of having too much 'custom' list in the book, but the book in question is very unique in this aspect and the content requires all these custom list markers to guide the reader to the specific context.

For testing purposes, I've used the regular, old, and generic HTML list markers and symbols and they displayed fine. But as I mentioned above, the custom list marker serves a much more crucial role here.
rsuchwani is offline   Reply With Quote
Old 08-18-2021, 02:35 PM   #9
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Quote:
Originally Posted by JSWolf View Post
You did not post the relevant CSS. Please post a sample ePub that shows your problem. That would be easiest to look at.
Although I've attached the sample ePub in response to @RbnJrg's comment, I think the moderator will take time to approve it. I'm attaching the ePub here again.
Attached Files
File Type: epub PlayBooks_NestedLists_Test_V02.epub (227.8 KB, 226 views)

Last edited by rsuchwani; 08-18-2021 at 02:39 PM. Reason: attached the sample.
rsuchwani is offline   Reply With Quote
Old 08-18-2021, 02:41 PM   #10
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Quote:
Originally Posted by RbnJrg View Post
Try suppresing the <br/> tags and, to force a new line, use the property "display: block". For example:

You have something like (watch the text in red):

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<br/><span class="fs-s" style="display: block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
Remove the <br/> tag so that you have the following (watch the text in red):

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<span class="fs-s" style="display: block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
Of course, instead of styling inline, you can create a class like:

Code:
.block {
   display: block;
}
and to employ it as follow:

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<span class="fs-s block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
I think that the <br/> tags could be the cause of your issues.

Regards

I've replaced <br/> with the 'block' element but the result is the same. I've attached the sample ePub below with the complete CSS, maybe you can find something which is causing this issue?
rsuchwani is offline   Reply With Quote
Old 08-18-2021, 03:15 PM   #11
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by rsuchwani View Post
I too am not in favor of having too much 'custom' list in the book, but the book in question is very unique in this aspect and the content requires all these custom list markers to guide the reader to the specific context.

For testing purposes, I've used the regular, old, and generic HTML list markers and symbols and they displayed fine. But as I mentioned above, the custom list marker serves a much more crucial role here.
Well, I understand, but please hear what I'm saying--my company has formatted over 6,000 eBooks and I've never found a SIMPLE way to make custom symbols align. It's the custom symbols that are messing you up.

We typically have to hand-code everything, to make them work. Is that what you're asking? How to hand-code them? So that they look remotely okay?

It maybe, might, work in ePUB3, the way you're doing it, but if you play to use this in ePUB2 or in Kindle, fugeddaboutdit. AFAIK, GooglePlay uses, what, ePUB2, gang?

Wolfie, Tex, any of you know what GP is using?

Hitch
Hitch is offline   Reply With Quote
Old 08-18-2021, 05:45 PM   #12
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: 76,458
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I did notice one thing with the sample ePub. The font size does not change. Also,the CSS is a real frigging mess.I've not looked that closely, but it's a disaster.

I would expect Google Play Books app to handle ePub 3 as they accept that for sale. But I'm not sure as I've never used the app.

Last edited by JSWolf; 08-18-2021 at 05:48 PM.
JSWolf is offline   Reply With Quote
Old 08-18-2021, 07:16 PM   #13
MicroDrie
Connoisseur
MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 438844
Join Date: Aug 2019
Device: PC, Linux Mint, Tablet, and Telephone
Quote:
Originally Posted by JSWolf View Post
I did notice one thing with the sample ePub. The font size does not change. Also,the CSS is a real frigging mess.I've not looked that closely, but it's a disaster.

I would expect Google Play Books app to handle ePub 3 as they accept that for sale. But I'm not sure as I've never used the app.
When I look at the CSS file in the EPUB, I notice also a few other things.

First, the EPUB does not contain any fonts that a CSS rule can reference.

Second, a lot of different font types are mentioned, but there is no reference where they can be downloaded by the EPUB in the CSS file.

Third, the CSS before content definition contains a graphic character without referencing a specific font.

The question is which font is now active when the EPUB reader starts rendering a page? The answer to this is: Where the emperor is not there, he loses his rights. The EPUB reader then checks whether an alternative font has been mentioned that the EPUB reader is familiar with. The more exotic the font is, the greater the chance that an EPUB reader will not have that font on board. Then the EPUB reader should fall back error-free to a font that is present.

Then there's the next problem, what if the fallback font doesn't have the graphic character? He can then display a graphic block as an error character indicator, but how does the rendering proceed? It is very difficult to create a one-fit-all error handling routine. That graphical character does occupy one position on the screen, but in the code it can be several positions. There is a good chance that the result will look very different from the expected layout because rendering is out of sync with the CSS code.

I think different roles in an emergency each require graphical markup for that specific role. I've added and modified the awesome font to be able to use it in an EPUB. In page 1U3 I could replace all formatting code with a character of font-awesome. But font-awesome doesn't have a dot in a square used on it. Before we get to that, I'm very curious if page 1U3 still misrepresents the contents of "Unfälle: Giftstich" in the attached EPUB to see if we're on the right track to solve the issue.
Attached Files
File Type: epub PlayBooks_NestedLists_Test_V02A.epub (610.4 KB, 174 views)
MicroDrie is offline   Reply With Quote
Old 08-19-2021, 04:25 AM   #14
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Quote:
Originally Posted by Hitch View Post
Well, I understand, but please hear what I'm saying--my company has formatted over 6,000 eBooks and I've never found a SIMPLE way to make custom symbols align. It's the custom symbols that are messing you up.

We typically have to hand-code everything, to make them work. Is that what you're asking? How to hand-code them? So that they look remotely okay?

It maybe, might, work in ePUB3, the way you're doing it, but if you play to use this in ePUB2 or in Kindle, fugeddaboutdit. AFAIK, GooglePlay uses, what, ePUB2, gang?

Wolfie, Tex, any of you know what GP is using?

Hitch

Hitch, I do hear you, as I mentioned in my previous response that I'm not in favor of using custom list markers but given the necessity of using them in this book, I can't avoid it.

But my question is not regarding the alignment or how to display them, my issue is specific to GP's display habit here. It's weird that all the list markers (from level 1 to whichever level's list on the next page) are displaying (without the list content). See the original issue screenshots.

Spoiler:




Notice the 'orphan hanging' arrow at the beginning of the page and the list item? It's like that with every 'nested list' in the book.

And yes, I did hand-code everything.

The sample I've shared is in ePub3 format, and the book is completely compliant with ePub3 standards. And yes, GP supports ePub3.

Last edited by rsuchwani; 08-19-2021 at 05:00 AM.
rsuchwani is offline   Reply With Quote
Old 08-19-2021, 04:32 AM   #15
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Quote:
Originally Posted by JSWolf View Post
I did notice one thing with the sample ePub. The font size does not change. Also,the CSS is a real frigging mess.I've not looked that closely, but it's a disaster.
The font size does change when the text size is adjusted according to the preference of the readers. What you've seen at the start of the CSS is the 'absolute reference font size'.

And the CSS is the very practical one. Granted that there are many things that usually don't get used often, but given the complexity of the book, it is an absolute requirement.

Quote:
Originally Posted by JSWolf View Post
I would expect Google Play Books app to handle ePub 3 as they accept that for sale. But I'm not sure as I've never used the app.
GPB handles ePub3 just fine, have formatted many books in the past without any hiccups, just this issue perplexed me that I want to find some solution with the help of you guys.
rsuchwani is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Google Play ebook purchases? ChipAHoy Amazon Kindle 2 10-24-2017 11:49 PM
Loading eBooks to Google Play Issue SamL Android Devices 3 02-15-2014 03:48 PM
Nested lists with paragraphs sdm1130 Kindle Formats 4 11-22-2011 07:32 PM
Nested Ordered Lists andyd273 Conversion 9 11-17-2011 01:05 PM
Classic Nook Nested Lists ldespain Barnes & Noble NOOK 0 08-08-2011 05:06 PM


All times are GMT -4. The time now is 09:27 PM.


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