View Single Post
Old 05-08-2022, 02:01 PM   #1
Blaineoreski
Zealot
Blaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcoverBlaineoreski exercises by bench pressing the entire Harry Potter series in hardcover
 
Blaineoreski's Avatar
 
Posts: 119
Karma: 16268
Join Date: Apr 2020
Device: none
Question Header Formatting in Latest Version & Section Question

Hi,

I'm not really computer savvy, so please forgive the basic level of this question.

I recently upgraded to the latest version of Calibre. Up to now, I've always used the following code to generate headers in each conversion to PDF:

<header style="justify-content: flex-end; color: gray; font-size: xx-small;padding-top: 20px;"><div class="odd-page"><i>_SECTION_</i></div></header>

BUT! As I recall, that code was specific to the earlier version that I was using. Two questions, please:

If I want to create a similar header structure using the latest version of Calibre, how should I edit the code above?

If I have a work with several chapters, and subchapters inside, And I want both on every page, should I use something like <i>_SECTION_, _TOP_LEVEL_SECTION_ </i> within the amended code?

So that the output would be something like

Book I, Chapter 2

Thanks!

Blaine

Last edited by Blaineoreski; 05-08-2022 at 06:00 PM.
Blaineoreski is offline   Reply With Quote