Re: Script for (french) thin typographic spaces

Gregory Pittman <gpittman-s/[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
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: [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.