This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: [docbook] Add extra horizontal space after each sentence in a paragraph
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "DocBook Apps" <docbook-apps at lists dot oasis-open dot org>, "prasad vara" <bokka_varaprasad at yahoo dot com>
- Date: Mon, 8 Nov 2004 17:57:15 -0800
- Subject: [docbook-apps] Re: [docbook] Add extra horizontal space after each sentence in a paragraph
- References: <20041103155048.97336.qmail@web51506.mail.yahoo.com>
[I'm moving this over to the docbook-apps mailing list which deals with
formatting issues.]
Hi,
There is no stylesheet parameter to do what you want.
You didn't mention whether you were using XSL or DSSSL. I don't think it
matters much, because in either case it is not easy to do what you want.
XSLT, for example, does not parse text as sentences, and neither does
DocBook mark up content by sentence. The stylesheet would have to parse all
the text nodes and try to determine where a sentence ends. Even with good
string handling capability, that isn't always easy. But XSLT 1.0 has poor
string handling features (XSLT 2.0 will have regular expressions), so I
think this would be hard to accomplish.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "prasad vara" <bokka_varaprasad@yahoo.com>
To: <docbook@lists.oasis-open.org>
Sent: Wednesday, November 03, 2004 7:50 AM
Subject: [docbook] Add extra horizontal space after each sentence in a
paragraph
> Hi,
>
> I need an extra horizontal space after starting of the
> sentence in a paragraph. i.e., I need two whitespaces
> after each starting of the sentence in a paragraph in
> a docbook.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>