Well, I have also tried to put my new inset in the Local layout of the document. Then it appeared as a possibility in the Insert/ Custom insets menu.
I have inserted it using this menu and it does exactly what I want (inserts an inline command), and it compiles without any problem, putting the results of the computations in the final PDF document (the roots of a second order equation). Now, I have deleted it again from the local layout. The instructions corresponding to the inset remained in my document and they continue to compile, but I cannot introduce new instances of this inset (it disappeared again from the Insert menu). What I have in my module is: InsetLayout sagecommand LyXType custom LabelString Sage LatexType command LatexName sage Decoration classic PassThru 1 Font Color magenta Family Typewriter EndFont MultiPar false OptionalArgs 0 End (I also attach the full module file to this mail - you can see that there are both an inset and a style corresponding to the \sage command, but deleting the style does not solve my problem anyway, I have tested it) How can I make them appear in the menu ? What am I missing here? This module is installed as ~/Library/Application Support/ Lyx-2.0/layouts/sage.module I have reconfigured Lyx several times and relaunched it to be sure that it gets the new version of the module... It seems to get it, since, if I delete an environment from the module, my test file suffers from and indicates it as missing. Sorry for bothering you but I feel that I am touching the solution and would like to get there with your help. Best regards, Murat -- Prof. Murat Yildizoglu Université Montesquieu Bordeaux IV GREThA (UMR CNRS 5113) Avenue Léon Duguit 33608 Pessac cedex France [email protected] http://yildizoglu.info http://www.twitter.com/yildizoglu
sage.module
Description: Binary data
