Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
I should not get too much inspired from FixME it seems, since what seems to
work for this module does not for mine.

Following the documentation in a more strict manner + some inspiration from
the beamer module (not the simplest one ;-)  ), has allowed me to solve my
problem fro the inset. The version that works is the following:

InsetLayout Flex:sagecommand
LyXType   custom
LabelString   Sage
 LatexType command
LatexName sage
Decorationclassic
 PassThru  1
Font
  Color   magenta
  Family  Typewriter
EndFont
MultiPar  false
 OptionalArgs  0
End

Now, if I could also solve the problem for the optional arguments of the
\sageplot environment... I continue not to get the Short name option when I
right-click in this environment. My declaration must have a problem and
does not tell to Lyx to get options from the short name.

Can commands get a short name from Lyx?

Style sageplot
LatexType Command
 LatexName sageplot
Category  Sage
OptionalArgs  1
 Align Left
FreeSpacing   1
PassThru  1
 Spellcheck  0
TextFont
  Color   latex
  Family  Typewriter
EndFont
End

Murat


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

http://yildizoglu.info

http://www.twitter.com/yildizoglu


Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Richard Heck

On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:
I should not get too much inspired from FixME it seems, since what 
seems to work for this module does not for mine.


Following the documentation in a more strict manner + some inspiration 
from the beamer module (not the simplest one ;-)  ), has allowed me to 
solve my problem fro the inset. The version that works is the following:


InsetLayout Flex:sagecommand
LyXType   custom
LabelString   Sage
LatexType command
LatexName sage
Decorationclassic
PassThru  1
Font
 Color   magenta
 Family  Typewriter
EndFont
MultiPar  false
OptionalArgs  0
End

Now, if I could also solve the problem for the optional arguments of 
the \sageplot environment... I continue not to get the Short name 
option when I right-click in this environment. My declaration must 
have a problem and does not tell to Lyx to get options from the short 
name.


Can commands get a short name from Lyx?

I think this is a known issue, actually. The problem is that PassThru 
insets/styles/etc do not allow for optional arguments.


If you file a bug about this, I'll try to fix it for 2.0.2.

Richard



Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
Thanks a lot Richard. That would be wonderful.

I would like to do it, but

http://www.lyx.org/trac/wiki/BugTrackerHome

does not seem to answer my calls :-)

Is the track server out of order?

Murat

2011/10/31 Richard Heck rgh...@comcast.net

  On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:

 I should not get too much inspired from FixME it seems, since what seems
 to work for this module does not for mine.

  Following the documentation in a more strict manner + some inspiration
 from the beamer module (not the simplest one ;-)  ), has allowed me to
 solve my problem fro the inset. The version that works is the following:

  InsetLayout Flex:sagecommand
  LyXType   custom
  LabelString   Sage
  LatexType command
  LatexName sage
  Decorationclassic
  PassThru  1
  Font
   Color   magenta
   Family  Typewriter
  EndFont
  MultiPar  false
  OptionalArgs  0
 End

  Now, if I could also solve the problem for the optional arguments of the
 \sageplot environment... I continue not to get the Short name option when I
 right-click in this environment. My declaration must have a problem and
 does not tell to Lyx to get options from the short name.

  Can commands get a short name from Lyx?

   I think this is a known issue, actually. The problem is that PassThru
 insets/styles/etc do not allow for optional arguments.

 If you file a bug about this, I'll try to fix it for 2.0.2.

 Richard




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

h http://myildi.e-jemed.org/ttp://yildizoglu.info

http://www.twitter.com/yildizoglu


Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
Now it worked:

http://www.lyx.org/trac/ticket/7869

2011/10/31 Richard Heck rgh...@comcast.net

  On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:

 I should not get too much inspired from FixME it seems, since what seems
 to work for this module does not for mine.

  Following the documentation in a more strict manner + some inspiration
 from the beamer module (not the simplest one ;-)  ), has allowed me to
 solve my problem fro the inset. The version that works is the following:

  InsetLayout Flex:sagecommand
  LyXType   custom
  LabelString   Sage
  LatexType command
  LatexName sage
  Decorationclassic
  PassThru  1
  Font
   Color   magenta
   Family  Typewriter
  EndFont
  MultiPar  false
  OptionalArgs  0
 End

  Now, if I could also solve the problem for the optional arguments of the
 \sageplot environment... I continue not to get the Short name option when I
 right-click in this environment. My declaration must have a problem and
 does not tell to Lyx to get options from the short name.

  Can commands get a short name from Lyx?

   I think this is a known issue, actually. The problem is that PassThru
 insets/styles/etc do not allow for optional arguments.

 If you file a bug about this, I'll try to fix it for 2.0.2.

 Richard




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

h http://myildi.e-jemed.org/ttp://yildizoglu.info

http://www.twitter.com/yildizoglu


Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
I should not get too much inspired from FixME it seems, since what seems to
work for this module does not for mine.

Following the documentation in a more strict manner + some inspiration from
the beamer module (not the simplest one ;-)  ), has allowed me to solve my
problem fro the inset. The version that works is the following:

InsetLayout Flex:sagecommand
LyXType   custom
LabelString   Sage
 LatexType command
LatexName sage
Decorationclassic
 PassThru  1
Font
  Color   magenta
  Family  Typewriter
EndFont
MultiPar  false
 OptionalArgs  0
End

Now, if I could also solve the problem for the optional arguments of the
\sageplot environment... I continue not to get the Short name option when I
right-click in this environment. My declaration must have a problem and
does not tell to Lyx to get options from the short name.

Can commands get a short name from Lyx?

Style sageplot
LatexType Command
 LatexName sageplot
Category  Sage
OptionalArgs  1
 Align Left
FreeSpacing   1
PassThru  1
 Spellcheck  0
TextFont
  Color   latex
  Family  Typewriter
EndFont
End

Murat


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

http://yildizoglu.info

http://www.twitter.com/yildizoglu


Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Richard Heck

On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:
I should not get too much inspired from FixME it seems, since what 
seems to work for this module does not for mine.


Following the documentation in a more strict manner + some inspiration 
from the beamer module (not the simplest one ;-)  ), has allowed me to 
solve my problem fro the inset. The version that works is the following:


InsetLayout Flex:sagecommand
LyXType   custom
LabelString   Sage
LatexType command
LatexName sage
Decorationclassic
PassThru  1
Font
 Color   magenta
 Family  Typewriter
EndFont
MultiPar  false
OptionalArgs  0
End

Now, if I could also solve the problem for the optional arguments of 
the \sageplot environment... I continue not to get the Short name 
option when I right-click in this environment. My declaration must 
have a problem and does not tell to Lyx to get options from the short 
name.


Can commands get a short name from Lyx?

I think this is a known issue, actually. The problem is that PassThru 
insets/styles/etc do not allow for optional arguments.


If you file a bug about this, I'll try to fix it for 2.0.2.

Richard



Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
Thanks a lot Richard. That would be wonderful.

I would like to do it, but

http://www.lyx.org/trac/wiki/BugTrackerHome

does not seem to answer my calls :-)

Is the track server out of order?

Murat

2011/10/31 Richard Heck rgh...@comcast.net

  On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:

 I should not get too much inspired from FixME it seems, since what seems
 to work for this module does not for mine.

  Following the documentation in a more strict manner + some inspiration
 from the beamer module (not the simplest one ;-)  ), has allowed me to
 solve my problem fro the inset. The version that works is the following:

  InsetLayout Flex:sagecommand
  LyXType   custom
  LabelString   Sage
  LatexType command
  LatexName sage
  Decorationclassic
  PassThru  1
  Font
   Color   magenta
   Family  Typewriter
  EndFont
  MultiPar  false
  OptionalArgs  0
 End

  Now, if I could also solve the problem for the optional arguments of the
 \sageplot environment... I continue not to get the Short name option when I
 right-click in this environment. My declaration must have a problem and
 does not tell to Lyx to get options from the short name.

  Can commands get a short name from Lyx?

   I think this is a known issue, actually. The problem is that PassThru
 insets/styles/etc do not allow for optional arguments.

 If you file a bug about this, I'll try to fix it for 2.0.2.

 Richard




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

h http://myildi.e-jemed.org/ttp://yildizoglu.info

http://www.twitter.com/yildizoglu


Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
Now it worked:

http://www.lyx.org/trac/ticket/7869

2011/10/31 Richard Heck rgh...@comcast.net

  On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:

 I should not get too much inspired from FixME it seems, since what seems
 to work for this module does not for mine.

  Following the documentation in a more strict manner + some inspiration
 from the beamer module (not the simplest one ;-)  ), has allowed me to
 solve my problem fro the inset. The version that works is the following:

  InsetLayout Flex:sagecommand
  LyXType   custom
  LabelString   Sage
  LatexType command
  LatexName sage
  Decorationclassic
  PassThru  1
  Font
   Color   magenta
   Family  Typewriter
  EndFont
  MultiPar  false
  OptionalArgs  0
 End

  Now, if I could also solve the problem for the optional arguments of the
 \sageplot environment... I continue not to get the Short name option when I
 right-click in this environment. My declaration must have a problem and
 does not tell to Lyx to get options from the short name.

  Can commands get a short name from Lyx?

   I think this is a known issue, actually. The problem is that PassThru
 insets/styles/etc do not allow for optional arguments.

 If you file a bug about this, I'll try to fix it for 2.0.2.

 Richard




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

h http://myildi.e-jemed.org/ttp://yildizoglu.info

http://www.twitter.com/yildizoglu


Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
I should not get too much inspired from FixME it seems, since what seems to
work for this module does not for mine.

Following the documentation in a more strict manner + some inspiration from
the beamer module (not the simplest one ;-)  ), has allowed me to solve my
problem fro the inset. The version that works is the following:

InsetLayout Flex:sagecommand
LyXType   custom
LabelString   Sage
 LatexType command
LatexName sage
Decorationclassic
 PassThru  1
Font
  Color   magenta
  Family  Typewriter
EndFont
MultiPar  false
 OptionalArgs  0
End

Now, if I could also solve the problem for the optional arguments of the
\sageplot environment... I continue not to get the Short name option when I
right-click in this environment. My declaration must have a problem and
does not tell to Lyx to get options from the short name.

Can commands get a short name from Lyx?

Style sageplot
LatexType Command
 LatexName sageplot
Category  Sage
OptionalArgs  1
 Align Left
FreeSpacing   1
PassThru  1
 Spellcheck  0
TextFont
  Color   latex
  Family  Typewriter
EndFont
End

Murat


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

http://yildizoglu.info

http://www.twitter.com/yildizoglu


Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Richard Heck

On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:
I should not get too much inspired from FixME it seems, since what 
seems to work for this module does not for mine.


Following the documentation in a more strict manner + some inspiration 
from the beamer module (not the simplest one ;-)  ), has allowed me to 
solve my problem fro the inset. The version that works is the following:


InsetLayout Flex:sagecommand
LyXType   custom
LabelString   Sage
LatexType command
LatexName sage
Decorationclassic
PassThru  1
Font
 Color   magenta
 Family  Typewriter
EndFont
MultiPar  false
OptionalArgs  0
End

Now, if I could also solve the problem for the optional arguments of 
the \sageplot environment... I continue not to get the Short name 
option when I right-click in this environment. My declaration must 
have a problem and does not tell to Lyx to get options from the short 
name.


Can commands get a short name from Lyx?

I think this is a known issue, actually. The problem is that PassThru 
insets/styles/etc do not allow for optional arguments.


If you file a bug about this, I'll try to fix it for 2.0.2.

Richard



Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
Thanks a lot Richard. That would be wonderful.

I would like to do it, but

http://www.lyx.org/trac/wiki/BugTrackerHome

does not seem to answer my calls :-)

Is the track server out of order?

Murat

2011/10/31 Richard Heck 

>  On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:
>
> I should not get too much inspired from FixME it seems, since what seems
> to work for this module does not for mine.
>
>  Following the documentation in a more strict manner + some inspiration
> from the beamer module (not the simplest one ;-)  ), has allowed me to
> solve my problem fro the inset. The version that works is the following:
>
>  InsetLayout Flex:sagecommand
>  LyXType   custom
>  LabelString   Sage
>  LatexType command
>  LatexName sage
>  Decorationclassic
>  PassThru  1
>  Font
>   Color   magenta
>   Family  Typewriter
>  EndFont
>  MultiPar  false
>  OptionalArgs  0
> End
>
>  Now, if I could also solve the problem for the optional arguments of the
> \sageplot environment... I continue not to get the Short name option when I
> right-click in this environment. My declaration must have a problem and
> does not tell to Lyx to get options from the short name.
>
>  Can commands get a short name from Lyx?
>
>   I think this is a known issue, actually. The problem is that PassThru
> insets/styles/etc do not allow for optional arguments.
>
> If you file a bug about this, I'll try to fix it for 2.0.2.
>
> Richard
>
>


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

h ttp://yildizoglu.info

http://www.twitter.com/yildizoglu


Re: Module inset problem has been solved. Remains the options problem..

2011-10-31 Thread Murat Yildizoglu
Now it worked:

http://www.lyx.org/trac/ticket/7869

2011/10/31 Richard Heck 

>  On 10/31/2011 08:19 AM, Murat Yildizoglu wrote:
>
> I should not get too much inspired from FixME it seems, since what seems
> to work for this module does not for mine.
>
>  Following the documentation in a more strict manner + some inspiration
> from the beamer module (not the simplest one ;-)  ), has allowed me to
> solve my problem fro the inset. The version that works is the following:
>
>  InsetLayout Flex:sagecommand
>  LyXType   custom
>  LabelString   Sage
>  LatexType command
>  LatexName sage
>  Decorationclassic
>  PassThru  1
>  Font
>   Color   magenta
>   Family  Typewriter
>  EndFont
>  MultiPar  false
>  OptionalArgs  0
> End
>
>  Now, if I could also solve the problem for the optional arguments of the
> \sageplot environment... I continue not to get the Short name option when I
> right-click in this environment. My declaration must have a problem and
> does not tell to Lyx to get options from the short name.
>
>  Can commands get a short name from Lyx?
>
>   I think this is a known issue, actually. The problem is that PassThru
> insets/styles/etc do not allow for optional arguments.
>
> If you file a bug about this, I'll try to fix it for 2.0.2.
>
> Richard
>
>


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr

h ttp://yildizoglu.info

http://www.twitter.com/yildizoglu