Hi,

I suggest the following patch to have the entity   when a protected
space is used:

--- insets/insetspecialchar.C.old Tue Sep  4 13:02:07 2001
+++ insets/insetspecialchar.C.new Fri Oct 19 15:43:59 2001
@@ -271,7 +271,16 @@

 int InsetSpecialChar::docbook(Buffer const * buf, ostream & os) const
 {
- return ascii(buf, os, 0);
+ int rc = 0;
+
+ switch (kind_) {
+ case PROTECTED_SEPARATOR:
+  os << "&nbsp;";
+  break;
+ default:
+  rc = ascii(buf, os, 0);
+ }
+ return rc;
 }


Something else: shouldn't the <artheader> tag changed to <articleinfo>
to be compliant to the DocBook DTD 4.x?

BG

Reply via email to