dvschultz / 99problems

99 Problems and e-reader rendering are all of them
60 stars 3 forks source link

Classic: mobi7 ordered list, first number bold #1

Open dvschultz opened 10 years ago

dvschultz commented 10 years ago

Ordered lists that come after a heading retain a bold first numeral.

The workaround I use is:

in the html file:

<h2>Header Here</h2>
<!-- this is the key -->
<span class="mobi7only" style="height: 0%; overflow: hidden;">&#xa0;</span>
<ol>
<!-- ordered list continues on here -->

(to be safe I media query the .mobi7only class away)

note that this won’t work in some places due to epubcheck (like in nav’s where spans are not allowed).

jeankaplansky commented 10 years ago

All ordered and bulleted lists are hard coded in Mobi7. There is no way to turn numbering or bullets off, or change the numbers to another numbering scheme.

dvschultz commented 10 years ago

I think this might be a separate issue @jeankaplansky. Ok to separate?

jeankaplansky commented 10 years ago

you're right. It is a separate issue. I haven't seen the issue you're describing.

Jean Kaplansky jeankap@earthlink.net

On Mon, Mar 31, 2014 at 9:25 PM, dvschultz notifications@github.com wrote:

I think this might be a separate issue @jeankaplanskyhttps://github.com/jeankaplansky. Ok to separate?

— Reply to this email directly or view it on GitHubhttps://github.com/dvschultz/99problems/issues/1#issuecomment-39161748 .

dvschultz commented 10 years ago

It’s this guy. cropped

dvschultz commented 10 years ago

The workaround I use is:

in the html file:

<h2>Header Here</h2>
<!-- this is the key -->
<span class="mobi7only" style="height: 0%; overflow: hidden;">&#xa0;</span>
<ol>
<!-- ordered list continues on here -->

(to be safe I media query the .mobi7only class away)

note that this won’t work in some places due to epubcheck (like in nav’s where spans are not allowed).

jeankaplansky commented 10 years ago

Does this happen only when the list is the first content after a header or other bold text? Does it happen when the list is in the middle of a paragraph? And... What device is it happening on? Kindle DX? Something older?

Jean Kaplansky jeankap@earthlink.net

On Mon, Mar 31, 2014 at 11:30 PM, dvschultz notifications@github.comwrote:

It’s this guy. [image: cropped]https://cloud.githubusercontent.com/assets/161773/2575305/e04050de-b94d-11e3-8acf-3b4082c8e396.png

— Reply to this email directly or view it on GitHubhttps://github.com/dvschultz/99problems/issues/1#issuecomment-39167581 .

dvschultz commented 10 years ago

it only affects mobi7 devices (so yes, the DX). I think India Amos first brought this issue to my attention. So far I’ve only seen it after headers, but I haven’t tried to investigate it too deeply since it only affects mobi7 files.

madevelopers commented 9 years ago

@dvschultz was your screenshot taken on an actual device? I can't seem to replicate the error on Kindle DX on Kindle Previewer.

jstallent commented 9 years ago

@madevelopers The Previewer engine is not the same as the actual devices. That being said, I would not worry about this issue, as the DX is no longer sold by Amazon, and the only other devices that still use the Mobi7 format are the Kindle 1 and Kindle 2. Every other Kindle device supports KF8, which does not have this issue.