[Ipe-discuss] Changing the default color

Zhengdao Wang zhengdao at iastate.edu
Sun Aug 20 21:56:43 CEST 2017

These options pertain to the default Ipe behavior, and there are many 
other options besides pen color, such as those under Properties, and 
some under Snap. It is hard to say whether these options belong to the 
documents or the GUI. The documents don't necessarily need them, but 
it would be convenient to have a set of default options for each 
document. In either case, including the options in a loadable style 
file rather than ipelet .lua file seems to be a more flexible 

Maybe a new element can be introduced, such as

<guioption name=... value= ...>

where name can be say, pencolor, and value can be say, black.

This syntax is centralized, where all default options can be put 
together. Also it is backward compatible.

However it is implemented, being able to config would be highly 
desirable.  Of course a set of fall back default options can be 
included in the standard style sheet.

Just my 2 cents!


-----Original Message-----
>From: Otfried Cheong via Ipe-discuss <ipe-discuss at lists.science.uu.nl>
>Date: Sun, 20 Aug 2017 11:41:57 +0200
>To: ipe-discuss at lists.science.uu.nl
>Subject: Re: [Ipe-discuss] Changing the default color
>It currently is not possible, but it's been on my todo list for a long
>time.   Any suggestion for how it should work?
>My current thinking is to add an option to the <color> element in the
>style sheet, perhaps  just 'default="yes"'.
>  Otfried
>On Fri, Aug 18, 2017, at 20:59, Raed Mohsen via Ipe-discuss wrote:
>> Hi,
>> Is there a way to change the default color ?
>> By default, it is black. Can I change to a different color for any new
>> file?
>> Regards
>> _______________________________________________
>> Ipe-discuss mailing list
>> Ipe-discuss at lists.science.uu.nl
>> https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss
>Ipe-discuss mailing list
>Ipe-discuss at lists.science.uu.nl

More information about the Ipe-discuss mailing list