Hi, On 28 Apr., 10:17, Jan Ulrich Hasecke <juhase...@googlemail.com> wrote: > I'm aware that I can make a custom theme. I did one before and it wasn't > fun. ;-)
For this case it might be not this difficult. You should edit the file _templates/layout.html. If it does not exist, just add the following contents: {% extends "!layout.html" %} {% block relbar1 %}{% endblock %} {% block footer %}{% endblock %} If it already exists, add the last two lines. You should also check that the conf.py contains the following line: templates_path = ['_templates'] That should be sufficient. Rebuild the epub file. Note that the header and footer are also removed from the HTML output, so the empty blocks should be removed if you also want the HTML output. > But I think simply removing the header and footer is not enough. I my > point of view an ebook is really a book and not a bunch of html pages. > This implies that footnotes should not be counted page wise but > continously through the whole book similar to what the pdf builder does. > > I am not quite sure whether there are use cases that an ebook should be > compiled from several html pages, so maybe this can be another option: > make the ebook from one single html page with continously counted > footnotes or make it from several html pages with chapter wise counting. In my opinion, creating the epub from one big HTML file is not feasible due to memory and cpu constraints. The readers can only process small files (I try to keep them < 100k). And the rendering of large files can take minutes, Formatting the footnotes as endnotes might be possible through an extension. I think the notes example extension does something similar. However, for the endnotes you have to renumber the notes and rewrite the links. Roland -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.