Discussion:
Citation style
Wolfgang Engelmann
2013-08-15 10:47:22 UTC
Permalink
I get this error:

! Package natbib Error: Bibliography not compatible with author-year
citations.

Check the bibliography entries for non-compliant syntax,
or select author-year BibTeX style, e.g. plainnat

Where do I choose the proposed style?

In Document>setting>Bibliography
I can't find it,
only default (numerical), Natbib style Author-year and numerical.

Do I have to do it via Latex-Preamble?

I use Linux Debian

Wolfgang
Richard Heck
2013-08-15 13:18:04 UTC
Permalink
Post by Wolfgang Engelmann
! Package natbib Error: Bibliography not compatible with author-year
citations.
Check the bibliography entries for non-compliant syntax,
or select author-year BibTeX style, e.g. plainnat
Where do I choose the proposed style?
The style is chosen from a dialog you will get if you click on the
bibliography inset itself.

Richard
Wolfgang Engelmann
2013-08-15 15:10:22 UTC
Permalink
Post by Richard Heck
Post by Wolfgang Engelmann
! Package natbib Error: Bibliography not compatible with author-year
citations.
Check the bibliography entries for non-compliant syntax,
or select author-year BibTeX style, e.g. plainnat
Where do I choose the proposed style?
The style is chosen from a dialog you will get if you click on the
bibliography inset itself.
Thanks, Richard.

If I choose vancouver (which is shown in the dropdown dialog)

I get:
##########
I'm skipping whatever remI'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
ains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
###########

and the references in the pdf output are shown as ???

What have I done wrongly? Do I have to remove the .aux file first, because
lyx might have taken an older aux file? And where would I find this aux-file?

If I export the document as .tex and run latex on it 3 times and afterward
bibtex, I get:

############

This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: PBR-20130815A.20.aux
I couldn't open style file srtnat.bst
---line 19 of file PBR-20130815A.20.aux
: \bibstyle{srtnat
: }
############
this is strange, I tried srtnat before, but in the current run used
vancouver
############
continued error output:
I'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux


Wolfgang
Wolfgang Engelmann
2013-08-15 17:39:59 UTC
Permalink
Post by Wolfgang Engelmann
Post by Richard Heck
Post by Wolfgang Engelmann
! Package natbib Error: Bibliography not compatible with author-year
citations.
Check the bibliography entries for non-compliant syntax,
or select author-year BibTeX style, e.g. plainnat
Where do I choose the proposed style?
The style is chosen from a dialog you will get if you click on the
bibliography inset itself.
Thanks, Richard.
If I choose vancouver (which is shown in the dropdown dialog)
##########
I'm skipping whatever remI'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file
PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
ains of this command
Illegal, another \bibstyle command---line 1699 of file
PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
###########
and the references in the pdf output are shown as ???
What have I done wrongly? Do I have to remove the .aux file first,
because lyx might have taken an older aux file? And where would I find
this aux-file?
If I export the document as .tex and run latex on it 3 times and
############
This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: PBR-20130815A.20.aux
I couldn't open style file srtnat.bst
---line 19 of file PBR-20130815A.20.aux
: \bibstyle{srtnat
: }
I am sorry, I just noticed that I forgot to remove
\bibliographystyle{srtnat}
from the preamble. Removing it, gives me now the vancouver style in the
bibliography,

but where do I determine the citation style in the book text?

In Document>setting>Bibliography
I find only default (numerical), Natbib style Author-year and numerical.
I do not want numerical, but need actually the citation style also in
vancouver. How do I achieve this?

Wolfgang
Post by Wolfgang Engelmann
############
this is strange, I tried srtnat before, but in the current run used
vancouver
############
I'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file
PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
Wolfgang
--
---------------------------------
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325
Richard Heck
2013-08-16 17:38:09 UTC
Permalink
Post by Wolfgang Engelmann
Post by Wolfgang Engelmann
Post by Richard Heck
Post by Wolfgang Engelmann
! Package natbib Error: Bibliography not compatible with author-year
citations.
Check the bibliography entries for non-compliant syntax,
or select author-year BibTeX style, e.g. plainnat
Where do I choose the proposed style?
The style is chosen from a dialog you will get if you click on the
bibliography inset itself.
Thanks, Richard.
If I choose vancouver (which is shown in the dropdown dialog)
##########
I'm skipping whatever remI'm skipping whatever remains of this command
Illegal, another \bibstyle command---line 1699 of file
PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
ains of this command
Illegal, another \bibstyle command---line 1699 of file
PBR-20130815A.20.aux
: \bibstyle
: {vancouver}
I'm skipping whatever remains of this command
I found no style file---while reading file PBR-20130815A.20.aux
###########
and the references in the pdf output are shown as ???
What have I done wrongly? Do I have to remove the .aux file first,
because lyx might have taken an older aux file? And where would I find
this aux-file?
If I export the document as .tex and run latex on it 3 times and
############
This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: PBR-20130815A.20.aux
I couldn't open style file srtnat.bst
---line 19 of file PBR-20130815A.20.aux
: \bibstyle{srtnat
: }
I am sorry, I just noticed that I forgot to remove
\bibliographystyle{srtnat}
from the preamble. Removing it, gives me now the vancouver style in
the bibliography,
but where do I determine the citation style in the book text?
In Document>setting>Bibliography
I find only default (numerical), Natbib style Author-year and numerical.
I do not want numerical, but need actually the citation style also in
vancouver. How do I achieve this?
I am not sure this is possible. The documentation for the Vancouver
style says explicitly that it is a numerical style. You could try
selecting "Natbib" and then selecting "Author-year". It might work, but
then it might not.

Richard
Wolfgang Engelmann
2013-08-18 15:50:47 UTC
Permalink
Am Friday, 16. August 2013, 19:38:09 schrieb Richard Heck:

Thanks for the responses. What I actually would like to have is an example
template of the Springer publisher (sv) svmult (multiple authors), which
hopefully contains also the required citing and referencing style. This is
not provided. I guess, there are people on the list who used it before and
I would appreciate a short example showing the required features.

Wolfgang

Continue reading on narkive:
Loading...