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: scribus@lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net

Reply via email to