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.


How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

The problem: I regularly export my references from Zotero to a BibTeX file.
Unfortunately, so far I cannot control in Zotero which bibliography fields
must be skip (like URL, notes etc). These unnecessary fields go to my
references list and spoil it. Some time ago, I was using WinEdt where it was
possible to run a shell script which removed the trash from my bib-files.

Is it possible with LyX? Is there a way how to automatically execute my
script before compiling to pdf etc.? I really want it to be done by pressing
one LyX button.

PS.
In the thread http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
Paul suggested to make own converter. I wonder will it be executed before
bib-files accessed or after?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257262.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

... i.e. I need execution of a script before DVI been compiled!


nuke wrote:
 
 PS.
 In the thread
 http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
 Paul suggested to make own converter. I wonder will it be executed before
 bib-files accessed or after?
 
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257301.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.


Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread nuke

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.
If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Cannot-compile-PDF-with-graphics-missing%2C-but-DVI-is-fine-tp3274928p3274928.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.


How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

The problem: I regularly export my references from Zotero to a BibTeX file.
Unfortunately, so far I cannot control in Zotero which bibliography fields
must be skip (like URL, notes etc). These unnecessary fields go to my
references list and spoil it. Some time ago, I was using WinEdt where it was
possible to run a shell script which removed the trash from my bib-files.

Is it possible with LyX? Is there a way how to automatically execute my
script before compiling to pdf etc.? I really want it to be done by pressing
one LyX button.

PS.
In the thread http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
Paul suggested to make own converter. I wonder will it be executed before
bib-files accessed or after?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257262.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

... i.e. I need execution of a script before DVI been compiled!


nuke wrote:
 
 PS.
 In the thread
 http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
 Paul suggested to make own converter. I wonder will it be executed before
 bib-files accessed or after?
 
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257301.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.


Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread nuke

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.
If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Cannot-compile-PDF-with-graphics-missing%2C-but-DVI-is-fine-tp3274928p3274928.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.


How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

The problem: I regularly export my references from Zotero to a BibTeX file.
Unfortunately, so far I cannot control in Zotero which bibliography fields
must be skip (like URL, notes etc). These unnecessary fields go to my
references list and spoil it. Some time ago, I was using WinEdt where it was
possible to run a shell script which removed the trash from my bib-files.

Is it possible with LyX? Is there a way how to automatically execute my
script before compiling to pdf etc.? I really want it to be done by pressing
one LyX button.

PS.
In the thread http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
Paul suggested to make own converter. I wonder will it be executed before
bib-files accessed or after?

Thanks
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257262.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to run a shell script before a compilation to pdf?

2009-07-14 Thread nuke

... i.e. I need execution of a script before DVI been compiled!


nuke wrote:
> 
> PS.
> In the thread
> http://n2.nabble.com/Run-script-from-LyX--tp479512p479512.html
> Paul suggested to make own converter. I wonder will it be executed before
> bib-files accessed or after?
> 
-- 
View this message in context: 
http://n2.nabble.com/How-to-run-a-shell-script-before-a-compilation-to-pdf--tp3257262p3257301.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.


Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread nuke

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.
If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Cannot-compile-PDF-with-graphics-missing%2C-but-DVI-is-fine-tp3274928p3274928.html
Sent from the LyX - Users mailing list archive at Nabble.com.