99problems icon indicating copy to clipboard operation
99problems copied to clipboard

Classic: mobi7 ordered list, first number bold

Open dvschultz opened this issue 10 years ago • 9 comments

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).

dvschultz avatar Mar 11 '14 18:03 dvschultz

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.

jeankaplansky avatar Apr 01 '14 00:04 jeankaplansky

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

dvschultz avatar Apr 01 '14 01:04 dvschultz

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

Jean Kaplansky [email protected]

On Mon, Mar 31, 2014 at 9:25 PM, dvschultz [email protected] 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 .

jeankaplansky avatar Apr 01 '14 03:04 jeankaplansky

It’s this guy. cropped

dvschultz avatar Apr 01 '14 03:04 dvschultz

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).

dvschultz avatar Apr 01 '14 03:04 dvschultz

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 [email protected]

On Mon, Mar 31, 2014 at 11:30 PM, dvschultz [email protected]:

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 .

jeankaplansky avatar Apr 01 '14 04:04 jeankaplansky

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.

dvschultz avatar Apr 01 '14 16:04 dvschultz

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

madevelopers avatar Jun 23 '15 03:06 madevelopers

@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.

jstallent avatar Jun 23 '15 14:06 jstallent