Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Apple Devices

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 09:21 AM   #16
CalibReader_
Enthusiast
CalibReader_ began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Oct 2026
Device: tablet
Quote:
Originally Posted by enuddleyarbl
I'm in single page mode holding it in portrait mode. I think the swipe up habit is from any scrolling views on devices. As you say, it's just habit even though I'm in a paging mode.

Also, I was testing other things and noticed that lists (ordered or unordered) don't appear to work at all. I've got my own CSS for those, but here's a bare-bones example page that I loaded into a Sample book I made and tried in CalibReader:

https://www.w3schools.com/css/tryit....-style-type_ex

The list bullets don't show for any of the list-style-type versions. It's very possible that you just haven't gotten to the point of implementing those yet (lists probably aren't used all that often).

That makes sense, thanks. Scrolling everywhere else trains the thumb. Give it a couple of good reading sessions and let me know if its still an issue.

And thanks for the test page: you found a real bug. CalibReader was trimming the left indent on everything that sits directly on the page, and that indent is where list bullets and numbers live, so they vanished, plain ones included. The fix keeps a list's own indent, and it's in the next update. Your page is now one of the tests.

Are the lists in your own books mostly numbered, or custom bullets? Any other custom CSS / adjacent issues you've been able to find?

Last edited by CalibReader_; Today at 09:42 AM.
CalibReader_ is offline   Reply With Quote
Old Today, 05:13 PM   #17
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 914
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
The CSS I use for my ordered lists looks like:
Code:
.ol_whatever {
/* Ordered List Class for Arabic Numbers (Safer to use UL) */
	display:	block;
	list-style-type:	whatever;
	margin-left:	0.5em;
	margin-right:	0.5em;
}
where the list-style-type is decimal, lower-alpha, upper-alpha, lower-roman and upper-roman.

Unordered lists look the same except the class will be .ul_whatever and the list-style-type will be circle, disc, none and square. The only one I try to avoid is "circle" since Kobo does individual lines badly (too thin) and that unfilled circle can barely be seen. Also, for the "none" version, I add in:
Code:
	padding-left:	0.5em;
	text-indent:	-0.5em;
to make up for the lack of bullets.

The other big thing I've noticed is footnotes don't work. Since there's no standard code for footnotes, that's not a well-defined statement. But, since I use <aside> for footnotes, I guess I should say <aside> doesn't work. Here's w3c's example page for the <aside> tag:

https://www.w3schools.com/tags/tag_aside.asp

and this appears to be Apple's information on footnotes:

https://help.apple.com/itc/booksasse...cf8ecf5c8.html

Here's what I use in the HTML where I want to reference a footnote:
Code:
<p>text before footnote<a id="fn1" href="#fn1a" epub:type="noteref"><sup>n</sup></a>rest of text in paragraph after footnote.</p>
and here's the HTML for the actual footnote:
Code:
<aside id="fn1a" class="footnote" epub:type="footnote"><p><a href="#fn1"><sup>n</sup></a>the footnote text</p></aside>
Usually, I place the text of the footnote "inline" directly under the paragraph where I call the footnote. In CalibReader, the source and target of the footnote show up on screen, but the jump using the footnote number just sort of blanks the screen and it only clears with multiple page turns. Ditto if I put the footnotes at the end of a chapter. Both of those types of footnotes specify epub:type="footnote" at the targets. However, it does seem to work somewhat if I put all the footnotes into an Endnote chapter, but those use epub:type="endnote" at the target (all use epub:type="noteref" at the source reference to a footnote). With endnotes, the jump will work, but no <aside> frame opens.

and here's my CSS for formatting footnotes:
Code:
.footnote {
	/* Footnote Styling */
	font-family:	sans-serif;
	font-size:	small;
	margin-left:	2em;
	margin-right:	2em;
	text-indent:	0;
	border-top:	1px solid black;
	border-bottom:	1px solid black;
	page-break-inside:	avoid;
}
I don't know if it will help, but I've attached a little booklet I put together to check my CSS. If you want, you could use that to see the "chapters" on the various footnotes.
Attached Files
File Type: epub My Sample Book 2 - me.epub (544.2 KB, 2 views)
enuddleyarbl is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone Hyphen - ePub Reader for iPhone and iPad hyphenreader Apple Devices 224 08-03-2017 06:41 AM


All times are GMT -4. The time now is 08:41 PM.


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