Last post by Darkoni - December 01, 2023, 02:18:44 PM
Why insist on an additional colorMode parameter?
The script author knows how he wants to create the color, and will call that function.
Isn't it simpler to have five functions than to call one function with an additional colorMode parameter?
defineColorCMYK("name", c, m, y, k) defineColorCMYKFloat("name", c, m, y, k) defineColorRGB("name", r, g, b) defineColorRGBFloat("name", r, g, b) defineColorLab("name", L, a, b)
defineColor("name", (c, m, y, k), "CMYK" ) defineColor("name", (c, m, y, k), "CMYKFloat" ) defineColor("name", (r, g, b) , "RGB" ) defineColor("name", (r, g, b) , "RGBFloat" ) defineColor("name", (L, a, b) , "Lab" )
defineColor("name", ...[, colorModel=None) which would:
create an RGB color when given three values
create a CMYK color when given four values
create a lab color when given three values and colorModel='lab'
colorModel can have three values: cmyk, rgb, lab (and the color model is only automatically picked when no colorModel is specified; if there is a mismatch between the number of values and the model, an exception gets triggered).
such an implementation would be compatible with the existing function and, i think, by default do what most (or evern every) user expects.
but your proposition is also a good one (if indeed all "similar" functions do indeed the same thing)!
Hi, in Poland we have a rule, which i couldn't find english translation for. It is considered a mistake to leave single characters at the end of lines. It's fairly common as many conjugations are single letter words.
Example: Byliśmy z moją mamą na zakupach w lidlu, moim ulubionym sklepie
Should be Byliśmy z moją mamą na zakupach w lidlu, moim ulubionym sklepie
It's our national custom to search and replace all spaces to nonbreaking for all of the possible single character words in polish, but it would be great if scribus gave an option to just tick a box in edit>styles to automatically break the line before those words.
Last post by obergeau - November 30, 2023, 10:43:51 AM
Dear AdmFubar Thanks for getting back to me.
We started out with a template a long time ago but have only been upgrading the sla files and not the template.
in order to test our changes to the sla upgrades I just run 4 or 5 days at a time because to run the whole year takes 15 minutes so with the short runs we never encountered an of the long run crash problems.
I am a very newbee re scibus but am basically sefl taught.
I can send you the files. I'll try to send you a typical sla file and csv file but you will need the other image files . I"ll try to do this using this dialogue box I noticed the icons above this text box