Quotes in stats

Jean-Pierre Chrétien jeanpierre.chretien at free.fr
Mon May 8 16:06:48 UTC 2023


Le 08/05/2023 à 15:45, Pavel Sanda a écrit :
> On Mon, May 08, 2023 at 03:21:05PM +0200, Jean-Pierre Chrétien wrote:
>> So, it is clear that the French guillemets counts for 2 characters (one if
>> blanks excluded),
> 
> Well, I would presume that even if we output space, it's sort of typographic
> adjustment and not blank as a character but as you wish, I can easily return
> 2 chars instead of 1 for guillemets.

In fact, it is a thin space...

> What libreoffice/word think about this situation?

libreoffice finds 34 words instead of 28, ,which I do not understand. 
EWhenounting the number of characters excluding blanks, it finds 249 instaed of 
247...

> 
>> but for the : ; ? and ! characters, it would be necessary
>> to count 2 characters if the punctuation sign is not preceded by a blank.
> 
> This is getting more tricky, because we generaly do look on the context when we
> counting the characters (except of catching blanks/.?/etc around words).

In that case too, the blank character si a thin space.

-- 
Jean-Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ponctuation.odt
Type: application/vnd.oasis.opendocument.text
Size: 9214 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230508/8c186ba2/attachment-0001.odt>


More information about the lyx-devel mailing list