- From: Jelks Cabaniss <jelks@jelks.nu>
- Date: Fri, 27 Nov 1998 11:20:07 -0500
- To: <www-style@w3.org>
> Jelks Cabaniss wrote:
> >
> > In some books I've seen sections that start with the first (say)
> four words in
> > small caps. Is there any plan for this capability in CSS? Something like
> >
> > p:first-words(4) { font-variant: small-caps }
>
> Correction : In some books in english or languages using latin scripts...
>
> So Jelks, what is a word ? Where starts and stops a word ? Is
>
> " s'is " in yiddish
> or " l'été " in french
>
> made of 1 or 2 words ? Is " plate-forme " in french made of two
> words or is it a compound word ?
>
> In asiatic languages that don't have punctuations, where starts and
> stops a word ?...
You're right in the true sense of "word", but I mean't "word" in the loose sense
of "characters surrounded by whitespace". Or, the Perlish:
\s+(\S+)\s+
where the parenthetical expression is "a word".
/Jelks
Received on Friday, 27 November 1998 11:20:59 UTC