[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Add extra horizontal space after each sentence in a paragraph
[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 > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]