|
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: speaking of spaces and formatti, Paul Prescod | Thread | Re: speaking of spaces and formatti, Adam P. Harris |
| Re: speaking of spaces and formatti, Norman Walsh | Date | Re: Read non-SGML files with DSSSL, Norman Walsh |
| Month |