View Issue Details

IDProjectCategoryView StatusLast Update
0000577ScribusStylespublic2012-11-13 20:32
Reportermhanski Assigned Tocbradney  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.4cvs 
Fixed in Version1.4.2.svn 
Summary0000577: Paragraph Styles -> Kerning and language options missing
DescriptionThese two options which are available in the "Properties/Text" palette, are missing in the "Paragraph Styles". Generally, it would be good to keep the "Properties/Text" palette and "Paragraph Styles" coherent (due to usability).
TagsNo tags attached.
Patch

Relationships

related to 0001279 feedbacklouisdesjardins Unify settings in Paragraph styles/Properties palette/Text editor 
related to 0002250 closedcbradney Paragraph styles UI needs work 
related to 0003312 feedback Add an option to apply hyphenation from the properties palette 
related to 0003828 acknowledged Metabug: Hyphenation 
related to 0003911 closedavox Enable "forced" hyphenation 
related to 0004572 new Hyphenation styles (mockup included) 
child of 0000111 closedcbradney Scribus Document File format 
child of 0003821 acknowledged Metabug: Usability 

Activities

mhanski

2005-06-07 05:36

developer   ~0004930

Last edited: 2005-07-20 21:26

I still miss the "Language:" option in the paragraph styles.

Apart from being consistent with the Properties palette, setting the language within a style would be good for another reason: the user could define styles like "body_text_german", or "quotation_english" and make sure this way, the the proper hyphenation and spell check rules would be applied. For now, I have to separately define styles and then apply language in the Properties palette, which is a terrible drudgery while working with longer multilingual texts.

louisdesjardins

2005-12-30 13:37

developer   ~0007864

I strongly agree with this.

mhanski

2006-04-13 19:17

developer   ~0009915

Planned in Roadmap Extras http://wiki.scribus.net/index.php/1.3.x_Roadmap_Extras
with no ETA

Changing the status to acknowledged

avox

2006-05-25 18:23

administrator   ~0011467

Of course Language will be a character style attribute...

Any hints how to hyphenate mixed language words?
No hyphenation, or use language of first char, or hyphenate at language changes?

louisdesjardins

2006-05-25 19:22

developer   ~0011468

1. Language in paragraph style is what Quark does. So, in the same text frame, you can handle many languages. This is a must.

2. Language in character style would allow to hyphenate a specific word in another language than the paragraph it is in. I am not aware if Quark or ID have that onboard.

To me number 2 falls in the category of real "fine tuning". If the feature is implemented, it can be useful. At the same time I'd say it could easily become one of the best unknown feature for lots of users!

louisdesjardins

2006-05-25 20:25

developer   ~0011469

FYI just checked with both ID CS2 and Quark 6.5 and there is no language option in the character style for both of them. Language option is only available for the Paragraph Style.

louisdesjardins

2006-05-25 20:30

developer   ~0011470

<begin_quote>
>>>Any hints how to hyphenate mixed language words?
>>>No hyphenation, or use language of first char, or hyphenate at language changes?
<end_quote>

I guess the default settings for language would be what Scribus grabs at launch. Then it is up to the user to set the language according to the needs.

Not sure if this answer actually helps you.

mhanski

2006-05-25 21:41

developer   ~0011471

<begin_quote>
>>>Any hints how to hyphenate mixed language words?
>>>No hyphenation, or use language of first char, or hyphenate at language changes?
<end_quote>

I would opt for no hyphenation for mixed language words. I would consider such mixed language words as user faults and treat them as "no language assigned" cases.

mkoren

2006-05-26 16:13

reporter   ~0011476

>>>I would consider such mixed language words as user faults and treat them as "no language assigned" cases.

Is it not possible to have "word-level" properties, that can only be applied at a per-word granularity? It seems ugly to have a property that can be applied incorrectly to part of a word when that intrinsically doesn't make sense. A word would seem to be, practically speaking, the smallest unit which can meaningfully have a language attribute.

avox

2006-05-26 16:36

administrator   ~0011477

> Is it not possible to have "word-level" properties, that can only be applied at a per-word granularity?
> It seems ugly to have a property that can be applied incorrectly to part of a word when that
> intrinsically doesn't make sense.

Per word properties would be too much hassle to implement. I'll probably just take the first char's
language attribute as tht for the whole word -- I guess users will find out quickly enough if there
should be problems.

> A word would seem to be, practically speaking, the smallest unit which can meaningfully have
> a language attribute.

In doubt that could be a single char.

mhanski

2006-05-26 17:19

developer   ~0011481

avox, do you plan "Language" as an _paragraph_ style attribute too, as requested in this RFE? If yes, which one should prevail in doubt: character style, paragraph style, or the last applied?

avox

2006-05-26 18:37

administrator   ~0011483

As with other char attributes:

an explicitly set charattribute has precedence over par attributes.
not explicitly set charattributes take their defaults from parstyle, automatically update if parstyle is changed.

applying a *named* parstyle will overwrite charattributes if these charattributes are explicitly set in the named parstyle.

At least that's my current plans. We'll have to check out how it works in practice.

mkoren

2006-05-26 19:33

reporter   ~0011484

>>>Per word properties would be too much hassle to implement.

Correct me if I'm wrong, just a thought here....

It seems to me a paragraph style is not much more than a character style that snaps to paragraph boundaries and sets the defaults for that paragraph. What if the application of a style could snap to user-defined boundaries (which could be either paragraphs or words, e.g.)? There wouldn't actually have to be a different kind of style, just selectable granularity.

But only styles with a granularity of at least a word could set language, and only styles with a granularity of at least a paragraph could set properties like vertical before/after spacing and the like.

louisdesjardins

2006-05-26 20:00

developer   ~0011486

After reading the last posts, I can only come to conclusion it is not a good idea to introduce language at char style level.

Language belongs to paragraph styles.

Language choice is for hyphenation only anyways. If someone needs a word to be hyphenated another way than in the current language it is better to implement a feature like "hyphenation exception" to handle those cases.

Hope that helps!

mkoren

2006-05-26 21:01

reporter   ~0011488

What if there were just one kind of style, instead of separate style types for character, paragraph, etc.? One of the properties of the style could be the smallest unit to which it could be applied--character, word, line, paragraph, etc.

Each text attribute in the DTD would then be assigned a minimum granularity of style that would be able to set that attribute, and would be disabled for a style if a smaller granularity is selected (e.g., a style that can be applied to individual characters can't set line spacing or language).

This would work well with the "first n..." feature in 0000363: a style could specify different attributes or named styles for the first n of any smaller granularity unit. So the first line of a paragraph of style A could have line style B, which in turn applies word or character style C to its first four words:

CCCC CCCC CCCCC
AAAAA AAA AA AAA A
AAA AA.

CC C CCC CC BB BBB
AAA AA ... :)

avox

2006-05-26 21:21

administrator   ~0011489

That sounds too complicated to me. Anyway, even the styles applied to the first words/lines of a paragraph would still be charstyles.

And some attributes just make sense only on paragraph level, eg. indentation or alignment.

So far word granularity is only in question for Language, and it's just too much work to implement the necessary code for that.

mhanski

2006-10-23 06:59

developer   ~0013107

Last edited: 2006-10-23 07:12

hmm, I've just noticed that the "Language" setting in the "Properties" palette is no longer available! This and the missing language setting in "Paragraph Styles" deprives me of the possibility to have bilingual/multilingual, hyphenated text frames in one Scribus document. 1 Scribus document == 1 language? If it stayed this way, I'd consider it a major regression.

Edited 5 minutes later: OK, I should have noticed the "Language" setting in "Character Styles". Still not convinced, why we shouldn't have "Language" at "Paragraph Styles" (to be overriden by Char Styles setting) level and in the Propoerties Palette (which would overwrite para and char styles)?

louisdesjardins

2006-10-23 14:11

developer   ~0013108

I agree with mhanski. The language settings is confusing at the moment.

Testing Style Manager with 1.3.4 cvs 21 oct. 06. I didn't put too much energy into this because I know Tsoots is working on it at the moment. But I think it is worth to pursue the discussion.

I will not discuss the Paragraph Style dialog which will go away.

In the Style Manager, we can create a Paragraph Style. When in that dialog we have a General tab and a Character Style tab (can't remember if we have a 3rd tab there, and don't have that CVS on my office Mac). I find the name of this Character Style tab confusing because what it actually allows to set is the character parameters of the Paragraph Style. Obviously, from that stand point, "Language" has to be there. But can one say this is part of a "Character Style"? I'd say no.

So, is it the name of the tab into the Paragraph Style dialog of the Style Manager that is the problem? I think so.

Because at the same time, we also have a Character Style which can be set through the Style Manager, along with a Line Style... and probably more to come.

I find this confusing. I know the Paragraph Style dialog was a bit crowded and this is the reason why it is now splitted into different tabs. Could we possibly think of renaming the "General" tab to "Space settings" and the other "Character Settings" or something that would at least tell the user that the 2 tabs complete each other?

Also, I do think (and I insist!) that "Language" is part of a paragraph option. It could be left like it is in the actual "Character Style" of Paragraph Style (I am getting confused myself writing this because of that tab name).

And, as "Language" in that case is for hyphenation, we might be well inspired to name this submenu "Hyphenation Language" instead of "Language". This would clear any confusion any user might have regarding this feature. :)

mhanski

2006-10-23 14:31

developer   ~0013110

Louis, just a side note: we don't know, if there won't be some other language relevant tools (spellchecking, thesaurus) in the future, simple " Language" and a nice tooltip would be the safer option than "Hyphanetation language".

louisdesjardins

2006-10-23 14:42

developer   ~0013111

Maciej, I understand but how does an eventual Spellchecker (or Thesaurus or any such "content" or "editorial" editing tool) relates to a Style? Isn't it something totally different that we would not want to see into that dialog anyway?

What I think is just not adding to confusion with for instance the GUI language because it is important to note that those can be different. And it also have the advantage of giving users the hint that different styles with different hyphenation languages can co-exist into one document, one text frame.

mhanski

2006-10-23 15:21

developer   ~0013112

Last edited: 2006-10-23 15:29

<quote>Maciej, I understand but how does an eventual Spellchecker (or Thesaurus or any such "content" or "editorial" editing tool) relates to a Style? Isn't it something totally different that we would not want to see into that dialog anyway?</quote>

No, you misunderstood, it seems, I hadn't been clear enough. Only the "Language" relates to styles, and there shouldn't be anything about "Hyphenation language" or "Spellechecking language" in this dialog -- you'd assign the "Language" to a para style, that's it. If the Scribus team decided to add new tools to the "Extras" menu, such as Spellchecking or Thesaurus, these tools would rely on the language setting too, not only the hyphenation tool. That's why I'm against renaming the "Language" setting to "Hyphenation language".

Issue History

Date Modified Username Field Change
2004-05-02 17:38 mhanski New Issue
2005-05-25 11:17 mhanski Relationship added related to 0001279
2005-06-06 20:52 fschmid Status new => resolved
2005-06-06 20:52 fschmid Fixed in Version => 1.3.0cvs
2005-06-06 20:52 fschmid Resolution open => fixed
2005-06-06 20:52 fschmid Assigned To => fschmid
2005-06-07 05:36 mhanski Status resolved => feedback
2005-06-07 05:36 mhanski Resolution fixed => reopened
2005-06-07 05:36 mhanski Note Added: 0004930
2005-07-20 21:26 mhanski Note Edited: 0004930
2005-07-20 21:30 mhanski Relationship added related to 0002250
2005-10-08 23:33 mhanski Relationship added child of 0000111
2005-12-27 16:47 mhanski Product Version => 1.3.2cvs
2005-12-30 13:37 louisdesjardins Note Added: 0007864
2006-01-15 21:51 plinnell Product Version 1.3.2cvs => 1.3.3cvs
2006-04-02 11:25 mhanski Product Version 1.3.3cvs => 1.3.4cvs
2006-04-13 19:17 mhanski Note Added: 0009915
2006-04-13 19:17 mhanski Status feedback => acknowledged
2006-04-13 19:19 mhanski Status acknowledged => assigned
2006-05-02 13:28 mhanski Relationship added related to 0003312
2006-05-15 18:09 christoph_s Relationship added child of 0003821
2006-05-16 21:49 christoph_s Relationship added related to 0003828
2006-05-25 17:45 fschmid Assigned To fschmid => avox
2006-05-25 18:23 avox Note Added: 0011467
2006-05-25 19:22 louisdesjardins Note Added: 0011468
2006-05-25 20:25 louisdesjardins Note Added: 0011469
2006-05-25 20:30 louisdesjardins Note Added: 0011470
2006-05-25 21:41 mhanski Note Added: 0011471
2006-05-26 16:13 mkoren Note Added: 0011476
2006-05-26 16:36 avox Note Added: 0011477
2006-05-26 17:19 mhanski Note Added: 0011481
2006-05-26 18:37 avox Note Added: 0011483
2006-05-26 19:33 mkoren Note Added: 0011484
2006-05-26 20:00 louisdesjardins Note Added: 0011486
2006-05-26 21:01 mkoren Note Added: 0011488
2006-05-26 21:21 avox Note Added: 0011489
2006-06-13 01:54 christoph_s Relationship added related to 0003911
2006-10-23 06:59 mhanski Note Added: 0013107
2006-10-23 07:12 mhanski Note Edited: 0013107
2006-10-23 14:11 louisdesjardins Note Added: 0013108
2006-10-23 14:31 mhanski Note Added: 0013110
2006-10-23 14:42 louisdesjardins Note Added: 0013111
2006-10-23 15:21 mhanski Note Added: 0013112
2006-10-23 15:29 mhanski Note Edited: 0013112
2006-11-21 14:44 christoph_s Relationship added related to 0004572
2012-10-15 20:22 cbradney Status assigned => resolved
2012-10-15 20:22 cbradney Fixed in Version 1.3.0cvs => 1.4.2.svn
2012-10-15 20:22 cbradney Resolution reopened => fixed
2012-10-15 20:22 cbradney Assigned To avox => cbradney
2012-11-13 20:32 cbradney Status resolved => closed