View Single Post
Old 06-21-2016, 02:56 PM   #34
jcsalomon
Zealot
jcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheese
 
jcsalomon's Avatar
 
Posts: 98
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
A book I’ve just typeset had its EPUB start location set to Preface.xhtml, just after the TOC (nav.xhtml) and just before Chapter01.xhtml. Kindlegen produces a file that correctly opens where I want it to. And Amazon set the SRL to Chapter 1.

Here’s the entire body of the preface, as the author wants it displayed:
Code:
<body>
  <h2 class="sigil_not_in_toc">Once upon a time [author’s text elided]</h2>
</body>
I know there won’t be any guarantees, but has anyone had any luck with something like this? Perhaps if I included a dummy
Code:
<h1 style="display: none;">Preface</h1>
or something like that?

On second thought… Hmm, I’d been abusing the <h2> tag for this formatting. What happens if I add this Preface to the TOC? I’ll get back to this thread after I’ve tried it.
jcsalomon is offline   Reply With Quote