RE: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-23 Thread LDF(f)

Thanks Scott !

I was able to figure out how to transfer from Lyx to Latex.

I just didn't find how to use the argument(s) in the Lyx part of the .layout
format file. Another way to put it, I didn't find the equivalent in Lyx of
the Latex #1 : I tried Argument1, arg1, etc. with no success. Is there a way
to use the argument(s) in the Lyx part ?

Thanks again for this promising 2.1 new feature !

Al


-Message d'origine-
De : skost...@lyx.org [mailto:skost...@lyx.org] De la part de Scott
Kostyshak
Envoyé : vendredi 9 août 2013 11:09
À : LDF(f)
Cc : lyx-users@lists.lyx.org
Objet : Re: Custom layout : how can Lyx transfer parameters to LATEX ?

On Fri, Aug 9, 2013 at 4:09 AM, LDF(f) l.dub...@free.fr wrote:

 I didn't see anything in the documentation nor in the examples here and
 there, that could be used to enter parameters for a custom layout.

This is a new feature in 2.1. You can try the beta if you want:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1

See 5.3.6  Paragraph styles in the LyX 2.1 Help  Customization
manual. Look for argument in that section.

Scott



Re: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-23 Thread Richard Heck

On 08/23/2013 03:44 AM, LDF(f) wrote:

Thanks Scott !

I was able to figure out how to transfer from Lyx to Latex.

I just didn't find how to use the argument(s) in the Lyx part of the .layout
format file. Another way to put it, I didn't find the equivalent in Lyx of
the Latex #1 : I tried Argument1, arg1, etc. with no success. Is there a way
to use the argument(s) in the Lyx part ?

Thanks again for this promising 2.1 new feature !


I'm not sure what you're trying to do here. The arguments within LyX 
itself appear in new versions of what used to be called the Short 
Title inset. That's the only place they appear. You can't do anything 
with them otherwise. They are output to LaTeX as optional or mandatory 
arguments in the order specified in the layout file.


This is all documented in the Customization manual that ships with 
2.1.beta1. See section 5.3.6.


Richard



RE: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-23 Thread LDF(f)

Thanks Scott !

I was able to figure out how to transfer from Lyx to Latex.

I just didn't find how to use the argument(s) in the Lyx part of the .layout
format file. Another way to put it, I didn't find the equivalent in Lyx of
the Latex #1 : I tried Argument1, arg1, etc. with no success. Is there a way
to use the argument(s) in the Lyx part ?

Thanks again for this promising 2.1 new feature !

Al


-Message d'origine-
De : skost...@lyx.org [mailto:skost...@lyx.org] De la part de Scott
Kostyshak
Envoyé : vendredi 9 août 2013 11:09
À : LDF(f)
Cc : lyx-users@lists.lyx.org
Objet : Re: Custom layout : how can Lyx transfer parameters to LATEX ?

On Fri, Aug 9, 2013 at 4:09 AM, LDF(f) l.dub...@free.fr wrote:

 I didn't see anything in the documentation nor in the examples here and
 there, that could be used to enter parameters for a custom layout.

This is a new feature in 2.1. You can try the beta if you want:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1

See 5.3.6  Paragraph styles in the LyX 2.1 Help  Customization
manual. Look for argument in that section.

Scott



Re: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-23 Thread Richard Heck

On 08/23/2013 03:44 AM, LDF(f) wrote:

Thanks Scott !

I was able to figure out how to transfer from Lyx to Latex.

I just didn't find how to use the argument(s) in the Lyx part of the .layout
format file. Another way to put it, I didn't find the equivalent in Lyx of
the Latex #1 : I tried Argument1, arg1, etc. with no success. Is there a way
to use the argument(s) in the Lyx part ?

Thanks again for this promising 2.1 new feature !


I'm not sure what you're trying to do here. The arguments within LyX 
itself appear in new versions of what used to be called the Short 
Title inset. That's the only place they appear. You can't do anything 
with them otherwise. They are output to LaTeX as optional or mandatory 
arguments in the order specified in the layout file.


This is all documented in the Customization manual that ships with 
2.1.beta1. See section 5.3.6.


Richard



RE: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-23 Thread LDF(f)

Thanks Scott !

I was able to figure out how to transfer from Lyx to Latex.

I just didn't find how to use the argument(s) in the Lyx part of the .layout
format file. Another way to put it, I didn't find the equivalent in Lyx of
the Latex #1 : I tried Argument1, arg1, etc. with no success. Is there a way
to use the argument(s) in the Lyx part ?

Thanks again for this promising 2.1 new feature !

Al


-Message d'origine-
De : skost...@lyx.org [mailto:skost...@lyx.org] De la part de Scott
Kostyshak
Envoyé : vendredi 9 août 2013 11:09
À : LDF(f)
Cc : lyx-users@lists.lyx.org
Objet : Re: Custom layout : how can Lyx transfer parameters to LATEX ?

On Fri, Aug 9, 2013 at 4:09 AM, LDF(f) <l.dub...@free.fr> wrote:

> I didn't see anything in the documentation nor in the examples here and
> there, that could be used to enter parameters for a custom layout.

This is a new feature in 2.1. You can try the beta if you want:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1

See 5.3.6  Paragraph styles in the LyX 2.1 Help > Customization
manual. Look for "argument" in that section.

Scott



Re: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-23 Thread Richard Heck

On 08/23/2013 03:44 AM, LDF(f) wrote:

Thanks Scott !

I was able to figure out how to transfer from Lyx to Latex.

I just didn't find how to use the argument(s) in the Lyx part of the .layout
format file. Another way to put it, I didn't find the equivalent in Lyx of
the Latex #1 : I tried Argument1, arg1, etc. with no success. Is there a way
to use the argument(s) in the Lyx part ?

Thanks again for this promising 2.1 new feature !


I'm not sure what you're trying to do here. The arguments within LyX 
itself appear in new versions of what used to be called the "Short 
Title" inset. That's the only place they appear. You can't do anything 
with them otherwise. They are output to LaTeX as optional or mandatory 
arguments in the order specified in the layout file.


This is all documented in the Customization manual that ships with 
2.1.beta1. See section 5.3.6.


Richard



Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-09 Thread LDF(f)
Hello all ! 

The context:

I created a new environment. 
I made a new .layout format to be able to enter this environment through
Lyx. 

Now, I need parameters for my environment. 

The question:

Is there any mecanism so that I can enter parameters through LyX, which can
be transfered to the Latex environment ? 

 

I didn't see anything in the documentation nor in the examples here and
there, that could be used to enter parameters for a custom layout. So your
help is required !

Even to say it is just not possible !

 

 

Thanks for your help.

 



Re: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-09 Thread Scott Kostyshak
On Fri, Aug 9, 2013 at 4:09 AM, LDF(f) l.dub...@free.fr wrote:

 I didn't see anything in the documentation nor in the examples here and
 there, that could be used to enter parameters for a custom layout.

This is a new feature in 2.1. You can try the beta if you want:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1

See 5.3.6  Paragraph styles in the LyX 2.1 Help  Customization
manual. Look for argument in that section.

Scott


Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-09 Thread LDF(f)
Hello all ! 

The context:

I created a new environment. 
I made a new .layout format to be able to enter this environment through
Lyx. 

Now, I need parameters for my environment. 

The question:

Is there any mecanism so that I can enter parameters through LyX, which can
be transfered to the Latex environment ? 

 

I didn't see anything in the documentation nor in the examples here and
there, that could be used to enter parameters for a custom layout. So your
help is required !

Even to say it is just not possible !

 

 

Thanks for your help.

 



Re: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-09 Thread Scott Kostyshak
On Fri, Aug 9, 2013 at 4:09 AM, LDF(f) l.dub...@free.fr wrote:

 I didn't see anything in the documentation nor in the examples here and
 there, that could be used to enter parameters for a custom layout.

This is a new feature in 2.1. You can try the beta if you want:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1

See 5.3.6  Paragraph styles in the LyX 2.1 Help  Customization
manual. Look for argument in that section.

Scott


Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-09 Thread LDF(f)
Hello all ! 

The context:

I created a new environment. 
I made a new .layout format to be able to enter this environment through
Lyx. 

Now, I need parameters for my environment. 

The question:

Is there any mecanism so that I can enter parameters through LyX, which can
be transfered to the Latex environment ? 

 

I didn't see anything in the documentation nor in the examples here and
there, that could be used to enter parameters for a custom layout. So your
help is required !

Even to say it is just not possible !

 

 

Thanks for your help.

 



Re: Custom layout : how can Lyx transfer parameters to LATEX ?

2013-08-09 Thread Scott Kostyshak
On Fri, Aug 9, 2013 at 4:09 AM, LDF(f)  wrote:

> I didn't see anything in the documentation nor in the examples here and
> there, that could be used to enter parameters for a custom layout.

This is a new feature in 2.1. You can try the beta if you want:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta1

See 5.3.6  Paragraph styles in the LyX 2.1 Help > Customization
manual. Look for "argument" in that section.

Scott