[scribus-dev] Gettext plugin for XPress Tags import

Jain Basil Aliyas jainbasil at fedoraproject.org
Tue Jul 21 21:34:09 CEST 2009


Hi,

2009/7/21 Louis Desjardins <louis.desjardins at gmail.com>

> 2009/7/20 Thomas Zastrow <listen at thomas-zastrow.de>
>
>> Louis Desjardins schrieb:
>> >
>> >
>> >     How should we handle name collisions?
>> >     - keep original Scribus style
>> >     - redefine Scribus style with new attributes
>> >     - create new Scribus style with a different name
>> >     - always prefix all imported styles to keep them separated from
>> >     normal Scribus styles
>> >
>> >
>> > Well... Keep original is a must, imo. Create a new Scribus style with
>> > a different name seems a good solution.
>>
>> Hhmm, what happens, if someone tries to import more than one XTagged
>> file with the same styles (-names)? I think, this would be an absolutely
>> usual operation: importing XTagged text number 1 with a style called
>> "xyz" and then trying to import another XTagged file 2 which also
>> contains a style "xyz"?
>>
>>
>> Perhaps here is user interaction necessary: Should the style a) replaced
>> b) ignore "xyz" from the new file?
>
>
> In this case I would suggest that Scribus automatically adds a number
> version to that style. So "xyz-1" and "xyz-2" and so on. This way, all the
> styles bearing the same name will appear grouped in the list. Then it is up
> to the user to sort this out. Does that make sense? I acknowledge that the
> style actually applied to a paragraph would have its name changed as well...
> Maybe not as easy to do as it seems but the programmers will tell us that!
> ;-)
>

I'd prefer the method said below, so that we may give a Dialog where user
can choose whether Scribus should replace the style or ignore it or give an
option for the user to rename the style so as to avoid collisions ! I'd like
to hear more opinion from the developers !

>
> One other way would be to simply warn the user about the existence of those
> styles only if Scribus detects that there are differences in the settings of
> those styles. If the styles have the same name and are identical, then no
> need for a warning. It may well happen that the texts to import would have
> been structured using identical styles from one text document to another.
>
> Then:
>
> a) replace by existing style
> b) ignore style
> c) add and change name to... (with a default suggestion of xyz+number)
>
> Cheers!
>
> Louis
>
>>
>>
>> Best,
>>
>> Tom
>>
>>
>> _______________________________________________
>> scribus-dev mailing list
>> scribus-dev at lists.scribus.net
>> http://lists.scribus.net/mailman/listinfo/scribus-dev
>>
>
>
>
>
> _______________________________________________
> scribus-dev mailing list
> scribus-dev at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus-dev
>
>
Greetings

Jain Basil Aliyas

-- 
Student,
Department of Computer Science & Engineering
Govt. Engineering College, Thrissur.
Kerala, India

http://jainbasil.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20090722/d33d2fda/attachment.htm>


More information about the scribus-dev mailing list