View Single Post
Old 01-27-2022, 06:10 PM   #7
porphyry5
Connoisseur
porphyry5 began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
Quote:
Originally Posted by kovidgoyal View Post
Or use the option in the structure detection section of the conversion dialog (which is also where class="chapter" comes from btw)
Perfect.
Quote:
The default setting for detecting page breaks is:

//*[name()='h1' or name()='h2']

which means that calibre will insert page breaks before every <h1> and
<h2> tag by default.
Meant all I needed to do was
Code:
<h2><img width=100% src=i/1000.jpg></h2> 
<h2><img width=100% src=i/1001.jpg></h2>
And thank you for your courtesy, eschewing the use of RTFM, which I certainly should have done.
porphyry5 is offline   Reply With Quote