![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
![]()
This is one of those I-don't-know-what-I-don't-know questions.
First, one of the patches I have enabled is: "Don't uppercase header/footer text and change page number text: yes" and it works like a charm as long as the original epub header/footer is in lower case. Question: If the header/footer text in the original epub is already all upper case, is it possible to edit the CSS and force header/footer text to lower case? If so, how does one accomplish this? What is the header/footer referencing? |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
The title of the book in the metadata and the title of the chapters in the table of contents. It's not in css. You must manually change the title in the metadata for the book and the title for each chapter. Сan do this with a regular expression.
Last edited by Semwize; 03-11-2021 at 09:34 PM. |
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Thank you, Semwize. I'm not knowledgeable about regular expressions, but I can certainly accomplish the task manually. Unfortunately, I cannot understand why another epub, containing all uppercase chapter titles in the ToC and book itself, does indeed honor the patch of retaining lower case. It doesn't make sense.
Last edited by Skydog; 03-11-2021 at 09:56 PM. |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
Can see this epub? Because the patch does not convert headers to lowercase at all, the patch cancels uppercase.
Last edited by Semwize; 03-11-2021 at 10:13 PM. |
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Quote:
BTW, I recall something Patrick (geek1011) mentioned in the past. I believe the patch only prevents lowercase => upper case when the source is in lowercase. If it is already in uppercase, it stays in uppercase. I just do not know what "it" is, hence my original question. Last edited by Skydog; 03-11-2021 at 10:50 PM. |
|
![]() |
![]() |
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
|
![]() |
![]() |
![]() |
#7 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
|
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
After giving it some thought, I suspected as much, it's logical.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOreader rendering: CSS rule after @namespace ignored | maraskan_user | KOReader | 4 | 01-27-2021 05:58 AM |
MoonReader and html/css rendering | nindotza | Android Devices | 4 | 09-26-2020 04:01 AM |
Epub rendering bug on ka1 | Stevex | Kobo Reader | 19 | 01-19-2017 05:35 AM |
Epub rendering with italics and em dashes | TCFAN | Kobo Reader | 6 | 03-30-2012 02:22 AM |
Override ePub CSS with userStyle.css? | barium | Sony Reader Dev Corner | 11 | 07-16-2011 03:25 PM |