[scribus] Script for (french) thin typographic spaces

Gregory Pittman gpittman at iglou.com
Tue Jun 2 18:54:27 UTC 2020


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




More information about the scribus mailing list