diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2015-08-31 10:46:01 +0100 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2015-08-31 10:46:01 +0100 |
commit | 3899795fa3c3e058e3885ec7a6638f0597a752cc (patch) | |
tree | cd6441155b4702fb53697076d6b021623605b5c3 /docs/usermanual-ch03.xml | |
parent | d205965286798af4b7ad07e1eafa58288bee4bdb (diff) | |
parent | 01e16e88f50b65b82dcb84773f532f18a351319f (diff) |
Merge pull request #131 from simoncozens/docs
Use gtk-doc to build user's manual as well as reference
Diffstat (limited to 'docs/usermanual-ch03.xml')
-rw-r--r-- | docs/usermanual-ch03.xml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/usermanual-ch03.xml b/docs/usermanual-ch03.xml index 4f289ce1..3a26c553 100644 --- a/docs/usermanual-ch03.xml +++ b/docs/usermanual-ch03.xml @@ -1,4 +1,4 @@ -<sect1 id="buffers-language-script-and-direction"> +<chapter id="buffers-language-script-and-direction"> <title>Buffers, language, script and direction</title> <para> The input to Harfbuzz is a series of Unicode characters, stored in a @@ -6,7 +6,7 @@ the text that we want and then customize the properties of the buffer. </para> - <sect2 id="creating-and-destroying-buffers"> + <section id="creating-and-destroying-buffers"> <title>Creating and destroying buffers</title> <para> As we saw in our initial example, a buffer is created and @@ -49,8 +49,8 @@ void somefunc(hb_buffer_t *buffer) { throw away the string in the buffer but keep the options, you can instead call <literal>hb_buffer_clear_contents(buffer)</literal>. </para> - </sect2> - <sect2 id="adding-text-to-the-buffer"> + </section> + <section id="adding-text-to-the-buffer"> <title>Adding text to the buffer</title> <para> Now we have a brand new Harfbuzz buffer. Let's start filling it @@ -58,20 +58,20 @@ void somefunc(hb_buffer_t *buffer) { of Unicode codepoints, but your input string is probably in one of the standard Unicode character encodings (UTF-8, UTF-16, UTF-32) </para> - </sect2> - <sect2 id="setting-buffer-properties"> + </section> + <section id="setting-buffer-properties"> <title>Setting buffer properties</title> <para> </para> - </sect2> - <sect2 id="what-about-the-other-scripts"> + </section> + <section id="what-about-the-other-scripts"> <title>What about the other scripts?</title> <para> </para> - </sect2> - <sect2 id="customizing-unicode-functions"> + </section> + <section id="customizing-unicode-functions"> <title>Customizing Unicode functions</title> <para> </para> - </sect2> -</sect1>
\ No newline at end of file + </section> +</chapter>
\ No newline at end of file |