diff options
Diffstat (limited to 'doc/html/quickbook/syntax/structure.html')
-rw-r--r-- | doc/html/quickbook/syntax/structure.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/html/quickbook/syntax/structure.html b/doc/html/quickbook/syntax/structure.html index bc2c15ed29..1bc6cd1382 100644 --- a/doc/html/quickbook/syntax/structure.html +++ b/doc/html/quickbook/syntax/structure.html @@ -319,6 +319,27 @@ Chapter contents.... Thus: "The Section Title" will be normalized to "the_section_title". </p> <p> + The end of the section can also have an optional id, this is just used to + check that it matches the opening of the section. + </p> +<pre class="programlisting">[section:matching Section with an id] + +[/...] + +[endsect:matching] +</pre> +<p> + It won't match a generated id, only one that's explicitly specified, so this + will be an error, even if quickbook generates the id <code class="computeroutput">generated</code> + for the section: + </p> +<pre class="programlisting">[section Generated] + +[/...] + +[endsect:generated] +</pre> +<p> Sections can nest, and that results in a hierarchy in the table of contents. </p> </div> |