Re: Script for (french) thin typographic spaces

Victor / tokiop <[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
Le 02/06/2020 à 18:09, JLuc a écrit :
> Le 02/06/2020 à 14:57, Victor / tokiop a écrit :
>> Utf8 and regex is a bit tricky, not sure it is optimal as is, but thin space is correctly replaced before "»", which is not the case if utf8/regex is messed up.
> 
> AMOF Autoquotes script also manages spaces around " and « and »
> but it's interesting to read how you do so using regexps rather than parsing.

Regexes can be very handy but getting and filling all the text at once looses the styling, Autoquote parses character by character, it might allow to keep a better track of styling.

> What misses is adding (or changing spaces into) thin non breakable spaces before ! ; ? :
> and after some glyphs also.

Thanks I did'nt know/check that, maybe the best way to handle it would be to add a thin-space option/default, to Autoquote for language for which it is relevant ?



___
Scribus Mailing List: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.