View Issue Details

IDProjectCategoryView StatusLast Update
0012071ScribusScripterpublic2015-02-23 19:11
Reporterchristoph_s Assigned Togpittman  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSOpenSUSE 64 BitOS Version13.1
Product Version1.4.3 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012071: Autoquote script fails when the second quotation mark is placed before a line break.
DescriptionIf a word in quotation marks is placed before a line break, the Autoquote script replaces the right quotation mark with a left quotation mark.

Examples:

"name"[line break] becomes ``name`` instead of ``name'' in US English; ,,name'' in German becomes ,,name,,.
TagsNo tags attached.
PatchNo

Activities

JLuc

2014-02-17 09:46

developer   ~0031333

Last edited: 2014-02-17 09:48

This issue doesnt happen with the version i have fixed and improved.

- This new version is hardened as with choosing to open or close the marks
- It can add or replace spaces inside « and » (or “ and ” etc). User chooses whether he wants normal, non breaking, thin or non breaking narrow spaces
- It provides dialogs in english and french

I upload file. Its named 'spacenquotes'.

JLuc

2014-02-17 09:48

developer  

gpittman

2014-02-17 16:54

developer   ~0031334

Let me play with this a bit.
My initial reaction is that maybe this should be added as another script rather than replacing Autoquote. It might make some sense to have this be the default or recommended choice for those using French, in which case its default language should be French.
English, or at least American English, doesn't use spaces between quotes and their associated text. I also think that a quote followed by a linebreak is an unusual circumstance. I minor tweak to the original Autoquote might fix this.
Personally, I like scripts that are quick and offer no more choices than necessary. There may also be an issue with the choice of a thin nonbreaking space if the desired font does not include this.
Having said this, I am quite aware that the Autoquote script is rather clumsy Python.

gpittman

2014-02-17 16:59

developer   ~0031335

An added thought here is that maybe we should consider what it might take to modify fonts to add thin nonbreaking spaces (of course respecting various licenses).
This would presumably be some script or process outside of Scribus. Fodder for LGM 2014.

gpittman

2014-03-09 19:28

developer   ~0031484

After some testing, have added this to 1.5.0svn.

Some spelling/typographic errors in English were fixed.

Issue History

Date Modified Username Field Change
2014-02-17 06:48 christoph_s New Issue
2014-02-17 06:48 christoph_s Status new => assigned
2014-02-17 06:48 christoph_s Assigned To => gpittman
2014-02-17 09:46 JLuc Note Added: 0031333
2014-02-17 09:48 JLuc File Added: spacenquotes 2013-10-25 OK.py
2014-02-17 09:48 JLuc Note Edited: 0031333
2014-02-17 16:54 gpittman Note Added: 0031334
2014-02-17 16:59 gpittman Note Added: 0031335
2014-03-09 19:28 gpittman Note Added: 0031484
2014-03-09 19:28 gpittman Status assigned => resolved
2014-03-09 19:28 gpittman Resolution open => fixed
2014-03-09 19:29 gpittman Status resolved => closed
2014-07-03 04:51 Kunda Target Version 1.5.0 => 1.6 milestone
2015-02-23 19:06 Kunda Patch => No
2015-02-23 19:06 Kunda Target Version 1.6 milestone => 1.5.0
2015-02-23 19:11 Kunda Fixed in Version => 1.5.0svn