[gtksourceview] docs: fix build warnings



commit 4d9423f7e49d658a8ceee7d0bebcf887732a8f72
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Apr 28 11:15:16 2015 +0200

    docs: fix build warnings
    
    The warnings were:
    
    ../gtksourceview-docs.xml:1: element refentry: validity error : ID lang-tutorial already defined
    ../gtksourceview-docs.xml:13: element refsect1: validity error : ID tutorial already defined
    ../gtksourceview-docs.xml:1: element refentry: validity error : ID lang-reference already defined
    ../gtksourceview-docs.xml:1: element refentry: validity error : ID style-reference already defined
    
    Further fixes in style-reference.xml, because after doing the change in
    gtksourceview-docs.xml, there were new errors:
    
    ../style-reference.xml:95: parser error : Entity 'num' not defined
    "&num;000000" or named color understood by Gdk prefixed with "&num;"

 docs/reference/gtksourceview-docs.xml |    9 +++------
 docs/reference/style-reference.xml    |    8 ++++----
 2 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/docs/reference/gtksourceview-docs.xml b/docs/reference/gtksourceview-docs.xml
index 3f4945f..c371e0c 100644
--- a/docs/reference/gtksourceview-docs.xml
+++ b/docs/reference/gtksourceview-docs.xml
@@ -4,9 +4,6 @@
 [
   <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
   <!ENTITY version SYSTEM "version.xml">
-  <!ENTITY tutorial SYSTEM "lang-tutorial.xml">
-  <!ENTITY reference SYSTEM "lang-reference.xml">
-  <!ENTITY stylereference SYSTEM "style-reference.xml">
 ]>
 <book id="index">
   <bookinfo>
@@ -84,9 +81,9 @@
 
   <part>
     <title>Syntax highlighting reference</title>
-    &tutorial;
-    &reference;
-    &stylereference;
+    <xi:include href="lang-tutorial.xml"/>
+    <xi:include href="lang-reference.xml"/>
+    <xi:include href="style-reference.xml"/>
   </part>
 
   <chapter id="object-tree">
diff --git a/docs/reference/style-reference.xml b/docs/reference/style-reference.xml
index 058b20c..adc03e0 100644
--- a/docs/reference/style-reference.xml
+++ b/docs/reference/style-reference.xml
@@ -92,8 +92,8 @@ Same as <code>description</code> except it will be localized.
 These define color names to be used in <code>style</code> tags.
 It has two attributes: <code>name</code> and <code>value</code>.
 <code>value</code> is the hexadecimal color specification like
-"&num;000000" or named color understood by Gdk prefixed with "&num;",
-e.g. "&num;beige".
+"#000000" or named color understood by Gdk prefixed with "#",
+e.g. "#beige".
 </para></listitem>
 </varlistentry>
 <varlistentry>
@@ -123,8 +123,8 @@ bookmarks.
 <term><code>foreground</code></term>
 <listitem><para>
 Foreground color. It may be name defined in one of <code>color</code> tags, or value in
-hexadecimal format, e.g. "&num;000000", or symbolic name understood
-by Gdk, prefixed with "&num;", e.g. "&num;magenta" or "&num;darkred".
+hexadecimal format, e.g. "#000000", or symbolic name understood
+by Gdk, prefixed with "#", e.g. "#magenta" or "#darkred".
 </para></listitem>
 </varlistentry>
 <varlistentry>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]