Re: BibTeX and Natbib

2011-02-23 Thread Eduardo de Oliveira Horta
So it seems all that was needed to do was to select the plainnat.bst
as the bibliography style. Now it`s working fine.

I have another question, though: is it possible to configure the style
in the references section when I added it the way I mentioned in my
previous mail (that is, insert  List/TOC  BibTeX bibliography...)?

I guess this configuration is controlled by some bst or sty file, but
have no clue as to which, neither as how to edit them...

Any help would be welcome.

Thanks, and best regards,

Eduardo

On Tue, Feb 22, 2011 at 11:37 PM, Eduardo de Oliveira Horta
eduardo.oliveiraho...@gmail.com wrote:
 Thanks! I'll see if I can manage to make it work and then I'll let you know.

 Eduardo

 On Tue, Feb 22, 2011 at 10:58 PM, Richard Heck rgh...@comcast.net wrote:
 On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:

 Hello LyX community,

 I'm facing a little problem which I'm sure is a recurrent (and
 hopefully easy to solve) one.

 I have a .bib file with all my references, and I've added the
 bibliography as usual through

 insert  List/TOC  BibTeX bibliography...

 The file exports to pdf as a charm, with all citations numbered,
 within brackets and no author names. Ok. Now I would like my citations
 to be formated as author-year. I've changed the citation style to
 Natbib (in Document  Settings  Bibliography  Citation Style). The
 LyX file displays the citations correctly, but when I compile it to
 pdf, they appear messy, like

 (author?) [1]

 for example. Interestingly, the link [1] takes me to the correct place
 in the bibliography.

 Is there a way to overcome this issue?

 This means that there is an error in your bib file that is preventing BibTeX
 from reading the author-year combination correctly. It can be many things
 that cause it, but a missing year is often the culprit. The best way to
 debug is to export to LaTeX and compile the file manually. Then you should
 see error messages sufficient to locate the problem.

 rh





Re: BibTeX and Natbib

2011-02-23 Thread Julien Rioux

On 23/02/2011 6:30 PM, Eduardo de Oliveira Horta wrote:

So it seems all that was needed to do was to select the plainnat.bst
as the bibliography style. Now it`s working fine.

I have another question, though: is it possible to configure the style
in the references section when I added it the way I mentioned in my
previous mail (that is, insert  List/TOC  BibTeX bibliography...)?

I guess this configuration is controlled by some bst or sty file, but
have no clue as to which, neither as how to edit them...



The various styles (.bst files) are documented in many places. One such 
place is here:


http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html

See if you can find a style that matches your need.

Alternatively you can create your own style by answering questions using 
a command-line tool (custom-bib, bib-it)


If you are adventurous you can learn bibtex's stack language syntax and 
modify an existing style to your liking or write your own.


Good luck,
Julien



Any help would be welcome.

Thanks, and best regards,

Eduardo



--
Julien



Re: BibTeX and Natbib

2011-02-23 Thread Eduardo de Oliveira Horta
So it seems all that was needed to do was to select the plainnat.bst
as the bibliography style. Now it`s working fine.

I have another question, though: is it possible to configure the style
in the references section when I added it the way I mentioned in my
previous mail (that is, insert  List/TOC  BibTeX bibliography...)?

I guess this configuration is controlled by some bst or sty file, but
have no clue as to which, neither as how to edit them...

Any help would be welcome.

Thanks, and best regards,

Eduardo

On Tue, Feb 22, 2011 at 11:37 PM, Eduardo de Oliveira Horta
eduardo.oliveiraho...@gmail.com wrote:
 Thanks! I'll see if I can manage to make it work and then I'll let you know.

 Eduardo

 On Tue, Feb 22, 2011 at 10:58 PM, Richard Heck rgh...@comcast.net wrote:
 On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:

 Hello LyX community,

 I'm facing a little problem which I'm sure is a recurrent (and
 hopefully easy to solve) one.

 I have a .bib file with all my references, and I've added the
 bibliography as usual through

 insert  List/TOC  BibTeX bibliography...

 The file exports to pdf as a charm, with all citations numbered,
 within brackets and no author names. Ok. Now I would like my citations
 to be formated as author-year. I've changed the citation style to
 Natbib (in Document  Settings  Bibliography  Citation Style). The
 LyX file displays the citations correctly, but when I compile it to
 pdf, they appear messy, like

 (author?) [1]

 for example. Interestingly, the link [1] takes me to the correct place
 in the bibliography.

 Is there a way to overcome this issue?

 This means that there is an error in your bib file that is preventing BibTeX
 from reading the author-year combination correctly. It can be many things
 that cause it, but a missing year is often the culprit. The best way to
 debug is to export to LaTeX and compile the file manually. Then you should
 see error messages sufficient to locate the problem.

 rh





Re: BibTeX and Natbib

2011-02-23 Thread Julien Rioux

On 23/02/2011 6:30 PM, Eduardo de Oliveira Horta wrote:

So it seems all that was needed to do was to select the plainnat.bst
as the bibliography style. Now it`s working fine.

I have another question, though: is it possible to configure the style
in the references section when I added it the way I mentioned in my
previous mail (that is, insert  List/TOC  BibTeX bibliography...)?

I guess this configuration is controlled by some bst or sty file, but
have no clue as to which, neither as how to edit them...



The various styles (.bst files) are documented in many places. One such 
place is here:


http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html

See if you can find a style that matches your need.

Alternatively you can create your own style by answering questions using 
a command-line tool (custom-bib, bib-it)


If you are adventurous you can learn bibtex's stack language syntax and 
modify an existing style to your liking or write your own.


Good luck,
Julien



Any help would be welcome.

Thanks, and best regards,

Eduardo



--
Julien



Re: BibTeX and Natbib

2011-02-23 Thread Eduardo de Oliveira Horta
So it seems all that was needed to do was to select the plainnat.bst
as the bibliography style. Now it`s working fine.

I have another question, though: is it possible to configure the style
in the references section when I added it the way I mentioned in my
previous mail (that is, insert > List/TOC > BibTeX bibliography...)?

I guess this configuration is controlled by some bst or sty file, but
have no clue as to which, neither as how to edit them...

Any help would be welcome.

Thanks, and best regards,

Eduardo

On Tue, Feb 22, 2011 at 11:37 PM, Eduardo de Oliveira Horta
 wrote:
> Thanks! I'll see if I can manage to make it work and then I'll let you know.
>
> Eduardo
>
> On Tue, Feb 22, 2011 at 10:58 PM, Richard Heck  wrote:
>> On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:
>>>
>>> Hello LyX community,
>>>
>>> I'm facing a little problem which I'm sure is a recurrent (and
>>> hopefully easy to solve) one.
>>>
>>> I have a .bib file with all my references, and I've added the
>>> bibliography as usual through
>>>
>>> insert>  List/TOC>  BibTeX bibliography...
>>>
>>> The file exports to pdf as a charm, with all citations numbered,
>>> within brackets and no author names. Ok. Now I would like my citations
>>> to be formated as author-year. I've changed the citation style to
>>> Natbib (in Document>  Settings>  Bibliography>  Citation Style). The
>>> LyX file displays the citations correctly, but when I compile it to
>>> pdf, they appear messy, like
>>>
>>> (author?) [1]
>>>
>>> for example. Interestingly, the link [1] takes me to the correct place
>>> in the bibliography.
>>>
>>> Is there a way to overcome this issue?
>>>
>> This means that there is an error in your bib file that is preventing BibTeX
>> from reading the author-year combination correctly. It can be many things
>> that cause it, but a missing year is often the culprit. The best way to
>> debug is to export to LaTeX and compile the file manually. Then you should
>> see error messages sufficient to locate the problem.
>>
>> rh
>>
>>
>


Re: BibTeX and Natbib

2011-02-23 Thread Julien Rioux

On 23/02/2011 6:30 PM, Eduardo de Oliveira Horta wrote:

So it seems all that was needed to do was to select the plainnat.bst
as the bibliography style. Now it`s working fine.

I have another question, though: is it possible to configure the style
in the references section when I added it the way I mentioned in my
previous mail (that is, insert>  List/TOC>  BibTeX bibliography...)?

I guess this configuration is controlled by some bst or sty file, but
have no clue as to which, neither as how to edit them...



The various styles (.bst files) are documented in many places. One such 
place is here:


http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html

See if you can find a style that matches your need.

Alternatively you can create your own style by answering questions using 
a command-line tool (custom-bib, bib-it)


If you are adventurous you can learn bibtex's stack language syntax and 
modify an existing style to your liking or write your own.


Good luck,
Julien



Any help would be welcome.

Thanks, and best regards,

Eduardo



--
Julien



BibTeX and Natbib

2011-02-22 Thread Eduardo de Oliveira Horta
Hello LyX community,

I'm facing a little problem which I'm sure is a recurrent (and
hopefully easy to solve) one.

I have a .bib file with all my references, and I've added the
bibliography as usual through

insert  List/TOC  BibTeX bibliography...

The file exports to pdf as a charm, with all citations numbered,
within brackets and no author names. Ok. Now I would like my citations
to be formated as author-year. I've changed the citation style to
Natbib (in Document  Settings  Bibliography  Citation Style). The
LyX file displays the citations correctly, but when I compile it to
pdf, they appear messy, like

(author?) [1]

for example. Interestingly, the link [1] takes me to the correct place
in the bibliography.

Is there a way to overcome this issue?

Thanks in advance, and best regards,

Eduardo Horta


Re: BibTeX and Natbib

2011-02-22 Thread Richard Heck

On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:

Hello LyX community,

I'm facing a little problem which I'm sure is a recurrent (and
hopefully easy to solve) one.

I have a .bib file with all my references, and I've added the
bibliography as usual through

insert  List/TOC  BibTeX bibliography...

The file exports to pdf as a charm, with all citations numbered,
within brackets and no author names. Ok. Now I would like my citations
to be formated as author-year. I've changed the citation style to
Natbib (in Document  Settings  Bibliography  Citation Style). The
LyX file displays the citations correctly, but when I compile it to
pdf, they appear messy, like

(author?) [1]

for example. Interestingly, the link [1] takes me to the correct place
in the bibliography.

Is there a way to overcome this issue?

This means that there is an error in your bib file that is preventing 
BibTeX from reading the author-year combination correctly. It can be 
many things that cause it, but a missing year is often the culprit. The 
best way to debug is to export to LaTeX and compile the file manually. 
Then you should see error messages sufficient to locate the problem.


rh



Re: BibTeX and Natbib

2011-02-22 Thread Eduardo de Oliveira Horta
Thanks! I'll see if I can manage to make it work and then I'll let you know.

Eduardo

On Tue, Feb 22, 2011 at 10:58 PM, Richard Heck rgh...@comcast.net wrote:
 On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:

 Hello LyX community,

 I'm facing a little problem which I'm sure is a recurrent (and
 hopefully easy to solve) one.

 I have a .bib file with all my references, and I've added the
 bibliography as usual through

 insert  List/TOC  BibTeX bibliography...

 The file exports to pdf as a charm, with all citations numbered,
 within brackets and no author names. Ok. Now I would like my citations
 to be formated as author-year. I've changed the citation style to
 Natbib (in Document  Settings  Bibliography  Citation Style). The
 LyX file displays the citations correctly, but when I compile it to
 pdf, they appear messy, like

 (author?) [1]

 for example. Interestingly, the link [1] takes me to the correct place
 in the bibliography.

 Is there a way to overcome this issue?

 This means that there is an error in your bib file that is preventing BibTeX
 from reading the author-year combination correctly. It can be many things
 that cause it, but a missing year is often the culprit. The best way to
 debug is to export to LaTeX and compile the file manually. Then you should
 see error messages sufficient to locate the problem.

 rh




BibTeX and Natbib

2011-02-22 Thread Eduardo de Oliveira Horta
Hello LyX community,

I'm facing a little problem which I'm sure is a recurrent (and
hopefully easy to solve) one.

I have a .bib file with all my references, and I've added the
bibliography as usual through

insert  List/TOC  BibTeX bibliography...

The file exports to pdf as a charm, with all citations numbered,
within brackets and no author names. Ok. Now I would like my citations
to be formated as author-year. I've changed the citation style to
Natbib (in Document  Settings  Bibliography  Citation Style). The
LyX file displays the citations correctly, but when I compile it to
pdf, they appear messy, like

(author?) [1]

for example. Interestingly, the link [1] takes me to the correct place
in the bibliography.

Is there a way to overcome this issue?

Thanks in advance, and best regards,

Eduardo Horta


Re: BibTeX and Natbib

2011-02-22 Thread Richard Heck

On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:

Hello LyX community,

I'm facing a little problem which I'm sure is a recurrent (and
hopefully easy to solve) one.

I have a .bib file with all my references, and I've added the
bibliography as usual through

insert  List/TOC  BibTeX bibliography...

The file exports to pdf as a charm, with all citations numbered,
within brackets and no author names. Ok. Now I would like my citations
to be formated as author-year. I've changed the citation style to
Natbib (in Document  Settings  Bibliography  Citation Style). The
LyX file displays the citations correctly, but when I compile it to
pdf, they appear messy, like

(author?) [1]

for example. Interestingly, the link [1] takes me to the correct place
in the bibliography.

Is there a way to overcome this issue?

This means that there is an error in your bib file that is preventing 
BibTeX from reading the author-year combination correctly. It can be 
many things that cause it, but a missing year is often the culprit. The 
best way to debug is to export to LaTeX and compile the file manually. 
Then you should see error messages sufficient to locate the problem.


rh



Re: BibTeX and Natbib

2011-02-22 Thread Eduardo de Oliveira Horta
Thanks! I'll see if I can manage to make it work and then I'll let you know.

Eduardo

On Tue, Feb 22, 2011 at 10:58 PM, Richard Heck rgh...@comcast.net wrote:
 On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:

 Hello LyX community,

 I'm facing a little problem which I'm sure is a recurrent (and
 hopefully easy to solve) one.

 I have a .bib file with all my references, and I've added the
 bibliography as usual through

 insert  List/TOC  BibTeX bibliography...

 The file exports to pdf as a charm, with all citations numbered,
 within brackets and no author names. Ok. Now I would like my citations
 to be formated as author-year. I've changed the citation style to
 Natbib (in Document  Settings  Bibliography  Citation Style). The
 LyX file displays the citations correctly, but when I compile it to
 pdf, they appear messy, like

 (author?) [1]

 for example. Interestingly, the link [1] takes me to the correct place
 in the bibliography.

 Is there a way to overcome this issue?

 This means that there is an error in your bib file that is preventing BibTeX
 from reading the author-year combination correctly. It can be many things
 that cause it, but a missing year is often the culprit. The best way to
 debug is to export to LaTeX and compile the file manually. Then you should
 see error messages sufficient to locate the problem.

 rh




BibTeX and Natbib

2011-02-22 Thread Eduardo de Oliveira Horta
Hello LyX community,

I'm facing a little problem which I'm sure is a recurrent (and
hopefully easy to solve) one.

I have a .bib file with all my references, and I've added the
bibliography as usual through

insert > List/TOC > BibTeX bibliography...

The file exports to pdf as a charm, with all citations numbered,
within brackets and no author names. Ok. Now I would like my citations
to be formated as author-year. I've changed the citation style to
Natbib (in Document > Settings > Bibliography > Citation Style). The
LyX file displays the citations correctly, but when I compile it to
pdf, they appear messy, like

(author?) [1]

for example. Interestingly, the link [1] takes me to the correct place
in the bibliography.

Is there a way to overcome this issue?

Thanks in advance, and best regards,

Eduardo Horta


Re: BibTeX and Natbib

2011-02-22 Thread Richard Heck

On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:

Hello LyX community,

I'm facing a little problem which I'm sure is a recurrent (and
hopefully easy to solve) one.

I have a .bib file with all my references, and I've added the
bibliography as usual through

insert>  List/TOC>  BibTeX bibliography...

The file exports to pdf as a charm, with all citations numbered,
within brackets and no author names. Ok. Now I would like my citations
to be formated as author-year. I've changed the citation style to
Natbib (in Document>  Settings>  Bibliography>  Citation Style). The
LyX file displays the citations correctly, but when I compile it to
pdf, they appear messy, like

(author?) [1]

for example. Interestingly, the link [1] takes me to the correct place
in the bibliography.

Is there a way to overcome this issue?

This means that there is an error in your bib file that is preventing 
BibTeX from reading the author-year combination correctly. It can be 
many things that cause it, but a missing year is often the culprit. The 
best way to debug is to export to LaTeX and compile the file manually. 
Then you should see error messages sufficient to locate the problem.


rh



Re: BibTeX and Natbib

2011-02-22 Thread Eduardo de Oliveira Horta
Thanks! I'll see if I can manage to make it work and then I'll let you know.

Eduardo

On Tue, Feb 22, 2011 at 10:58 PM, Richard Heck  wrote:
> On 2/22/11 4:38 PM, Eduardo de Oliveira Horta wrote:
>>
>> Hello LyX community,
>>
>> I'm facing a little problem which I'm sure is a recurrent (and
>> hopefully easy to solve) one.
>>
>> I have a .bib file with all my references, and I've added the
>> bibliography as usual through
>>
>> insert>  List/TOC>  BibTeX bibliography...
>>
>> The file exports to pdf as a charm, with all citations numbered,
>> within brackets and no author names. Ok. Now I would like my citations
>> to be formated as author-year. I've changed the citation style to
>> Natbib (in Document>  Settings>  Bibliography>  Citation Style). The
>> LyX file displays the citations correctly, but when I compile it to
>> pdf, they appear messy, like
>>
>> (author?) [1]
>>
>> for example. Interestingly, the link [1] takes me to the correct place
>> in the bibliography.
>>
>> Is there a way to overcome this issue?
>>
> This means that there is an error in your bib file that is preventing BibTeX
> from reading the author-year combination correctly. It can be many things
> that cause it, but a missing year is often the culprit. The best way to
> debug is to export to LaTeX and compile the file manually. Then you should
> see error messages sufficient to locate the problem.
>
> rh
>
>


Re: Problem regarding Bibtex and natbib

2004-09-21 Thread Dominik Waenhoven
Hello Egil,
Egil Andreas Vartdal schrieb:
References created when natbib is not enabled gives correct output in 
the  form of [1], [2], etc. and the corresponding Reference list in the 
text.  However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert - layout -  
bibliography. When I try converting the document to DVI now, several  
errors occur. [...]
I think you just have to change the used BibTeX-style from plain to 
plainnat. This can be done in the dialog which occurs when clicking on 
the bibliography-button in LyX.

HTH, (og ha det godt)
Dominik.-


Re: Problem regarding Bibtex and natbib

2004-09-21 Thread Dominik Waenhoven
Hello Egil,
Egil Andreas Vartdal schrieb:
References created when natbib is not enabled gives correct output in 
the  form of [1], [2], etc. and the corresponding Reference list in the 
text.  However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert - layout -  
bibliography. When I try converting the document to DVI now, several  
errors occur. [...]
I think you just have to change the used BibTeX-style from plain to 
plainnat. This can be done in the dialog which occurs when clicking on 
the bibliography-button in LyX.

HTH, (og ha det godt)
Dominik.-


Re: Problem regarding Bibtex and natbib

2004-09-21 Thread Dominik Waßenhoven
Hello Egil,
Egil Andreas Vartdal schrieb:
References created when natbib is not enabled gives correct output in 
the  form of [1], [2], etc. and the corresponding Reference list in the 
text.  However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert -> layout ->  
bibliography. When I try converting the document to DVI now, several  
errors occur. [...]
I think you just have to change the used BibTeX-style from "plain" to 
"plainnat". This can be done in the dialog which occurs when clicking on 
the bibliography-button in LyX.

HTH, (og ha det godt)
Dominik.-


Problem regarding Bibtex and natbib

2004-09-20 Thread Egil Andreas Vartdal
References created when natbib is not enabled gives correct output in the  
form of [1], [2], etc. and the corresponding Reference list in the text.  
However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert - layout -  
bibliography. When I try converting the document to DVI now, several  
errors occur. They go something like this:

! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...
l.3 \bibitem{hydropowerplanning}
Try typing  return  to proceed.
If that doesn't work, type  X return  to quit.
This error occurs three times. In the end of the logfile, this is stated:
Package natbib Warning: Empty `thebibliography' environment on input line  
8.

) [2
] (newfile1.aux
Package natbib Warning: Citation(s) may have changed.
(natbib)Rerun to get citations correct.
I have attached the .lyx-file.
When I try to convert to DVI once more, output is generated without errors  
in LyX, but the reference output in the DVI-file is now something like:  
(Author?) [1] which clearly is not what I want.

I do not think my Bibtex-files are flawed, since I have downloaded several  
files from this forum which are supposed to be flawless, and they have all  
resulted in the problem stated above. Too many hours have been lost in  
attempts to find a solution to this problem, so now I turn to you. Is  
there any solution to this?

Regards,
Egil Andreas Vartdal
PS I have both used JabRef and BibEdit to generate .bib-files


newfile1.lyx
Description: Binary data


Problem regarding Bibtex and natbib

2004-09-20 Thread Egil Andreas Vartdal
References created when natbib is not enabled gives correct output in the  
form of [1], [2], etc. and the corresponding Reference list in the text.  
However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert - layout -  
bibliography. When I try converting the document to DVI now, several  
errors occur. They go something like this:

! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...
l.3 \bibitem{hydropowerplanning}
Try typing  return  to proceed.
If that doesn't work, type  X return  to quit.
This error occurs three times. In the end of the logfile, this is stated:
Package natbib Warning: Empty `thebibliography' environment on input line  
8.

) [2
] (newfile1.aux
Package natbib Warning: Citation(s) may have changed.
(natbib)Rerun to get citations correct.
I have attached the .lyx-file.
When I try to convert to DVI once more, output is generated without errors  
in LyX, but the reference output in the DVI-file is now something like:  
(Author?) [1] which clearly is not what I want.

I do not think my Bibtex-files are flawed, since I have downloaded several  
files from this forum which are supposed to be flawless, and they have all  
resulted in the problem stated above. Too many hours have been lost in  
attempts to find a solution to this problem, so now I turn to you. Is  
there any solution to this?

Regards,
Egil Andreas Vartdal
PS I have both used JabRef and BibEdit to generate .bib-files


newfile1.lyx
Description: Binary data


Problem regarding Bibtex and natbib

2004-09-20 Thread Egil Andreas Vartdal
References created when natbib is not enabled gives correct output in the  
form of [1], [2], etc. and the corresponding Reference list in the text.  
However, since I want to have the references in the form of ie  
Guttormsen(2004) etc. I try to enable natbib in Insert -> layout ->  
bibliography. When I try converting the document to DVI now, several  
errors occur. They go something like this:

"! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...
l.3 \bibitem{hydropowerplanning}
Try typingto proceed.
If that doesn't work, type  X   to quit."
This error occurs three times. In the end of the logfile, this is stated:
"Package natbib Warning: Empty `thebibliography' environment on input line  
8.

) [2
] (newfile1.aux
Package natbib Warning: Citation(s) may have changed.
(natbib)Rerun to get citations correct."
I have attached the .lyx-file.
When I try to convert to DVI once more, output is generated without errors  
in LyX, but the reference output in the DVI-file is now something like:  
"(Author?) [1]" which clearly is not what I want.

I do not think my Bibtex-files are flawed, since I have downloaded several  
files from this forum which are supposed to be flawless, and they have all  
resulted in the problem stated above. Too many hours have been lost in  
attempts to find a solution to this problem, so now I turn to you. Is  
there any solution to this?

Regards,
Egil Andreas Vartdal
PS I have both used JabRef and BibEdit to generate .bib-files


newfile1.lyx
Description: Binary data


BibTeX and natbib

2002-01-11 Thread Kevin Middleton


I am having some trouble getting BibTeX and the natbib package to work with 
LyX.  I searched the archive but couldn't find anything that helped.  As I 
am fairly new to both packages as well as LyX to some extent, I suspect 
that the problem is pretty basic.

natbib is declared in the preamble.

I have some text that includes a reference such as \citet{jon90}.

My bib file is 'thebib.bib', which includes a reference 'jon90'.

I have tried two methods, both of which produce the same results:
1. Using the insert BibTeX bibliography feature of LyX with 'thebib' and 
'plainnat' as the file and style.
2. Giving the LaTeX commands \bibliographystyle{plainnat} 
\bibliography{thebib}

I have also tried using other styles (harvard, apalike) with the same results.

The results are:  The output is a dvi where the references in the text are 
replaced with '?' and the 'References' section is created but is empty.

No errors are generated.

Does anyone have any suggestions?

Thanks
Kevin




Re: BibTeX and natbib

2002-01-11 Thread Jean-Pierre.Chretien


Date: Fri, 11 Jan 2002 12:46:30 -0500
To: [EMAIL PROTECTED]
From: Kevin Middleton [EMAIL PROTECTED]
Subject: BibTeX and natbib


I am having some trouble getting BibTeX and the natbib package to work with 
LyX.  I searched the archive but couldn't find anything that helped.  As I 
am fairly new to both packages as well as LyX to some extent, I suspect 
that the problem is pretty basic.

natbib is declared in the preamble.

I have some text that includes a reference such as \citet{jon90}.

My bib file is 'thebib.bib', which includes a reference 'jon90'.

I have tried two methods, both of which produce the same results:
  1. Using the insert BibTeX bibliography feature of LyX with 'thebib' and 
'plainnat' as the file and style.
  2. Giving the LaTeX commands \bibliographystyle{plainnat} 
\bibliography{thebib}

I have also tried using other styles (harvard, apalike) with the same results.

The results are:  The output is a dvi where the references in the text are 
replaced with '?' and the 'References' section is created but is empty.

No errors are generated.

Does anyone have any suggestions?

Have a look at a file with .blg suffix in the working temporary of lyx
Bibtex errors go there.
Hopefully self explaining...

-- 
Jean-Pierre




Re: BibTeX and natbib

2002-01-11 Thread Dekel Tsur

On Fri, Jan 11, 2002 at 12:46:30PM -0500, Kevin Middleton wrote:
 
 I am having some trouble getting BibTeX and the natbib package to work with 
 LyX.  I searched the archive but couldn't find anything that helped.  As I 
 am fairly new to both packages as well as LyX to some extent, I suspect 
 that the problem is pretty basic.
 
 natbib is declared in the preamble.
 
 I have some text that includes a reference such as \citet{jon90}.
 
 My bib file is 'thebib.bib', which includes a reference 'jon90'.
 
 I have also tried using other styles (harvard, apalike) with the same results.
 
 The results are:  The output is a dvi where the references in the text are 
 replaced with '?' and the 'References' section is created but is empty.
 
 No errors are generated.
 
 Does anyone have any suggestions?

This was a bug with lyx = 1.1.6fix2.
Upgrade to lyx 1.1.6fix3 (BTW, lyx 1.1.6fix4 should be out soon).



Re: BibTeX and natbib

2002-01-11 Thread Herbert Voss

Kevin Middleton wrote:

 
 1. Using the insert BibTeX bibliography feature of LyX with 'thebib' 
 and 'plainnat' as the file and style.
 2. Giving the LaTeX commands \bibliographystyle{plainnat} 
 \bibliography{thebib}


try to insert the bibfile with full path.


Herbert



-- 
http://www.lyx.org/help/




BibTeX and natbib

2002-01-11 Thread Kevin Middleton


I am having some trouble getting BibTeX and the natbib package to work with 
LyX.  I searched the archive but couldn't find anything that helped.  As I 
am fairly new to both packages as well as LyX to some extent, I suspect 
that the problem is pretty basic.

natbib is declared in the preamble.

I have some text that includes a reference such as \citet{jon90}.

My bib file is 'thebib.bib', which includes a reference 'jon90'.

I have tried two methods, both of which produce the same results:
1. Using the insert BibTeX bibliography feature of LyX with 'thebib' and 
'plainnat' as the file and style.
2. Giving the LaTeX commands \bibliographystyle{plainnat} 
\bibliography{thebib}

I have also tried using other styles (harvard, apalike) with the same results.

The results are:  The output is a dvi where the references in the text are 
replaced with '?' and the 'References' section is created but is empty.

No errors are generated.

Does anyone have any suggestions?

Thanks
Kevin




Re: BibTeX and natbib

2002-01-11 Thread Jean-Pierre.Chretien


Date: Fri, 11 Jan 2002 12:46:30 -0500
To: [EMAIL PROTECTED]
From: Kevin Middleton [EMAIL PROTECTED]
Subject: BibTeX and natbib


I am having some trouble getting BibTeX and the natbib package to work with 
LyX.  I searched the archive but couldn't find anything that helped.  As I 
am fairly new to both packages as well as LyX to some extent, I suspect 
that the problem is pretty basic.

natbib is declared in the preamble.

I have some text that includes a reference such as \citet{jon90}.

My bib file is 'thebib.bib', which includes a reference 'jon90'.

I have tried two methods, both of which produce the same results:
  1. Using the insert BibTeX bibliography feature of LyX with 'thebib' and 
'plainnat' as the file and style.
  2. Giving the LaTeX commands \bibliographystyle{plainnat} 
\bibliography{thebib}

I have also tried using other styles (harvard, apalike) with the same results.

The results are:  The output is a dvi where the references in the text are 
replaced with '?' and the 'References' section is created but is empty.

No errors are generated.

Does anyone have any suggestions?

Have a look at a file with .blg suffix in the working temporary of lyx
Bibtex errors go there.
Hopefully self explaining...

-- 
Jean-Pierre




Re: BibTeX and natbib

2002-01-11 Thread Dekel Tsur

On Fri, Jan 11, 2002 at 12:46:30PM -0500, Kevin Middleton wrote:
 
 I am having some trouble getting BibTeX and the natbib package to work with 
 LyX.  I searched the archive but couldn't find anything that helped.  As I 
 am fairly new to both packages as well as LyX to some extent, I suspect 
 that the problem is pretty basic.
 
 natbib is declared in the preamble.
 
 I have some text that includes a reference such as \citet{jon90}.
 
 My bib file is 'thebib.bib', which includes a reference 'jon90'.
 
 I have also tried using other styles (harvard, apalike) with the same results.
 
 The results are:  The output is a dvi where the references in the text are 
 replaced with '?' and the 'References' section is created but is empty.
 
 No errors are generated.
 
 Does anyone have any suggestions?

This was a bug with lyx = 1.1.6fix2.
Upgrade to lyx 1.1.6fix3 (BTW, lyx 1.1.6fix4 should be out soon).



Re: BibTeX and natbib

2002-01-11 Thread Herbert Voss

Kevin Middleton wrote:

 
 1. Using the insert BibTeX bibliography feature of LyX with 'thebib' 
 and 'plainnat' as the file and style.
 2. Giving the LaTeX commands \bibliographystyle{plainnat} 
 \bibliography{thebib}


try to insert the bibfile with full path.


Herbert



-- 
http://www.lyx.org/help/




BibTeX and natbib

2002-01-11 Thread Kevin Middleton


I am having some trouble getting BibTeX and the natbib package to work with 
LyX.  I searched the archive but couldn't find anything that helped.  As I 
am fairly new to both packages as well as LyX to some extent, I suspect 
that the problem is pretty basic.

natbib is declared in the preamble.

I have some text that includes a reference such as \citet{jon90}.

My bib file is 'thebib.bib', which includes a reference 'jon90'.

I have tried two methods, both of which produce the same results:
1. Using the insert BibTeX bibliography feature of LyX with 'thebib' and 
'plainnat' as the file and style.
2. Giving the LaTeX commands \bibliographystyle{plainnat} 
\bibliography{thebib}

I have also tried using other styles (harvard, apalike) with the same results.

The results are:  The output is a dvi where the references in the text are 
replaced with '?' and the 'References' section is created but is empty.

No errors are generated.

Does anyone have any suggestions?

Thanks
Kevin




Re: BibTeX and natbib

2002-01-11 Thread Jean-Pierre.Chretien


>>Date: Fri, 11 Jan 2002 12:46:30 -0500
>>To: [EMAIL PROTECTED]
>>From: Kevin Middleton <[EMAIL PROTECTED]>
>>Subject: BibTeX and natbib
>>
>>
>>I am having some trouble getting BibTeX and the natbib package to work with 
>>LyX.  I searched the archive but couldn't find anything that helped.  As I 
>>am fairly new to both packages as well as LyX to some extent, I suspect 
>>that the problem is pretty basic.
>>
>>natbib is declared in the preamble.
>>
>>I have some text that includes a reference such as \citet{jon90}.
>>
>>My bib file is 'thebib.bib', which includes a reference 'jon90'.
>>
>>I have tried two methods, both of which produce the same results:
>>  1. Using the insert BibTeX bibliography feature of LyX with 'thebib' and 
>>'plainnat' as the file and style.
>>  2. Giving the LaTeX commands \bibliographystyle{plainnat} 
>>\bibliography{thebib}
>>
>>I have also tried using other styles (harvard, apalike) with the same results.
>>
>>The results are:  The output is a dvi where the references in the text are 
>>replaced with '?' and the 'References' section is created but is empty.
>>
>>No errors are generated.
>>
>>Does anyone have any suggestions?

Have a look at a file with .blg suffix in the working temporary of lyx
Bibtex errors go there.
Hopefully self explaining...

-- 
Jean-Pierre




Re: BibTeX and natbib

2002-01-11 Thread Dekel Tsur

On Fri, Jan 11, 2002 at 12:46:30PM -0500, Kevin Middleton wrote:
> 
> I am having some trouble getting BibTeX and the natbib package to work with 
> LyX.  I searched the archive but couldn't find anything that helped.  As I 
> am fairly new to both packages as well as LyX to some extent, I suspect 
> that the problem is pretty basic.
> 
> natbib is declared in the preamble.
> 
> I have some text that includes a reference such as \citet{jon90}.
> 
> My bib file is 'thebib.bib', which includes a reference 'jon90'.
> 
> I have also tried using other styles (harvard, apalike) with the same results.
> 
> The results are:  The output is a dvi where the references in the text are 
> replaced with '?' and the 'References' section is created but is empty.
> 
> No errors are generated.
> 
> Does anyone have any suggestions?

This was a bug with lyx <= 1.1.6fix2.
Upgrade to lyx 1.1.6fix3 (BTW, lyx 1.1.6fix4 should be out soon).



Re: BibTeX and natbib

2002-01-11 Thread Herbert Voss

Kevin Middleton wrote:

> 
> 1. Using the insert BibTeX bibliography feature of LyX with 'thebib' 
> and 'plainnat' as the file and style.
> 2. Giving the LaTeX commands \bibliographystyle{plainnat} 
> \bibliography{thebib}


try to insert the bibfile with full path.


Herbert



-- 
http://www.lyx.org/help/