Sigil is not a (X)HTML editor. It is intended for editing ePub files which use a limited subset of HTML/CSS. While quite a bit of HTML/CSS works in ePub, there is a fair bit that does not.
You might be able to take a look at the code used and modify it to meet your needs. Looking at Boundary from Baen's Free Library, it looks to be a fairly simple task to add back/next/Toc to an HTML file.
I've attached the free library version of Boundary.
|