[Ipe-discuss] Setting default style sheets

Otfried Cheong otfried at ipe.airpost.net
Fri Jan 8 02:31:56 CET 2010

Norbert Zeh wrote:
> I'm trying to replace the "basic" stylesheet with one of my own by
> default for all my documents.  Since it's the default, I don't want to
> have to do this manually for every document.  What I did is create my
> own prefs.lua in my personal ipelets directory.  Currently it looks very
> simple:
> prefs.max_zoom = 10
> prefs.styles = { "nzeh_monochrome" }
> A file called nzeh_monochrome.isy is present in ipe's styles directory,
> and when I select Help->Show configuration, I see that nzeh_monochrome
> is listed as the style for new documents.  

And indeed you are doing everything right.  There is a bug in 
"main.lua", in that ipelets are loaded after the configuration has been 

I'm attaching a patch, to be applied in the "lua" directory.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipe.patch
Type: text/x-patch
Size: 1899 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20100108/03bbbb4b/attachment.bin 

More information about the Ipe-discuss mailing list