Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
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
Old 05-08-2022, 09:06 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The current header formatting is always described here: https://manual.calibre-ebook.com/con...verting-to-pdf
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
On PC & Mac, the latest version of the Kindle app is required. c7503 Conversion 1 12-22-2021 09:52 PM
On PC & Mac, the latest version of the Kindle app is required. c7503 Conversion 1 11-05-2021 01:09 AM
[Browser Viewer] Current Section disappearing from Header/Footer nqk Viewer 0 12-07-2020 09:22 AM
Mobipocket section - subject line header: Greator etitameh Feedback 1 07-08-2008 10:17 AM


All times are GMT -4. The time now is 07:12 AM.


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