[patch] addition of example + screen change for docbook.xds

Douglas Burke <[email protected]>
Newsgroups gmane.editors.conglomerate.devel
Message-ID <Pine.GSO.4.58.0410081756001.26620@lagado>
Here's a small patch to the docbook display spec to add support for the
example tag and to make the screen tag preserve whitespace.

Doug
cong.diff (text/plain, 1.7 KB)
Index: dispspecs/ChangeLog
===================================================================
RCS file: /cvs/gnome/conglomerate/dispspecs/ChangeLog,v
retrieving revision 1.20
diff -u -r1.20 ChangeLog
--- dispspecs/ChangeLog	2 Aug 2004 03:42:34 -0000	1.20
+++ dispspecs/ChangeLog	8 Oct 2004 21:39:59 -0000
@@ -1,3 +1,10 @@
+2004-10-08  Douglas Burke  <[email protected]>
+
+	* docbook.xds.in: 
+
+	Added an entry for the example tag, since it seemed to be missing.
+	Added whitespace="preserve" to the attribute list of the screen tag.
+
 2004-08-01  David Malcolm  <[email protected]>
 
 	* cnxml.xds: 
Index: dispspecs/docbook.xds.in
===================================================================
RCS file: /cvs/gnome/conglomerate/dispspecs/docbook.xds.in,v
retrieving revision 1.3
diff -u -r1.3 docbook.xds.in
--- dispspecs/docbook.xds.in	6 Jul 2004 04:12:58 -0000	1.3
+++ dispspecs/docbook.xds.in	8 Oct 2004 21:39:59 -0000
@@ -369,6 +369,11 @@
 		</element>
 
 
+		<element localName="example" type="structural" color="a0b0c0">
+			<_name>Example (formal)</_name>
+			<property-dialog service-id="docbook-generic-node-properties"/>
+		</element>
+
 		<element localName="informalexample" type="structural" color="a0b0c0">
 			<_name>Example (informal)</_name>
 			<property-dialog service-id="docbook-generic-node-properties"/>
@@ -559,7 +564,7 @@
 			<property-dialog service-id="docbook-generic-node-properties"/>
 		</element>
 
-		<element localName="screen" type="structural" color="a0b0c0">
+		<element localName="screen" whitespace="preserve" type="structural" color="a0b0c0">
 			<_name>Screen</_name>
 			<property-dialog service-id="docbook-generic-node-properties"/>
 		</element>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.