Re: Autoadding \maketitle destroys layout of my article

2011-07-12 Thread Jean-Marc Lasgouttes

Le 12/07/2011 00:27, Richard Heck a écrit :

On 07/11/2011 02:52 PM, Liviu Andronic wrote:

On Tue, Jul 14, 2009 at 4:45 PM, nukesila.raz...@gmail.com  wrote:
Are you using elsarticle.layout shipped by LyX? Or some home-brewed
.layout file? In any case, LyX controls adding \maketitle via the
'InTitle' command in the .layout file. See Help  Customization
5.3.6.


Does the elsarticle class use something other than \maketitle to make
the title? This too can be controlled, as can where \title and \author
go. Some classes require them in the preamble.


Since the original message is from 2 years ago, I doubt the problem is 
still relevant.


JMarc


Re: Autoadding \maketitle destroys layout of my article

2011-07-12 Thread Liviu Andronic
On Tue, Jul 12, 2011 at 8:55 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:

 On Tue, Jul 14, 2009 at 4:45 PM, nukesila.raz...@gmail.com  wrote:

 Since the original message is from 2 years ago, I doubt the problem is still
 relevant.

Good catch. :)
Liviu


Re: Autoadding \maketitle destroys layout of my article

2011-07-12 Thread Jean-Marc Lasgouttes

Le 12/07/2011 00:27, Richard Heck a écrit :

On 07/11/2011 02:52 PM, Liviu Andronic wrote:

On Tue, Jul 14, 2009 at 4:45 PM, nukesila.raz...@gmail.com  wrote:
Are you using elsarticle.layout shipped by LyX? Or some home-brewed
.layout file? In any case, LyX controls adding \maketitle via the
'InTitle' command in the .layout file. See Help  Customization
5.3.6.


Does the elsarticle class use something other than \maketitle to make
the title? This too can be controlled, as can where \title and \author
go. Some classes require them in the preamble.


Since the original message is from 2 years ago, I doubt the problem is 
still relevant.


JMarc


Re: Autoadding \maketitle destroys layout of my article

2011-07-12 Thread Liviu Andronic
On Tue, Jul 12, 2011 at 8:55 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:

 On Tue, Jul 14, 2009 at 4:45 PM, nukesila.raz...@gmail.com  wrote:

 Since the original message is from 2 years ago, I doubt the problem is still
 relevant.

Good catch. :)
Liviu


Re: Autoadding \maketitle destroys layout of my article

2011-07-12 Thread Jean-Marc Lasgouttes

Le 12/07/2011 00:27, Richard Heck a écrit :

On 07/11/2011 02:52 PM, Liviu Andronic wrote:

On Tue, Jul 14, 2009 at 4:45 PM, nuke  wrote:
Are you using elsarticle.layout shipped by LyX? Or some home-brewed
.layout file? In any case, LyX controls adding \maketitle via the
'InTitle' command in the .layout file. See Help>  Customization>
5.3.6.


Does the elsarticle class use something other than \maketitle to make
the title? This too can be controlled, as can where \title and \author
go. Some classes require them in the preamble.


Since the original message is from 2 years ago, I doubt the problem is 
still relevant.


JMarc


Re: Autoadding \maketitle destroys layout of my article

2011-07-12 Thread Liviu Andronic
On Tue, Jul 12, 2011 at 8:55 AM, Jean-Marc Lasgouttes
 wrote:

>>> On Tue, Jul 14, 2009 at 4:45 PM, nuke  wrote:

> Since the original message is from 2 years ago, I doubt the problem is still
> relevant.
>
Good catch. :)
Liviu


Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread jasonzwl
I think I found the trick to solve this and such problem in lyx. Generally,
you can edit source in directly in lyx window by insert Tex Code (Ctrl+L).
So, the way I do is write the title and author as standard paragraph. Then
insert Tex Code, \title{} and \author{} before and after your title and
author. You won't get \maktitle anymore. At least, it works fine with me.
Hope you are lucky.

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Autoadding-maketitle-destroys-layout-of-my-article-tp3257199p6571233.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread Liviu Andronic
On Tue, Jul 14, 2009 at 4:45 PM, nuke sila.raz...@gmail.com wrote:
 At the present I am writing a journal article to be submitted to a journal of
 Elsevier publishing company. I am supposed to use a special class
 (elsarticle.cls) based on article.cls. However, my document does't look good
 after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
 which ruin the layout:
 ...
 \maketitle
 ...
 \addcontentsline{toc}{section}{\refname}
 ...

[..]

 Does anyone know how to set LyX to do not put these lines? Or any other way
 how to solve the problem?

Are you using elsarticle.layout shipped by LyX? Or some home-brewed
.layout file? In any case, LyX controls adding \maketitle via the
'InTitle' command in the .layout file. See Help  Customization 
5.3.6.

I'm not sure about the second line of code, though.
Liviu


Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread Richard Heck
On 07/11/2011 02:52 PM, Liviu Andronic wrote:
 On Tue, Jul 14, 2009 at 4:45 PM, nuke sila.raz...@gmail.com wrote:
 At the present I am writing a journal article to be submitted to a journal of
 Elsevier publishing company. I am supposed to use a special class
 (elsarticle.cls) based on article.cls. However, my document does't look good
 after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
 which ruin the layout:
 ...
 \maketitle
 ...
 \addcontentsline{toc}{section}{\refname}
 ...

 [..]

 Does anyone know how to set LyX to do not put these lines? Or any other way
 how to solve the problem?

 Are you using elsarticle.layout shipped by LyX? Or some home-brewed
 .layout file? In any case, LyX controls adding \maketitle via the
 'InTitle' command in the .layout file. See Help  Customization 
 5.3.6.

Does the elsarticle class use something other than \maketitle to make
the title? This too can be controlled, as can where \title and \author
go. Some classes require them in the preamble.

rh



Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread jasonzwl
I think I found the trick to solve this and such problem in lyx. Generally,
you can edit source in directly in lyx window by insert Tex Code (Ctrl+L).
So, the way I do is write the title and author as standard paragraph. Then
insert Tex Code, \title{} and \author{} before and after your title and
author. You won't get \maktitle anymore. At least, it works fine with me.
Hope you are lucky.

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Autoadding-maketitle-destroys-layout-of-my-article-tp3257199p6571233.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread Liviu Andronic
On Tue, Jul 14, 2009 at 4:45 PM, nuke sila.raz...@gmail.com wrote:
 At the present I am writing a journal article to be submitted to a journal of
 Elsevier publishing company. I am supposed to use a special class
 (elsarticle.cls) based on article.cls. However, my document does't look good
 after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
 which ruin the layout:
 ...
 \maketitle
 ...
 \addcontentsline{toc}{section}{\refname}
 ...

[..]

 Does anyone know how to set LyX to do not put these lines? Or any other way
 how to solve the problem?

Are you using elsarticle.layout shipped by LyX? Or some home-brewed
.layout file? In any case, LyX controls adding \maketitle via the
'InTitle' command in the .layout file. See Help  Customization 
5.3.6.

I'm not sure about the second line of code, though.
Liviu


Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread Richard Heck
On 07/11/2011 02:52 PM, Liviu Andronic wrote:
 On Tue, Jul 14, 2009 at 4:45 PM, nuke sila.raz...@gmail.com wrote:
 At the present I am writing a journal article to be submitted to a journal of
 Elsevier publishing company. I am supposed to use a special class
 (elsarticle.cls) based on article.cls. However, my document does't look good
 after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
 which ruin the layout:
 ...
 \maketitle
 ...
 \addcontentsline{toc}{section}{\refname}
 ...

 [..]

 Does anyone know how to set LyX to do not put these lines? Or any other way
 how to solve the problem?

 Are you using elsarticle.layout shipped by LyX? Or some home-brewed
 .layout file? In any case, LyX controls adding \maketitle via the
 'InTitle' command in the .layout file. See Help  Customization 
 5.3.6.

Does the elsarticle class use something other than \maketitle to make
the title? This too can be controlled, as can where \title and \author
go. Some classes require them in the preamble.

rh



Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread jasonzwl
I think I found the trick to solve this and such problem in lyx. Generally,
you can edit source in directly in lyx window by insert "Tex Code" (Ctrl+L).
So, the way I do is write the title and author as standard paragraph. Then
insert Tex Code, \title{} and \author{} before and after your title and
author. You won't get \maktitle anymore. At least, it works fine with me.
Hope you are lucky.

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Autoadding-maketitle-destroys-layout-of-my-article-tp3257199p6571233.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread Liviu Andronic
On Tue, Jul 14, 2009 at 4:45 PM, nuke  wrote:
> At the present I am writing a journal article to be submitted to a journal of
> Elsevier publishing company. I am supposed to use a special class
> (elsarticle.cls) based on article.cls. However, my document does't look good
> after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
> which ruin the layout:
> ...
> \maketitle
> ...
> \addcontentsline{toc}{section}{\refname}
> ...
>
[..]

> Does anyone know how to set LyX to do not put these lines? Or any other way
> how to solve the problem?
>
Are you using elsarticle.layout shipped by LyX? Or some home-brewed
.layout file? In any case, LyX controls adding \maketitle via the
'InTitle' command in the .layout file. See Help > Customization >
5.3.6.

I'm not sure about the second line of code, though.
Liviu


Re: Autoadding \maketitle destroys layout of my article

2011-07-11 Thread Richard Heck
On 07/11/2011 02:52 PM, Liviu Andronic wrote:
> On Tue, Jul 14, 2009 at 4:45 PM, nuke  wrote:
>> At the present I am writing a journal article to be submitted to a journal of
>> Elsevier publishing company. I am supposed to use a special class
>> (elsarticle.cls) based on article.cls. However, my document does't look good
>> after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
>> which ruin the layout:
>> ...
>> \maketitle
>> ...
>> \addcontentsline{toc}{section}{\refname}
>> ...
>>
> [..]
>
>> Does anyone know how to set LyX to do not put these lines? Or any other way
>> how to solve the problem?
>>
> Are you using elsarticle.layout shipped by LyX? Or some home-brewed
> .layout file? In any case, LyX controls adding \maketitle via the
> 'InTitle' command in the .layout file. See Help > Customization >
> 5.3.6.
>
Does the elsarticle class use something other than \maketitle to make
the title? This too can be controlled, as can where \title and \author
go. Some classes require them in the preamble.

rh



Solved: Autoadding \maketitle destroys layout of my article

2009-07-15 Thread nuke

Solution of the problem is given on
http://www.latex-community.org/forum/viewtopic.php?f=19t=5360


nuke wrote:
 
 ...As a result I have two title pages, wrong authors names footnoting, no
 bibliography...  So in order to get a correct document I have to export to
 latex, correct the text and compile it using another latex editor
 

-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3264628.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Solved: Autoadding \maketitle destroys layout of my article

2009-07-15 Thread nuke

Solution of the problem is given on
http://www.latex-community.org/forum/viewtopic.php?f=19t=5360


nuke wrote:
 
 ...As a result I have two title pages, wrong authors names footnoting, no
 bibliography...  So in order to get a correct document I have to export to
 latex, correct the text and compile it using another latex editor
 

-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3264628.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Solved: Autoadding \maketitle destroys layout of my article

2009-07-15 Thread nuke

Solution of the problem is given on
http://www.latex-community.org/forum/viewtopic.php?f=19=5360


nuke wrote:
> 
> ...As a result I have two title pages, wrong authors names footnoting, no
> bibliography...  So in order to get a correct document I have to export to
> latex, correct the text and compile it using another latex editor
> 

-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3264628.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Autoadding \maketitle destroys layout of my article

2009-07-14 Thread nuke

At the present I am writing a journal article to be submitted to a journal of
Elsevier publishing company. I am supposed to use a special class
(elsarticle.cls) based on article.cls. However, my document does't look good
after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
which ruin the layout:
...
\maketitle
...
\addcontentsline{toc}{section}{\refname}
...

As a result I have two title pages, wrong authors names footnoting, no
bibliography...  So in order to get a correct document I have to export to
latex, correct the text and compile it using another latex editor.  

Does anyone know how to set LyX to do not put these lines? Or any other way
how to solve the problem?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3257199.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Autoadding \maketitle destroys layout of my article

2009-07-14 Thread nuke

At the present I am writing a journal article to be submitted to a journal of
Elsevier publishing company. I am supposed to use a special class
(elsarticle.cls) based on article.cls. However, my document does't look good
after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
which ruin the layout:
...
\maketitle
...
\addcontentsline{toc}{section}{\refname}
...

As a result I have two title pages, wrong authors names footnoting, no
bibliography...  So in order to get a correct document I have to export to
latex, correct the text and compile it using another latex editor.  

Does anyone know how to set LyX to do not put these lines? Or any other way
how to solve the problem?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3257199.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Autoadding \maketitle destroys layout of my article

2009-07-14 Thread nuke

At the present I am writing a journal article to be submitted to a journal of
Elsevier publishing company. I am supposed to use a special class
(elsarticle.cls) based on article.cls. However, my document does't look good
after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines
which ruin the layout:
...
\maketitle
...
\addcontentsline{toc}{section}{\refname}
...

As a result I have two title pages, wrong authors names footnoting, no
bibliography...  So in order to get a correct document I have to export to
latex, correct the text and compile it using another latex editor.  

Does anyone know how to set LyX to do not put these lines? Or any other way
how to solve the problem?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Autoadding-%5Cmaketitle-destroys-layout-of-my-article-tp3257199p3257199.html
Sent from the LyX - Users mailing list archive at Nabble.com.