Re: multiple authors (\and) is ert necessary

2007-05-10 Thread Micha Feigin
On Mon, 07 May 2007 18:44:56 -0400
Paul A. Rubin [EMAIL PROTECTED] wrote:

 Micha Feigin wrote:
  Is it necessary to use ert for \and when multiple authors are used,
 
 Yes (AFAIK).
 
  or is there a lyx way?
 
 Haven't found one.  Hypothetically it might be possible to cobble 
 together a layout file that dealt with this by having two author 
 environments (one for the last or sole author, one for any author other 
 than the last), but I think it would involve convincing LyX not to stick 
   a blank line (or bunch of blank lines) in the exported LaTeX file 
 between author fields, and I don't know how to do that, or even if it's 
 possible.
 
 You can, of course, bind a key combination to insert the \and in ERT. 
 The sequence to bind would be something like
 

I don't think that it's something worth doing considering this appears
something like once per paper and once in while. It's just that I try to avoid
ert hacks when a more appropriate solution exists (they are hard to maintain
and debug)

command-sequence ert-insert;self-insert \and{};
 
 /Paul
 


Re: multiple authors (\and) is ert necessary

2007-05-10 Thread Micha Feigin
On Mon, 07 May 2007 18:44:56 -0400
Paul A. Rubin [EMAIL PROTECTED] wrote:

 Micha Feigin wrote:
  Is it necessary to use ert for \and when multiple authors are used,
 
 Yes (AFAIK).
 
  or is there a lyx way?
 
 Haven't found one.  Hypothetically it might be possible to cobble 
 together a layout file that dealt with this by having two author 
 environments (one for the last or sole author, one for any author other 
 than the last), but I think it would involve convincing LyX not to stick 
   a blank line (or bunch of blank lines) in the exported LaTeX file 
 between author fields, and I don't know how to do that, or even if it's 
 possible.
 
 You can, of course, bind a key combination to insert the \and in ERT. 
 The sequence to bind would be something like
 

I don't think that it's something worth doing considering this appears
something like once per paper and once in while. It's just that I try to avoid
ert hacks when a more appropriate solution exists (they are hard to maintain
and debug)

command-sequence ert-insert;self-insert \and{};
 
 /Paul
 


Re: multiple authors (\and) is ert necessary

2007-05-10 Thread Micha Feigin
On Mon, 07 May 2007 18:44:56 -0400
"Paul A. Rubin" <[EMAIL PROTECTED]> wrote:

> Micha Feigin wrote:
> > Is it necessary to use ert for \and when multiple authors are used,
> 
> Yes (AFAIK).
> 
> > or is there a lyx way?
> 
> Haven't found one.  Hypothetically it might be possible to cobble 
> together a layout file that dealt with this by having two author 
> environments (one for the last or sole author, one for any author other 
> than the last), but I think it would involve convincing LyX not to stick 
>   a blank line (or bunch of blank lines) in the exported LaTeX file 
> between author fields, and I don't know how to do that, or even if it's 
> possible.
> 
> You can, of course, bind a key combination to insert the \and in ERT. 
> The sequence to bind would be something like
> 

I don't think that it's something worth doing considering this appears
something like once per paper and once in while. It's just that I try to avoid
ert hacks when a more appropriate solution exists (they are hard to maintain
and debug)

>command-sequence ert-insert;self-insert \and{};
> 
> /Paul
> 


Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Tim Michelsen

Micha Feigin schrieb:

Is it necessary to use ert for \and when multiple authors are used, or is there
a lyx way?

If you are using Bibtex the just write
Meyer, Hans and Jong, YU



Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Julio Rojas

Tim, I guess what Micha means is if you need to use \and in ERT to
separate authors in the author environment of a document. The answer,
AFAIK, is that it depends on the class. I think that if you have
multiple authors, the best approach is to use a full ERT first page
where you include the title, authors, addresses, abstract and
keywords.

Hope this helps.

On 5/7/07, Tim Michelsen [EMAIL PROTECTED] wrote:

Micha Feigin schrieb:
 Is it necessary to use ert for \and when multiple authors are used, or is 
there
 a lyx way?
If you are using Bibtex the just write
Meyer, Hans and Jong, YU





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Paul A. Rubin

Micha Feigin wrote:

Is it necessary to use ert for \and when multiple authors are used,


Yes (AFAIK).


or is there a lyx way?


Haven't found one.  Hypothetically it might be possible to cobble 
together a layout file that dealt with this by having two author 
environments (one for the last or sole author, one for any author other 
than the last), but I think it would involve convincing LyX not to stick 
 a blank line (or bunch of blank lines) in the exported LaTeX file 
between author fields, and I don't know how to do that, or even if it's 
possible.


You can, of course, bind a key combination to insert the \and in ERT. 
The sequence to bind would be something like


  command-sequence ert-insert;self-insert \and{};

/Paul



Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Tim Michelsen

Micha Feigin schrieb:

Is it necessary to use ert for \and when multiple authors are used, or is there
a lyx way?

If you are using Bibtex the just write
Meyer, Hans and Jong, YU



Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Julio Rojas

Tim, I guess what Micha means is if you need to use \and in ERT to
separate authors in the author environment of a document. The answer,
AFAIK, is that it depends on the class. I think that if you have
multiple authors, the best approach is to use a full ERT first page
where you include the title, authors, addresses, abstract and
keywords.

Hope this helps.

On 5/7/07, Tim Michelsen [EMAIL PROTECTED] wrote:

Micha Feigin schrieb:
 Is it necessary to use ert for \and when multiple authors are used, or is 
there
 a lyx way?
If you are using Bibtex the just write
Meyer, Hans and Jong, YU





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Paul A. Rubin

Micha Feigin wrote:

Is it necessary to use ert for \and when multiple authors are used,


Yes (AFAIK).


or is there a lyx way?


Haven't found one.  Hypothetically it might be possible to cobble 
together a layout file that dealt with this by having two author 
environments (one for the last or sole author, one for any author other 
than the last), but I think it would involve convincing LyX not to stick 
 a blank line (or bunch of blank lines) in the exported LaTeX file 
between author fields, and I don't know how to do that, or even if it's 
possible.


You can, of course, bind a key combination to insert the \and in ERT. 
The sequence to bind would be something like


  command-sequence ert-insert;self-insert \and{};

/Paul



Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Tim Michelsen

Micha Feigin schrieb:

Is it necessary to use ert for \and when multiple authors are used, or is there
a lyx way?

If you are using Bibtex the just write
Meyer, Hans and Jong, YU



Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Julio Rojas

Tim, I guess what Micha means is if you need to use \and in ERT to
separate authors in the author environment of a document. The answer,
AFAIK, is that it depends on the class. I think that if you have
multiple authors, the best approach is to use a full ERT first page
where you include the title, authors, addresses, abstract and
keywords.

Hope this helps.

On 5/7/07, Tim Michelsen <[EMAIL PROTECTED]> wrote:

Micha Feigin schrieb:
> Is it necessary to use ert for \and when multiple authors are used, or is 
there
> a lyx way?
If you are using Bibtex the just write
Meyer, Hans and Jong, YU





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: multiple authors (\and) is ert necessary

2007-05-07 Thread Paul A. Rubin

Micha Feigin wrote:

Is it necessary to use ert for \and when multiple authors are used,


Yes (AFAIK).


or is there a lyx way?


Haven't found one.  Hypothetically it might be possible to cobble 
together a layout file that dealt with this by having two author 
environments (one for the last or sole author, one for any author other 
than the last), but I think it would involve convincing LyX not to stick 
 a blank line (or bunch of blank lines) in the exported LaTeX file 
between author fields, and I don't know how to do that, or even if it's 
possible.


You can, of course, bind a key combination to insert the \and in ERT. 
The sequence to bind would be something like


  command-sequence ert-insert;self-insert \and{};

/Paul



multiple authors (\and) is ert necessary

2007-05-06 Thread Micha Feigin
Is it necessary to use ert for \and when multiple authors are used, or is there
a lyx way?

Thanks


multiple authors (\and) is ert necessary

2007-05-06 Thread Micha Feigin
Is it necessary to use ert for \and when multiple authors are used, or is there
a lyx way?

Thanks


multiple authors (\and) is ert necessary

2007-05-06 Thread Micha Feigin
Is it necessary to use ert for \and when multiple authors are used, or is there
a lyx way?

Thanks