|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#17 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 322
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Quote:
|
|
![]() |
![]() |
![]() |
#18 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Jon - we understand you don’t think they look good. Nothing we say (or have said many times) will change your mind. If you really want to know, then please re-read (or maybe read for the first time) the directions given many times before…
|
![]() |
![]() |
![]() |
#19 | ||
Connoisseur
![]() Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
The "fancy" stuff is usually not that difficult. "Initial-letter" works pretty well and is widely supported – I don't have any reading app that doesn't support it. If it's not supported by a renderer it's not a big deal either. It can simpy be ignored (though I really think this absolutely needs to be supported on modern reading devices. Drop caps and raised caps are widely used and initial-letter is great solution for all the problems everybody is having with them). Mirrored text (with an svg wrapper) works flawlessly for me as well. On the other hand I've been trying to keep images and captions together on one page with <figure> and <figcaption>. Sounds very basic, but it's surprisingly challenging. With four different reading applications I can get four different results. They all behave very differently. Also page breaks: epub is a format for books. The content is almost always displayed as pages. Yet the concept of pages is not even implemented into many readers and they use columns instead–and the two concepts may clash. Setting pagebreaks with CSS should really be quite simple. But the only way to make them work consistently in all reading apps is by splitting up the document. Quote:
|
||
![]() |
![]() |
![]() |
#20 | |
Connoisseur
![]() Posts: 63
Karma: 10
Join Date: May 2025
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#21 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,252
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Also try to remember that a physical book has the advantage that people are not going to be changing the font, font size, line spacing, margins, etc. on the final product. An ebook? Quite a few people will be doing all of those. |
|
![]() |
![]() |
![]() |
#22 | |
Connoisseur
![]() Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
Code:
<figure> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 960 1207" preserveAspectRatio="xMidYMid meet"><image width="960" height="1207" xlink:href="../picture.jpg"/></svg> <figcaption>This is a caption</figcaption> </figure> Code:
figure { text-align: center; -webkit-column-break-inside: avoid !important; page-break-inside: avoid !important; break-inside: avoid !important; display:block; } figure > svg { height:80vh; width:100%; } figcaption { height:18vh; } |
|
![]() |
![]() |
![]() |
#23 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#25 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,252
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
<p class="first first-in-chapter first-full-width first-with-first-letter-m"><span class="first-letter first-letter-m first-letter-without-punctuation">M</span> |
|
![]() |
![]() |
![]() |
#26 | ||
Connoisseur
![]() Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
Quote:
Code:
@supports (initial-letter: 2) {…} This will also eliminate problems with renderers that support :first-letter, but not initial letter. If you must have drop caps in epub2 as well, I guess you could still add spans and style them. Then you'd have to undo the span’s styling for all renderers that support initial-letter. |
||
![]() |
![]() |
![]() |
#27 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
|
|
![]() |
![]() |
![]() |
#28 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
What would happen if you had first-letter and a span for a program that supports both? This is a good reason to forgo drop caps if you need ePub2 compatibility. |
||
![]() |
![]() |
![]() |
#29 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#30 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,054
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
K I S S
Which is more important? Everyone being able to read it easily on anything, or being stubborn about a display feature? If it's for personal use you can be as clever as you like. Sometimes for mass publication being clever is dumb. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Epub vs Standard Epub | JudahsShadow | Library Management | 3 | 05-01-2023 01:55 PM |
Linux ePub reader app that best fullfills the ePUB standard | celiapgt | Reading and Management | 12 | 04-19-2022 12:42 AM |
Help revise the Epub standard | Nate the great | General Discussions | 8 | 04-18-2010 11:29 AM |
Standard Reader for Epub | bhuvana786 | ePub | 6 | 08-21-2009 11:00 AM |