[scribus] Script for (french) thin typographic spaces

JLuc jluc at no-log.org
Tue Jun 2 21:30:27 UTC 2020


So here is a new script dealing with basic french typo rules about double signs
https://github.com/JLuc/autotypo/blob/master/autotypo.py

It's an enhancement of autoquote2 and also deals with quotes

JLuc


Le 02/06/2020 à 20:54, Gregory Pittman a écrit :
> On 6/2/20 2:29 PM, JLuc wrote:
>> Le 02/06/2020 à 19:32, Gregory Pittman a écrit :
>>> On 6/2/20 12:09 PM, JLuc wrote:
>>> This has already been solved, with the Autoquote2 script included with Scribus. I even thought it was you that made Autoquote2:
>>> # © 2010.08.28 Gregory Pittman
>>> # © 2013.10.07 Enhancements by Jean-Luc Girard
>>
>> In 2013 allready i longed for a script to tackle *other* basic typographic rules
>> because Autoquotes2 deals only with 3 glyphs : " « and »
>> when french typography requires spaces also for ; ! ? : (double signs and more).
>>
> 
> It's not that hard to adapt the script for other purposes. I used the same logic to create en+emdash.py:
> 
> https://wiki.scribus.net/canvas/En%2Bemdash.py
> 
> What this does is to look for hyphens. If it finds one, it is left alone. Two in row becomes an endash, and three in the row an emdash. It's a much speedier way to use en- and emdashes than entering them one by one from the menu.
> 
> Greg
> 
> 
> ___
> Scribus Mailing List: scribus at 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
> 





More information about the scribus mailing list