From 7440f1a019417a13ae76cfd38778866f2da0cce3 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 24 Feb 2013 16:10:47 +0100 Subject: [PATCH] org.texi: Document lists of listings and lists of tables * doc/org.texi (Table of contents): Document lists of listings and lists of tables. --- doc/org.texi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/org.texi b/doc/org.texi index 0758dee1a..88c9f5d19 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -9179,10 +9179,18 @@ with a line like #+OPTIONS: toc:nil (no TOC at all) @end example +The same @code{TOC} keyword can also generate a list of all tables +(resp. a listings) with a caption in the buffer. + +@example +#+TOC: listings (build a list of listings) +#+TOC: tables (build a list of tables) +@end example + @cindex property, OPTIONAL_TITLE The headline's title usually determines its corresponding entry in a table of contents. However, it is possible to specifify an alternative title by -setting @code{:OPTIONAL_TITLE:} property accordingly. It will then be used +setting @code{OPTIONAL_TITLE} property accordingly. It will then be used when building the table. @node Lists, Paragraphs, Table of contents, Structural markup elements