Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-10 Thread M. Wroth
Indeed not: the DSSSL spec describes input-whitespace-treatment as a characteristic of characters, and doesn't discuss declare-initial-value at all. I deduce from its behavior that declare-initial-value sets a characteristic that will be inherited by all element rules unless overridden by a more s

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-09 Thread Dave Pawson
At 05:09 AM 5/10/01, M. Wroth wrote: >I asked this question on the DSSSList, and Daniel Speck <[EMAIL PROTECTED]> suggested >that it may be as simple as setting > >(declare-initial-value input-whitespace-treatment 'collapse) > >While at this point in my education, this is a pure magic incantatio

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-09 Thread M. Wroth
I asked this question on the DSSSList, and Daniel Speck <[EMAIL PROTECTED]> suggested that it may be as simple as setting (declare-initial-value input-whitespace-treatment 'collapse) While at this point in my education, this is a pure magic incantation, it appears to work.  I also note that this

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-09 Thread Norman Walsh
/ Norman Walsh <[EMAIL PROTECTED]> was heard to say: | Even if I use the RTF backend, I still get the spaces: | | {\rtf1\ansi\deff0 Oops. If I use the print stylesheet, the spaces do go away. This must be a feature of the RTF backend. Be seeing you,

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-09 Thread Norman Walsh
/ "M. Wroth" <[EMAIL PROTECTED]> was heard to say: [...] | Norman then asks | | >So I'm still confused about what special processing you see being | >applied to spaces. | | When I do the equivalent with DocBook and the Modular DSSSL style | sheets, spaces are not preserved, and I'm trying to fig

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-09 Thread M. Wroth
In reply to my example of a non-DocBook example that behaves differently than DocBook: At 09:12 AM 5/9/01 -0400, Norman Walsh wrote: / "M. Wroth" <[EMAIL PROTECTED]> was heard to say: | Here is an example of content: | |   It is not permissible under the Society's rules to |   fim

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-09 Thread Norman Walsh
/ "M. Wroth" <[EMAIL PROTECTED]> was heard to say: | Here is an example of content: | | It is not permissible under the Society's rules to | fimbriate a chief. Laurel precedent (Laurel Alison, Dec 86 | and Aug 88) however this is blazoned, in appearance it |

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-08 Thread M. Wroth
Norman asked, in reply to my question: At 12:53 PM 5/8/01 -0400, you wrote: / "M. Wroth" <[EMAIL PROTECTED]> was heard to say: | Hmmm.  The behavior I asked about was the "normalization" (possibly | not the right word) of spaces  in element content (specifically, | although not limited to, elemen

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-08 Thread Norman Walsh
/ "M. Wroth" <[EMAIL PROTECTED]> was heard to say: | Hmmm. The behavior I asked about was the "normalization" (possibly | not the right word) of spaces in element content (specifically, | although not limited to, elements), in the SGML version of | DocBook processed with the Modular DSSSL Style

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-08 Thread M. Wroth
Hmmm.  The behavior I asked about was the "normalization" (possibly not the right word) of spaces  in element content (specifically, although not limited to, elements), in the SGML version of DocBook processed with the Modular DSSSL Style Sheets. I observe that multiple whitespace characters (new

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-08 Thread Jirka Kosek
Eric Richardson wrote: > Maybe somebody can comment on whitespace since I have mouthed off > without thinking first and passed off such lousy advice. In XML whitespaces are normalized only in attribute values. Not in element content. In XSLT you can normalize spaces manualy using normalize-space(

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-07 Thread Eric Richardson
"M. Wroth" wrote: > > At some level, it has to be controllable; other applications do not exhibit > this behavior. So it may be a function of the DTD or SGML declaration. H > > At 03:01 PM 5/7/01 -0700, Eric Richardson wrote: > >"M. Wroth" wrote: > > > > > > That is the effect -- what I do

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-07 Thread Eric Richardson
Dave Pawson wrote: > > At 05:29 AM 5/7/01, M. Wroth wrote: > >Can someone give me a quick pointer to how the effect of taking an > >arbitrary number of whitespace characters in the document and normalizing > >them into a single space character is achieved? The specific example is > >the treatmen

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-07 Thread M. Wroth
That is the effect -- what I don't see is how it's accomplished. At 06:50 AM 5/7/01 +0100, Dave Pawson wrote: >At 05:29 AM 5/7/01, M. Wroth wrote: > >Can someone give me a quick pointer to how the effect of taking an > >arbitrary number of whitespace characters in the document and normalizing > >

Re: DOCBOOK-APPS: Normalizing spaces?

2001-05-06 Thread Dave Pawson
At 05:29 AM 5/7/01, M. Wroth wrote: >Can someone give me a quick pointer to how the effect of taking an >arbitrary number of whitespace characters in the document and normalizing >them into a single space character is achieved? The specific example is >the treatment of whitespace in a (and ot

DOCBOOK-APPS: Normalizing spaces?

2001-05-06 Thread M. Wroth
Can someone give me a quick pointer to how the effect of taking an arbitrary number of whitespace characters in the document and normalizing them into a single space character is achieved? The specific example is the treatment of whitespace in a (and other) element in the DocBook DTD process