View Single Post
Old 11-28-2017, 10:48 AM   #39
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
I'm sure I'm not alone in using this plugin to make graphic pages that function as titles.

So these should be in the TOC, but will be ignored by Sigil's TOC generator unless they have a heading tag. But if you add any text to a full-page image you normally get a new page.

So I use inline styles to add a heading that takes up no space, with the text in the "title" tag where the TOC generator will read it:

<body>
<h1 style="height:0; margin:0;" title="Book 2: The Two Towers"></h1>
<div>
<svg xmlns="http://www.w3.org/2000/svg" ...


This works (no extra page) in the ePub readers I tried as well as when converted to AZW3.

Last edited by AlanHK; 11-28-2017 at 02:11 PM.
AlanHK is offline   Reply With Quote