|
|
#16 | |
|
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Oct 2026
Device: tablet
|
Quote:
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_; 11-17-2026 at 09:42 AM. |
|
|
|
|
|
|
#17 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 921
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 whatever bullets */
display: block;
list-style-type: whatever;
margin-left: 0.5em;
margin-right: 0.5em;
}
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; 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> Code:
<aside id="fn1a" class="footnote" epub:type="footnote"><p><a href="#fn1"><sup>n</sup></a>the footnote text</p></aside> 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;
}
Last edited by enuddleyarbl; 11-18-2026 at 08:43 AM. |
|
|
|
|
|
#18 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 921
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
|
Functionally, the one thing that I'd like to see would be some kind of progress measure in the chapter. I use that number to decide if I can stay awake long enough to finish a chapter or if I should just give up and go to sleep right there.
I've got the progress information turned on for the book in the footer. There's no header that's configurable. But, perhaps something in the header next to the Chapter number (under the book title) after tapping the center of the page. |
|
|
|
|
|
#19 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2026
Device: Iphone Duo
|
Hi, thanks for CalibReader — the calibre integration is excellent.
One issue with Arabic books: CalibReader opens and turns pages left-to-right, even when the EPUB declares right-to-left reading. The test file is a valid EPUB 3 (passes EPUBCheck with no errors): - <spine page-progression-direction="rtl"> - dc:language = ar - dir="rtl" on <html> and <body> in every content document The same file opens right-to-left in Apple Books and other readers. Could you add support for page-progression-direction="rtl" (pages advance leftward, book opens from the right)? A manual per-book override for page direction would also help with older files that lack the attribute. This affects Arabic, Hebrew, Persian and Urdu readers, and Japanese/Chinese vertical books as well. Happy to send a sample file or test a beta. Thanks! |
|
|
|
|
|
#20 | |||||||
|
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Oct 2026
Device: tablet
|
CalibReader 1.0.6 update is live on the App Store, and most of this page is in it.
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
![]() Quote:
|
|||||||
|
|
|
|
|
#21 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 921
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
|
Very nice work with the new version. The footnotes (i.e., <aside>) seem to be working really well (and I wish Kobo would follow your lead and fix the issue with their software -- I reported it to them years ago and they've ignored it). All forms work well: they all give a nice popup, and the "inline" and "in chapter" footnotes don't show up in the text on their own (which is correct behavior of the <aside> tag). The "end-of-book" endnotes DO appear on their own in the book, but that seems reasonable: they're in their own chapter and their <aside> includes the epub:type="endnote" tag instead of the epub:type="footnote" tag I used in the inline and chapter notes. So, however you managed to program that, I think it's a good methodology.
The biggest issue I'm having this time around has something to do with negative text-indent css (I think). It's very odd. I'm guessing at the pattern, but it seems like paragraphs and divs with negative text-indent classes work fine. But, sections with negative text-indent classes overrun their borders to the left (so much so that the overruns on following pages show up at the right side of the current page). I think it's the <p>, <div>, <section> difference because I've got a play snippet that displays correctly with just the <p> and <div> classes, but on a page that starts with a negative text-indent in its <section>, the problem happens. In my sample book, I've got the following section classes that include negative text-indents: Code:
section.bibliographypage {
/* Bibliography Page Styling */
font-size: x-small;
margin-left: 2em;
margin-right: 2em;
text-align: left;
}
section.bibliographypage p {
/* Bibliography Page Paragraph Styling */
display: block;
text-indent: -2em;
}
Code:
section.dramatispage {
/* Dramtis Personae Page Styling */
font-size: small;
margin-left: 2em;
margin-right: 2em;
text-align: justify;
}
section.dramatispage p {
/* Dramatis Personae Paragraph Style */
display: block;
text-indent: -2em;
}
Code:
section.glossarypage {
/* Glossary Page Styling */
font-size: x-small;
margin-left: 2em;
margin-right: 2em;
text-align: justify;
}
section.glossarypage p {
/* Glossary Page Paragraph Entry Styling */
display: block;
text-indent: -1.5em;
}
Code:
section.playasparagraph {
/* Play Act Section as Paragraphs Styling */
display: block;
padding: 1.5em;
}
section.playasparagraph p {
/* Play Act as Paragraphs Paragraph Styling */
display: block;
text-indent: -1.5em;
}
One other odd thing is that the bullets in ordered lists are also smooshed into their left-hand border, but unordered lists seem fine (even the unordered list without bullets which include a negative text-indent). Last edited by enuddleyarbl; Today at 07:23 PM. |
|
|
|
|
|
#22 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 921
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
|
I'll append this in it's own area. In the above example of the Bibliography page, I'm pretty sure I've got the css set up so that everything in it has a left margin of 2em. All paragraphs should have a left margin of -2em on the first line (which should put the first line of every paragraph at the left edge of the display (plus, whatever is set in the reader's software) and all following lines back at that 2em margin specified at the <section> level. Looking at the screenshot, it appears as though the first lines of the paragraphs are actually -2em from the screen edge and all following lines are at the screen edge (i.e., margin = 0) itself. I think.
EDIT: I've attached a screenshot of what the Calibre Editor says that same Bibliography area should look like. Last edited by enuddleyarbl; Today at 08:44 PM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |