Thank you, Martin. It is way over my head, as I don't even know what a template is. I come at this from scientific computing and not web development. Since I have a limited goal perhaps I can get this done by experiment from your suggestion. I have seen in my searching that a lot of people have encountered this problem.
On Thu, Dec 29, 2016 at 1:36 AM Martin Bless <[email protected]> wrote: > Hi Paul, > > [Paul Dubois]: > > I am writing books that I want to render in html, latexpdf, and epub. > > > > I want the TOC to include a last line Index that shows or links to > > (depending on output format) the page where the index starts. > > you may find one path to a solution here: > > https://docs.typo3.org/News/2016/Index.html#cool-stuff-for-nerds-special-templates-available > > > See what I did there to create a sitemap. The idea is that you have an > extra template and select that by means of page properties. My page has > normal contents first (that appears in the TOC) and "knows" how to > generate the special contents. In my case it's a sitemap, in your case > it would be then index. > > You would have to adapt that somehow similar like:: > > > :template: myindex.html > > .. _MyIndex: > > ====================== > My Index > ====================== > > .. template 'myindex.html' will insert the Index here below normal contents > > > > > Patting myself on the shoulders I still find that using page properties > like that is a clever idea :-) > > You would have to create the template file :file:`myindex.html` of course. > > Martin > > > https://github.com/TYPO3-Documentation/t3SphinxThemeRtd/blob/master/t3SphinxThemeRtd/sitemap.html > > > https://github.com/sphinx-doc/sphinx/blob/master/sphinx/themes/basic/genindex.html > > -- > http://mbless.de > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sphinx-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sphinx-users/H6f8LLWTgvk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
