Re: Script for (french) thin typographic spaces

JLuc <[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
Thanks for your feedback Martin.

I changed the dialog string as proposed.

As for your very-thin space wishes,
I dont plan to add an option to tweak the kerning of non breaking thin spaces.
But once autotypo is applyed, it'll be easier for you :
just look for the inserted thin nbspaces (no regexp required) and replace them.
No false positives, no preview-check'n'confirm required
and you can create a shell script.

JLuc




Le 04/06/2020 à 09:55, ZASKE Martin a écrit :
> Thank you JLuc,
> 
> for sharing your work. I tried out your script with a real text and it
> works nicely.
> 
> I was puzzled by one question that popped up:
> Voulez vous aussi appliquer ce traitement sur les double-guillemets
> français déjà en place ?
> 
> I just had a browse through the code and found the English equivalent,
> which is clearer to me.
> 
> 
> So I submit this wording for your consideration:
> Voulez vous aussi appliquer votre choix d'espaces sur les
> double-guillemets français déjà en place ?
> 
> 
> Personally, I find the thin-non-breaking spaces supplied with most fonts
> rather wide. When used for French typography with the punctuation, it
> gives very harsh results, especially where justification "makes it worse".
> 
> Just grabbed a few contemporary commercial books in French and was
> surprised that indeed, those are just the same. From memory I thought
> that commercial publications used to be tuned for nicer results.
> 
> 
> Anyway, all this means, that with your tool, Scribus users can produce
> correct French publications with much less manual work than before. Very
> much appreciated.
> 
> 
> Martin
> 
> 
> PS: If you or anybody out there would know how to access the "Manual
> Tracking" as seen in "Advanced Text Settings" for the Scripter API, then
> I might have a go and hack the really useful script for my preference of
> "just a really discreet space".
> 
> 
> 
> 
> On 03.06.2020 00:30, JLuc wrote:
>> 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: [email protected]
>>> Edit your options or unsubscribe:
>>> http://lists.scribus.net/mailman/listinfo/scribus
>>> See also:
>>> http://wiki.scribus.net
>>> http://forums.scribus.net
>>>
>>
>>
>>
>> ___
>> 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
> 
> 



___
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.