diff options
author | Havoc Pennington <hp@pobox.com> | 2002-01-12 03:38:28 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-01-12 03:38:28 +0000 |
commit | 9ed83b827d38d22972feaf68ce28cfbc8b9d7ea5 (patch) | |
tree | 659706d60c8a997fd06a5b89bfcaa56c2f601be1 /docs/pango_markup.sgml | |
parent | 00eb979f80984b122ab734c081b4116a246be071 (diff) | |
download | pango-9ed83b827d38d22972feaf68ce28cfbc8b9d7ea5.tar.gz |
fix cross-references in here
2002-01-11 Havoc Pennington <hp@pobox.com>
* docs/pango_markup.sgml: fix cross-references in here
Diffstat (limited to 'docs/pango_markup.sgml')
-rw-r--r-- | docs/pango_markup.sgml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/docs/pango_markup.sgml b/docs/pango_markup.sgml index a0311e31..fc8c225b 100644 --- a/docs/pango_markup.sgml +++ b/docs/pango_markup.sgml @@ -17,11 +17,12 @@ markup language to encode text plus a <link linkend="PangoAttrList">PangoAttrLis Frequently, you want to display some text to the user with attributes applied to part of the text (for example, you might want bold or italicized words). With the base Pango interfaces, you could create a -#PangoAttrList and apply it to the text; the problem is that you'd -need to apply attributes to some numeric range of characters, for -example "characters 12-17." This is broken from an -internationalization standpoint; once the text is translated, the word -you wanted to italicize could be in a different position. +<link linkend="PangoAttrList">PangoAttrList</link> and apply it to the +text; the problem is that you'd need to apply attributes to some +numeric range of characters, for example "characters 12-17." This is +broken from an internationalization standpoint; once the text is +translated, the word you wanted to italicize could be in a different +position. </para> <para> @@ -29,7 +30,7 @@ The solution is to include the text attributes in the string to be translated. Pango provides this feature with a small markup language. You can parse a marked-up string into the string text plus a <link linkend="PangoAttrList">PangoAttrList</link> using the function -pango_parse_markup(). +<link linkend="pango-parse-markup">pango_parse_markup()</link>. </para> <para> @@ -38,11 +39,11 @@ A simple example of a marked-up string might be: </para> <para> -The root tag of a marked-up document is <markup>, but -pango_parse_markup() allows you to omit this tag, so you will most -likely never need to use it. The most general markup tag is -<span>, then there are some convenience tags. <span> has -the following attributes: +The root tag of a marked-up document is <markup>, but <link +linkend="pango-parse-markup">pango_parse_markup()</link> allows you to +omit this tag, so you will most likely never need to use it. The most +general markup tag is <span>, then there are some convenience +tags. <span> has the following attributes: <variablelist><title><span> attributes</title> <varlistentry><term>font_desc</term> |