Re: speaking of spaces and formatting....

Subject: Re: speaking of spaces and formatting....
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Tue, 25 Aug 1998 11:52:40 -0400 (EDT)
At 24 Aug 1998 21:19 -0400, Adam P. Harris wrote:
 > I have a question.  I'm using docbook-stylesheets and jade.  I've
 > noticed, with the RTF backend, that
 > 
 >   <para>Text
 > 
 > does not mark up the same as
 > 
 >   <para>
 >   Text
 > 
 > Namely, in the latter case, the RTF has a space (" ") kinda indenting
 > the first word of the sentance ("Text").
 > 
 > Is this a bug in the SGML parsing?  A bug in docbook-stylesheets?  Or
 > proper behavior?  Do I really have to make sure that text follows
 > <para> tags without any space?

The Record End immediately after the start tag should be ignored by
the parser, and it should not appear in the output, even as a space
character.  If you can, see section 7.6.1 of ISO 8879, section 2.5 of
the SGML FAQ Book, or page 27 of the Concise SGML Companion.

I've tried processing the equivalent of your second example, and it
came out okay.  Is is possible that you had a space after the <para>
tag or that the document was authored under a different operating
system that used a different character sequence to indicate ends of
lines?

Regards,


Tony Graham
======================================================================
Tony Graham                            mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Re: speaking of spaces and formatting...., (continued)
        • Adam P. Harris - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA05370Tue, 25 Aug 1998 12:22:28 -0400 (EDT)
    • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA16541Tue, 25 Aug 1998 06:36:07 -0400 (EDT)
      • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA02705Tue, 25 Aug 1998 12:00:42 -0400 (EDT)
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA05237Tue, 25 Aug 1998 12:19:34 -0400 (EDT)
    • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA02500Tue, 25 Aug 1998 11:55:53 -0400 (EDT) <=
      • Adam P. Harris - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id QAA15646Tue, 25 Aug 1998 16:24:55 -0400 (EDT)
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA18363Tue, 25 Aug 1998 17:27:02 -0400 (EDT)