Re: speaking of spaces and formatting....

Subject: Re: speaking of spaces and formatting....
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Tue, 25 Aug 1998 06:40:24 -0400
/ Paul Prescod <papresco@xxxxxxxxxxxxxxxx> was heard to say:
| Adam P. Harris wrote:
| > 
| > 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 parsing is correct. That space is really part of the data of your
| document (unlike some other spaces, in other contexts). You can remove it
| in a DSSSL spec by using process-children-trim instead of
| process-children. You can debate with other users of the DocBook

Ah, yes.  Thanks, Paul.  I forgot it was that easy.  Ok, so I
went back through the changelogs looking for when I removed
process-children-trim and found:

  Replaced all the occurances of (process-children-trim) with
  (process-children) in inlines (I suspect this is needed
  elsewhere too).  Consider: "this <emphasis>is </emphasis>a
  test".

But now I think that paragraphs _ought_ to use process-children-trim.
Any disagreement?

| stylesheet whether the use of process-children instead of the -trim
| version is a bug or not...maybe some people want to start their paragraphs
| with whitespace.

This would be the only thing that you'd loose, but you could still say

  <para><phrase>     </phrase>My paragraph with leading whitespace</para>

if you were so inclined.

                                        Cheers,
                                          norm
-- 
Norman Walsh <ndw@xxxxxxxxxx>      | All the labors of the ages, all
http://nwalsh.com/                 | the devotion, all the inspiration,
                                   | all the noonday brightness of
                                   | human genius, are destined to
                                   | extinction--Bertrand Russell


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


Current Thread
  • speaking of spaces and formatting....
    • Adam P. Harris - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id VAA25449Mon, 24 Aug 1998 21:22:01 -0400 (EDT)
      • Paul Prescod - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id AAA03955Tue, 25 Aug 1998 00:14:18 -0400 (EDT)
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA16677Tue, 25 Aug 1998 06:40:55 -0400 (EDT) <=
          • 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)