On Fri, Feb 17, 2017 at 5:01 PM, lewis <[email protected]> wrote:

> There are redundant contents link at these 3 pages:
>

​Actually, the tables of contents in almost *all* of Leo's chapters are
formatted this way. A clone-find on ".. contents" yields 38 matches in
LeoDocs.leo.

Adding the :local: rST directive
<http://docutils.sourceforge.net/docs/ref/rst/directives.html#table-of-contents>
would remove the extra line:

    .. contents:: Chapter Contents
        :depth: 3
        :local:

When :local: is in effect, the title (Chapter Contents) must be given
explicitly. Otherwise no title line is generated.

For some reason, I seem to prefer the old way.  Let me think about this for
awhile.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to