View Single Post
Old 12-12-2023, 03:32 AM   #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 Mobi > PDF Add Code to Insert Pagebreaks Before Every Subheading and Bolded Text

Hi,

Converting from Mobi and files like mobi to PDF.

I need to add page breaks before subheadings in chapters.

So, my first question is: is this programmatically possible? I think it would go somewhere in replace if it possible?

Also, page breaks before bolded text.

Here's my goal - I need the places where the author begins a separate argument in a work to start on a new page. I can use the subheadings in the book and bolded text as these markers.

I know bolded can be variable in other books, but at least in this text the author begins new arguments with bolded text. I can keep it as an option in other works.

I was thinking that there is a uniform code mobi > PDF conversion for subheadings within a chapter as well as bolded text.

If so, my idea was that in the conversion pre-formatting panels, code could be added to tell the program to add page breaks before either of these cases. If possible, PLEASE let me know!

If that's NOT possible, here's my by-hand alternative - BOLD & IN COLOR subheadings and bolded text.

That way I can go through the PDF by hand and put the breaks in myself.

So! Please, if it's possible to achieve the breaks themselves automatically? Or, if not, how to change the color of the text in those places and I'll do it by hand.

THANKS!

Ski

Last edited by Blaineoreski; 12-12-2023 at 07:07 AM.
Blaineoreski is offline   Reply With Quote