Re: how to restrict cited authors to 3 in the Bibliography

2014-09-27 Thread Wolfgang Engelmann


Am 26.09.2014 um 23:18 schrieb Julien Rioux:

On 26/09/2014 5:07 PM, Benedict Holland wrote:

Wouldn't that change the default for every document using that
particular style though? If this is only for one journal, modification
of style files would not only be overkill, but would impact future work
in unexpected ways. To get the desired results, it would be best to
limit it to document specific changes. For that, configuring biblatex or
biber or biblatex using biber would be the much more prefered approach.
A philosophy of don't change more than you need to is demanded when
using lyx and latex, at least to me. That said, yes. Changing the format
of how bibtex writes out the references in the document would work but
from a technical standpoint, that does far more than just change the
reference output for a single document so would best be avoided.

~Ben



Your concern is true only if one saves the modified file under the 
same name as the original and somewhere in the tex tree. Good practice 
dictates that if one modifies a style file, then a different name is 
also given to it, as I did. And one can decide whether to have this 
new style available in the tex tree or to keep it local, since it is 
sufficient to have it saved in the current document's directory.


I can understand that bibtex has deep issues which are only really 
addressed by moving on to a different system, but the concern you 
raise does not appear to me to be one of them.


Cheers,
Julien


Thanks, Julien and Benedict for your advices.

Since it was very fast (just copied the attached spbasic3.bst to my 
local folder and changed spbasic.bst to spbasic3.bst under Bibtex 
generated Bibliography at the end of my document) I used Juliens 
proposal, although I will try biber/biblatex later when I am not under 
time pressure.


I am so glad to have LyX and such a helpful and kind list behind it.
Wolfgang


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-27 Thread Wolfgang Engelmann


Am 26.09.2014 um 23:18 schrieb Julien Rioux:

On 26/09/2014 5:07 PM, Benedict Holland wrote:

Wouldn't that change the default for every document using that
particular style though? If this is only for one journal, modification
of style files would not only be overkill, but would impact future work
in unexpected ways. To get the desired results, it would be best to
limit it to document specific changes. For that, configuring biblatex or
biber or biblatex using biber would be the much more prefered approach.
A philosophy of don't change more than you need to is demanded when
using lyx and latex, at least to me. That said, yes. Changing the format
of how bibtex writes out the references in the document would work but
from a technical standpoint, that does far more than just change the
reference output for a single document so would best be avoided.

~Ben



Your concern is true only if one saves the modified file under the 
same name as the original and somewhere in the tex tree. Good practice 
dictates that if one modifies a style file, then a different name is 
also given to it, as I did. And one can decide whether to have this 
new style available in the tex tree or to keep it local, since it is 
sufficient to have it saved in the current document's directory.


I can understand that bibtex has deep issues which are only really 
addressed by moving on to a different system, but the concern you 
raise does not appear to me to be one of them.


Cheers,
Julien


Thanks, Julien and Benedict for your advices.

Since it was very fast (just copied the attached spbasic3.bst to my 
local folder and changed spbasic.bst to spbasic3.bst under Bibtex 
generated Bibliography at the end of my document) I used Juliens 
proposal, although I will try biber/biblatex later when I am not under 
time pressure.


I am so glad to have LyX and such a helpful and kind list behind it.
Wolfgang


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-27 Thread Wolfgang Engelmann


Am 26.09.2014 um 23:18 schrieb Julien Rioux:

On 26/09/2014 5:07 PM, Benedict Holland wrote:

Wouldn't that change the default for every document using that
particular style though? If this is only for one journal, modification
of style files would not only be overkill, but would impact future work
in unexpected ways. To get the desired results, it would be best to
limit it to document specific changes. For that, configuring biblatex or
biber or biblatex using biber would be the much more prefered approach.
A philosophy of "don't change more than you need to" is demanded when
using lyx and latex, at least to me. That said, yes. Changing the format
of how bibtex writes out the references in the document would work but
from a technical standpoint, that does far more than just change the
reference output for a single document so would best be avoided.

~Ben



Your concern is true only if one saves the modified file under the 
same name as the original and somewhere in the tex tree. Good practice 
dictates that if one modifies a style file, then a different name is 
also given to it, as I did. And one can decide whether to have this 
new style available in the tex tree or to keep it local, since it is 
sufficient to have it saved in the current document's directory.


I can understand that bibtex has deep issues which are only really 
addressed by moving on to a different system, but the concern you 
raise does not appear to me to be one of them.


Cheers,
Julien


Thanks, Julien and Benedict for your advices.

Since it was very fast (just copied the attached spbasic3.bst to my 
local folder and changed spbasic.bst to spbasic3.bst under Bibtex 
generated Bibliography at the end of my document) I used Juliens 
proposal, although I will try biber/biblatex later when I am not under 
time pressure.


I am so glad to have LyX and such a helpful and kind list behind it.
Wolfgang


how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict it 
to 3?

I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict 
it to 3?

I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang

p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation



Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you want
but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


 Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle
 (Koma script book)
 and get the citations in the text right (Author1, X et al)
 However, in the references all Coauthors are cited. How can I resrict it
 to 3?
 I tried to find an answer in the net, adding
 \usepackage{natbib} to the preamble did not help.
 Anybody who could help with a pointer?

 Wolfgang

 p.S.
 In the references it should read like
 Author1,X, Author2,X Author3,X et al
 where X is the prenome abbreviation




Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann

Thanks, Benedict.
How difficult is it to switch to biblatex and what can go wrong?
Wolfgang

Am 26.09.2014 um 17:37 schrieb Benedict Holland:

You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you want
but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle

(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict it
to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation






Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann


Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:

Thanks, Benedict.
How difficult is it to switch to biblatex and what can go wrong?
Wolfgang

And what about biber under lyx?
Wolfgang


Am 26.09.2014 um 17:37 schrieb Benedict Holland:

You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you 
want

but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle

(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I 
resrict it

to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation








Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread stefano franchi
On Fri, Sep 26, 2014 at 11:13 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


 Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:

 Thanks, Benedict.
 How difficult is it to switch to biblatex and what can go wrong?
 Wolfgang

 And what about biber under lyx?


Biber/biblatex usually work well under lyx if you follow the instructions
in the wiki.
Or did you have a specific problem in mind?

S.

-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
I would say that what could go wrong is your references might need to be
cleaned up. I know that was the huge shift for me. The major difference
(and in my opinion a terrible decision) is that biblatex assumed that your
bib file is valid latex code. That means that all reserved characters are
escaped. I work in economics so for me, the dollar sign was the big one. I
also found that there are a lot of configuration options. For me, this code
was the closest I closest I got to the default lyx.

BTW, biber should work well too. Both require additional work. For me,
biblatex was the choice I made but I am not saying it is the only choice.

The document explaining biblatex-lyx integration is here.
http://wiki.lyx.org/BibTeX/Biblatex If you follow the steps carefully it
should not be problematic. This will require some careful tweaking on your
end though. It took me a very long time to get two or more authors to be
author 1 et. al. AND for the full list of authors to be listed in the
bibliogrophy. For you, Wolfgang, given the specific requirements I would
suggest biblatex. Getting it work will only help you in the long run but I
found the process to less ideal than I would have liked. It took me about
an hour or two to get everything working the way I wanted it to and most of
it was figuring out the usepackage options.

~Ben

On Fri, Sep 26, 2014 at 2:47 PM, stefano franchi stefano.fran...@gmail.com
wrote:



 On Fri, Sep 26, 2014 at 11:13 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:


 Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:

 Thanks, Benedict.
 How difficult is it to switch to biblatex and what can go wrong?
 Wolfgang

 And what about biber under lyx?


 Biber/biblatex usually work well under lyx if you follow the instructions
 in the wiki.
 Or did you have a specific problem in mind?

 S.

 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Julien Rioux

On 26/09/2014 9:38 AM, Wolfgang Engelmann wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict
it to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang

p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation





To stick to bibtex, you would have to slightly modify the .bst style 
file, namely the format.names function, maybe something like this:


$ diff -u spbasic.bst spbasic3.bst
--- spbasic.bst 2014-09-26 16:17:29.093778700 -0400
+++ spbasic3.bst2014-09-26 16:25:46.120207000 -0400
@@ -490,6 +490,12 @@
   if$
   nameptr #1 + 'nameptr :=
   namesleft #1 - 'namesleft :=
+  nameptr #3 
+  namesleft #0 
+  and
+{  * bbl.etal * #0 'namesleft :=}
+{}
+  if$
 }
   while$
   } if$

The above says, if 3 names have already been printed, and the number of 
names remaining to be printed is greater than zero, than print   and 
et al and set the number of remaining names to zero.


Attached is spbasic3.bst, a style file based on spbasic.bst with the 
above change.


Cheers,
Julien

--
Julien
%%
%% This is file `spbasic.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% merlin.mbs  (with options: 
`ay,nat,seq-lab,vonx,nm-rvx,ed-rev,jnrlst,dt-beg,yr-par,yrp-x,yrpp-xsp,note-yr,jxper,jttl-rm,thtit-a,pgsep-c,num-xser,ser-vol,jnm-x,btit-rm,bt-rm,pre-pub,doi,edparxc,blk-tit,in-col,fin-bare,pp,ed,abr,mth-bare,ord,jabr,xand,eprint,url,url-blk,em-x,nfss,')
%% 
%%
%%%%
%%  
  %%
%% For Springer medical, life sciences, chemistry, geology, engineering and 
  %%
%%   computer science publications. 
  %%
%% For use with the natbib package (see below). Default is author-year 
citations. %%
%%   When citations are numbered, please use \usepackage[numbers]{natbib}.  
  %%
%% A lack of punctuation is the key feature. Springer-Verlag 2004/10/15 
  %%
%% Report bugs and improvements to: Joylene Vette-Guillaume or Frank Holzwarth  
  %%
%%  
  %%
%%%%
%%
%% Copyright 1994-2004 Patrick W Daly
 % ===
 % IMPORTANT NOTICE:
 % This bibliographic style (bst) file has been generated from one or
 % more master bibliographic style (mbs) files, listed above.
 %
 % This generated file can be redistributed and/or modified under the terms
 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt; either
 % version 1 of the License, or any later version.
 % ===
 % Name and version information of the main mbs file:
 % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
 %   For use with BibTeX version 0.99a or later
 %---
 % This bibliography style file is intended for texts in ENGLISH
 % This is an author-year citation style bibliography. As such, it is
 % non-standard LaTeX, and requires a special package file to function properly.
 % Such a package isnatbib.sty   by Patrick W. Daly
 % The form of the \bibitem entries is
 %   \bibitem[Jones et al.(1990)]{key}...
 %   \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
 % The essential feature is that the label (the part in brackets) consists
 % of the author names, as they should appear in the citation, with the year
 % in parentheses following. There must be no space before the opening
 % parenthesis!
 % With natbib v5.3, a full list of authors may also follow the year.
 % In natbib.sty, it is possible to define the type of enclosures that is
 % really wanted (brackets or parentheses), but in either case, there must
 % be parentheses in the label.
 % The \cite command functions as follows:
 %   \citet{key} ==Jones et al. (1990)
 %   \citet*{key} ==   Jones, Baker, and Smith (1990)
 %   \citep{key} ==(Jones et al., 1990)
 %   \citep*{key} ==   (Jones, Baker, and Smith, 1990)
 %   \citep[chap. 2]{key} ==   (Jones et al., 1990, chap. 2)
 %   \citep[e.g.][]{key} ==(e.g. Jones et al., 1990)
 %   \citep[e.g.][p. 32]{key} ==   (e.g. Jones et al., p. 32)
 %   \citeauthor{key} ==   Jones et al.
 %   \citeauthor*{key} ==  

Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
Wouldn't that change the default for every document using that particular
style though? If this is only for one journal, modification of style files
would not only be overkill, but would impact future work in unexpected
ways. To get the desired results, it would be best to limit it to document
specific changes. For that, configuring biblatex or biber or biblatex using
biber would be the much more prefered approach. A philosophy of don't
change more than you need to is demanded when using lyx and latex, at
least to me. That said, yes. Changing the format of how bibtex writes out
the references in the document would work but from a technical standpoint,
that does far more than just change the reference output for a single
document so would best be avoided.

~Ben

On Fri, Sep 26, 2014 at 4:34 PM, Julien Rioux jri...@lyx.org wrote:

 On 26/09/2014 9:38 AM, Wolfgang Engelmann wrote:


 Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

 I use spbasic (Springer Publ) as the bibstyle
 (Koma script book)
 and get the citations in the text right (Author1, X et al)
 However, in the references all Coauthors are cited. How can I resrict
 it to 3?
 I tried to find an answer in the net, adding
 \usepackage{natbib} to the preamble did not help.
 Anybody who could help with a pointer?

 Wolfgang

 p.S.
 In the references it should read like
 Author1,X, Author2,X Author3,X et al
 where X is the prenome abbreviation




 To stick to bibtex, you would have to slightly modify the .bst style file,
 namely the format.names function, maybe something like this:

 $ diff -u spbasic.bst spbasic3.bst
 --- spbasic.bst 2014-09-26 16:17:29.093778700 -0400
 +++ spbasic3.bst2014-09-26 16:25:46.120207000 -0400
 @@ -490,6 +490,12 @@
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
 +  nameptr #3 
 +  namesleft #0 
 +  and
 +{  * bbl.etal * #0 'namesleft :=}
 +{}
 +  if$
  }
while$
} if$

 The above says, if 3 names have already been printed, and the number of
 names remaining to be printed is greater than zero, than print   and et
 al and set the number of remaining names to zero.

 Attached is spbasic3.bst, a style file based on spbasic.bst with the above
 change.

 Cheers,
 Julien

 --
 Julien



Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Julien Rioux

On 26/09/2014 5:07 PM, Benedict Holland wrote:

Wouldn't that change the default for every document using that
particular style though? If this is only for one journal, modification
of style files would not only be overkill, but would impact future work
in unexpected ways. To get the desired results, it would be best to
limit it to document specific changes. For that, configuring biblatex or
biber or biblatex using biber would be the much more prefered approach.
A philosophy of don't change more than you need to is demanded when
using lyx and latex, at least to me. That said, yes. Changing the format
of how bibtex writes out the references in the document would work but
from a technical standpoint, that does far more than just change the
reference output for a single document so would best be avoided.

~Ben



Your concern is true only if one saves the modified file under the same 
name as the original and somewhere in the tex tree. Good practice 
dictates that if one modifies a style file, then a different name is 
also given to it, as I did. And one can decide whether to have this new 
style available in the tex tree or to keep it local, since it is 
sufficient to have it saved in the current document's directory.


I can understand that bibtex has deep issues which are only really 
addressed by moving on to a different system, but the concern you raise 
does not appear to me to be one of them.


Cheers,
Julien


how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict it 
to 3?

I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict 
it to 3?

I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang

p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation



Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you want
but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


 Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle
 (Koma script book)
 and get the citations in the text right (Author1, X et al)
 However, in the references all Coauthors are cited. How can I resrict it
 to 3?
 I tried to find an answer in the net, adding
 \usepackage{natbib} to the preamble did not help.
 Anybody who could help with a pointer?

 Wolfgang

 p.S.
 In the references it should read like
 Author1,X, Author2,X Author3,X et al
 where X is the prenome abbreviation




Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann

Thanks, Benedict.
How difficult is it to switch to biblatex and what can go wrong?
Wolfgang

Am 26.09.2014 um 17:37 schrieb Benedict Holland:

You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you want
but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle

(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict it
to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation






Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann


Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:

Thanks, Benedict.
How difficult is it to switch to biblatex and what can go wrong?
Wolfgang

And what about biber under lyx?
Wolfgang


Am 26.09.2014 um 17:37 schrieb Benedict Holland:

You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you 
want

but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle

(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I 
resrict it

to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation








Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread stefano franchi
On Fri, Sep 26, 2014 at 11:13 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:


 Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:

 Thanks, Benedict.
 How difficult is it to switch to biblatex and what can go wrong?
 Wolfgang

 And what about biber under lyx?


Biber/biblatex usually work well under lyx if you follow the instructions
in the wiki.
Or did you have a specific problem in mind?

S.

-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
I would say that what could go wrong is your references might need to be
cleaned up. I know that was the huge shift for me. The major difference
(and in my opinion a terrible decision) is that biblatex assumed that your
bib file is valid latex code. That means that all reserved characters are
escaped. I work in economics so for me, the dollar sign was the big one. I
also found that there are a lot of configuration options. For me, this code
was the closest I closest I got to the default lyx.

BTW, biber should work well too. Both require additional work. For me,
biblatex was the choice I made but I am not saying it is the only choice.

The document explaining biblatex-lyx integration is here.
http://wiki.lyx.org/BibTeX/Biblatex If you follow the steps carefully it
should not be problematic. This will require some careful tweaking on your
end though. It took me a very long time to get two or more authors to be
author 1 et. al. AND for the full list of authors to be listed in the
bibliogrophy. For you, Wolfgang, given the specific requirements I would
suggest biblatex. Getting it work will only help you in the long run but I
found the process to less ideal than I would have liked. It took me about
an hour or two to get everything working the way I wanted it to and most of
it was figuring out the usepackage options.

~Ben

On Fri, Sep 26, 2014 at 2:47 PM, stefano franchi stefano.fran...@gmail.com
wrote:



 On Fri, Sep 26, 2014 at 11:13 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:


 Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:

 Thanks, Benedict.
 How difficult is it to switch to biblatex and what can go wrong?
 Wolfgang

 And what about biber under lyx?


 Biber/biblatex usually work well under lyx if you follow the instructions
 in the wiki.
 Or did you have a specific problem in mind?

 S.

 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Julien Rioux

On 26/09/2014 9:38 AM, Wolfgang Engelmann wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict
it to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang

p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation





To stick to bibtex, you would have to slightly modify the .bst style 
file, namely the format.names function, maybe something like this:


$ diff -u spbasic.bst spbasic3.bst
--- spbasic.bst 2014-09-26 16:17:29.093778700 -0400
+++ spbasic3.bst2014-09-26 16:25:46.120207000 -0400
@@ -490,6 +490,12 @@
   if$
   nameptr #1 + 'nameptr :=
   namesleft #1 - 'namesleft :=
+  nameptr #3 
+  namesleft #0 
+  and
+{  * bbl.etal * #0 'namesleft :=}
+{}
+  if$
 }
   while$
   } if$

The above says, if 3 names have already been printed, and the number of 
names remaining to be printed is greater than zero, than print   and 
et al and set the number of remaining names to zero.


Attached is spbasic3.bst, a style file based on spbasic.bst with the 
above change.


Cheers,
Julien

--
Julien
%%
%% This is file `spbasic.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% merlin.mbs  (with options: 
`ay,nat,seq-lab,vonx,nm-rvx,ed-rev,jnrlst,dt-beg,yr-par,yrp-x,yrpp-xsp,note-yr,jxper,jttl-rm,thtit-a,pgsep-c,num-xser,ser-vol,jnm-x,btit-rm,bt-rm,pre-pub,doi,edparxc,blk-tit,in-col,fin-bare,pp,ed,abr,mth-bare,ord,jabr,xand,eprint,url,url-blk,em-x,nfss,')
%% 
%%
%%%%
%%  
  %%
%% For Springer medical, life sciences, chemistry, geology, engineering and 
  %%
%%   computer science publications. 
  %%
%% For use with the natbib package (see below). Default is author-year 
citations. %%
%%   When citations are numbered, please use \usepackage[numbers]{natbib}.  
  %%
%% A lack of punctuation is the key feature. Springer-Verlag 2004/10/15 
  %%
%% Report bugs and improvements to: Joylene Vette-Guillaume or Frank Holzwarth  
  %%
%%  
  %%
%%%%
%%
%% Copyright 1994-2004 Patrick W Daly
 % ===
 % IMPORTANT NOTICE:
 % This bibliographic style (bst) file has been generated from one or
 % more master bibliographic style (mbs) files, listed above.
 %
 % This generated file can be redistributed and/or modified under the terms
 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt; either
 % version 1 of the License, or any later version.
 % ===
 % Name and version information of the main mbs file:
 % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
 %   For use with BibTeX version 0.99a or later
 %---
 % This bibliography style file is intended for texts in ENGLISH
 % This is an author-year citation style bibliography. As such, it is
 % non-standard LaTeX, and requires a special package file to function properly.
 % Such a package isnatbib.sty   by Patrick W. Daly
 % The form of the \bibitem entries is
 %   \bibitem[Jones et al.(1990)]{key}...
 %   \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
 % The essential feature is that the label (the part in brackets) consists
 % of the author names, as they should appear in the citation, with the year
 % in parentheses following. There must be no space before the opening
 % parenthesis!
 % With natbib v5.3, a full list of authors may also follow the year.
 % In natbib.sty, it is possible to define the type of enclosures that is
 % really wanted (brackets or parentheses), but in either case, there must
 % be parentheses in the label.
 % The \cite command functions as follows:
 %   \citet{key} ==Jones et al. (1990)
 %   \citet*{key} ==   Jones, Baker, and Smith (1990)
 %   \citep{key} ==(Jones et al., 1990)
 %   \citep*{key} ==   (Jones, Baker, and Smith, 1990)
 %   \citep[chap. 2]{key} ==   (Jones et al., 1990, chap. 2)
 %   \citep[e.g.][]{key} ==(e.g. Jones et al., 1990)
 %   \citep[e.g.][p. 32]{key} ==   (e.g. Jones et al., p. 32)
 %   \citeauthor{key} ==   Jones et al.
 %   \citeauthor*{key} ==  

Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
Wouldn't that change the default for every document using that particular
style though? If this is only for one journal, modification of style files
would not only be overkill, but would impact future work in unexpected
ways. To get the desired results, it would be best to limit it to document
specific changes. For that, configuring biblatex or biber or biblatex using
biber would be the much more prefered approach. A philosophy of don't
change more than you need to is demanded when using lyx and latex, at
least to me. That said, yes. Changing the format of how bibtex writes out
the references in the document would work but from a technical standpoint,
that does far more than just change the reference output for a single
document so would best be avoided.

~Ben

On Fri, Sep 26, 2014 at 4:34 PM, Julien Rioux jri...@lyx.org wrote:

 On 26/09/2014 9:38 AM, Wolfgang Engelmann wrote:


 Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

 I use spbasic (Springer Publ) as the bibstyle
 (Koma script book)
 and get the citations in the text right (Author1, X et al)
 However, in the references all Coauthors are cited. How can I resrict
 it to 3?
 I tried to find an answer in the net, adding
 \usepackage{natbib} to the preamble did not help.
 Anybody who could help with a pointer?

 Wolfgang

 p.S.
 In the references it should read like
 Author1,X, Author2,X Author3,X et al
 where X is the prenome abbreviation




 To stick to bibtex, you would have to slightly modify the .bst style file,
 namely the format.names function, maybe something like this:

 $ diff -u spbasic.bst spbasic3.bst
 --- spbasic.bst 2014-09-26 16:17:29.093778700 -0400
 +++ spbasic3.bst2014-09-26 16:25:46.120207000 -0400
 @@ -490,6 +490,12 @@
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
 +  nameptr #3 
 +  namesleft #0 
 +  and
 +{  * bbl.etal * #0 'namesleft :=}
 +{}
 +  if$
  }
while$
} if$

 The above says, if 3 names have already been printed, and the number of
 names remaining to be printed is greater than zero, than print   and et
 al and set the number of remaining names to zero.

 Attached is spbasic3.bst, a style file based on spbasic.bst with the above
 change.

 Cheers,
 Julien

 --
 Julien



Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Julien Rioux

On 26/09/2014 5:07 PM, Benedict Holland wrote:

Wouldn't that change the default for every document using that
particular style though? If this is only for one journal, modification
of style files would not only be overkill, but would impact future work
in unexpected ways. To get the desired results, it would be best to
limit it to document specific changes. For that, configuring biblatex or
biber or biblatex using biber would be the much more prefered approach.
A philosophy of don't change more than you need to is demanded when
using lyx and latex, at least to me. That said, yes. Changing the format
of how bibtex writes out the references in the document would work but
from a technical standpoint, that does far more than just change the
reference output for a single document so would best be avoided.

~Ben



Your concern is true only if one saves the modified file under the same 
name as the original and somewhere in the tex tree. Good practice 
dictates that if one modifies a style file, then a different name is 
also given to it, as I did. And one can decide whether to have this new 
style available in the tex tree or to keep it local, since it is 
sufficient to have it saved in the current document's directory.


I can understand that bibtex has deep issues which are only really 
addressed by moving on to a different system, but the concern you raise 
does not appear to me to be one of them.


Cheers,
Julien


how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict it 
to 3?

I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict 
it to 3?

I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang

p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation



Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you want
but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

>
> Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:
>
>  I use spbasic (Springer Publ) as the bibstyle
>> (Koma script book)
>> and get the citations in the text right (Author1, X et al)
>> However, in the references all Coauthors are cited. How can I resrict it
>> to 3?
>> I tried to find an answer in the net, adding
>> \usepackage{natbib} to the preamble did not help.
>> Anybody who could help with a pointer?
>>
>> Wolfgang
>>
> p.S.
> In the references it should read like
> Author1,X, Author2,X Author3,X et al
> where X is the prenome abbreviation
>
>


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann

Thanks, Benedict.
How difficult is it to switch to biblatex and what can go wrong?
Wolfgang

Am 26.09.2014 um 17:37 schrieb Benedict Holland:

You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you want
but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle

(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict it
to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation






Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Wolfgang Engelmann


Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:

Thanks, Benedict.
How difficult is it to switch to biblatex and what can go wrong?
Wolfgang

And what about biber under lyx?
Wolfgang


Am 26.09.2014 um 17:37 schrieb Benedict Holland:

You should use biblatex. It has the ability to do this. For my example,

\usepackage[

uniquename=false,

uniquelist=false,

maxcitenames=2,

mincitenames=1,

maxbibnames=200,

minbibnames=1,

natbib=true,

url=false,

doi=false,

isbn=false,

eprint=false,

backref=false,

backend=biber,

style=authoryear-comp,

]{biblatex}


maxcitenames, mincitenames will have to be configured to get what you 
want

but those two options will allow what you need.


~Ben

On Fri, Sep 26, 2014 at 9:38 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

  I use spbasic (Springer Publ) as the bibstyle

(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I 
resrict it

to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang


p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation








Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread stefano franchi
On Fri, Sep 26, 2014 at 11:13 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

>
> Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:
>
>> Thanks, Benedict.
>> How difficult is it to switch to biblatex and what can go wrong?
>> Wolfgang
>>
> And what about biber under lyx?


Biber/biblatex usually work well under lyx if you follow the instructions
in the wiki.
Or did you have a specific problem in mind?

S.

-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
I would say that what could go wrong is your references might need to be
cleaned up. I know that was the huge shift for me. The major difference
(and in my opinion a terrible decision) is that biblatex assumed that your
bib file is valid latex code. That means that all reserved characters are
escaped. I work in economics so for me, the dollar sign was the big one. I
also found that there are a lot of configuration options. For me, this code
was the closest I closest I got to the default lyx.

BTW, biber should work well too. Both require additional work. For me,
biblatex was the choice I made but I am not saying it is the only choice.

The document explaining biblatex-lyx integration is here.
http://wiki.lyx.org/BibTeX/Biblatex If you follow the steps carefully it
should not be problematic. This will require some careful tweaking on your
end though. It took me a very long time to get two or more authors to be
author 1 et. al. AND for the full list of authors to be listed in the
bibliogrophy. For you, Wolfgang, given the specific requirements I would
suggest biblatex. Getting it work will only help you in the long run but I
found the process to less ideal than I would have liked. It took me about
an hour or two to get everything working the way I wanted it to and most of
it was figuring out the usepackage options.

~Ben

On Fri, Sep 26, 2014 at 2:47 PM, stefano franchi 
wrote:

>
>
> On Fri, Sep 26, 2014 at 11:13 AM, Wolfgang Engelmann <
> engelm...@uni-tuebingen.de> wrote:
>
>>
>> Am 26.09.2014 um 18:02 schrieb Wolfgang Engelmann:
>>
>>> Thanks, Benedict.
>>> How difficult is it to switch to biblatex and what can go wrong?
>>> Wolfgang
>>>
>> And what about biber under lyx?
>
>
> Biber/biblatex usually work well under lyx if you follow the instructions
> in the wiki.
> Or did you have a specific problem in mind?
>
> S.
>
> --
> __
> Stefano Franchi
>
> stefano.fran...@gmail.com 
> http://stefano.cleinias.org
>


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Julien Rioux

On 26/09/2014 9:38 AM, Wolfgang Engelmann wrote:


Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:

I use spbasic (Springer Publ) as the bibstyle
(Koma script book)
and get the citations in the text right (Author1, X et al)
However, in the references all Coauthors are cited. How can I resrict
it to 3?
I tried to find an answer in the net, adding
\usepackage{natbib} to the preamble did not help.
Anybody who could help with a pointer?

Wolfgang

p.S.
In the references it should read like
Author1,X, Author2,X Author3,X et al
where X is the prenome abbreviation





To stick to bibtex, you would have to slightly modify the .bst style 
file, namely the format.names function, maybe something like this:


$ diff -u spbasic.bst spbasic3.bst
--- spbasic.bst 2014-09-26 16:17:29.093778700 -0400
+++ spbasic3.bst2014-09-26 16:25:46.120207000 -0400
@@ -490,6 +490,12 @@
   if$
   nameptr #1 + 'nameptr :=
   namesleft #1 - 'namesleft :=
+  nameptr #3 >
+  namesleft #0 >
+  and
+{" " * bbl.etal * #0 'namesleft :=}
+{}
+  if$
 }
   while$
   } if$

The above says, if 3 names have already been printed, and the number of 
names remaining to be printed is greater than zero, than print " " and 
"et al" and set the number of remaining names to zero.


Attached is spbasic3.bst, a style file based on spbasic.bst with the 
above change.


Cheers,
Julien

--
Julien
%%
%% This is file `spbasic.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% merlin.mbs  (with options: 
`ay,nat,seq-lab,vonx,nm-rvx,ed-rev,jnrlst,dt-beg,yr-par,yrp-x,yrpp-xsp,note-yr,jxper,jttl-rm,thtit-a,pgsep-c,num-xser,ser-vol,jnm-x,btit-rm,bt-rm,pre-pub,doi,edparxc,blk-tit,in-col,fin-bare,pp,ed,abr,mth-bare,ord,jabr,xand,eprint,url,url-blk,em-x,nfss,')
%% 
%%
%%%%
%%  
  %%
%% For Springer medical, life sciences, chemistry, geology, engineering and 
  %%
%%   computer science publications. 
  %%
%% For use with the natbib package (see below). Default is author-year 
citations. %%
%%   When citations are numbered, please use \usepackage[numbers]{natbib}.  
  %%
%% A lack of punctuation is the key feature. Springer-Verlag 2004/10/15 
  %%
%% Report bugs and improvements to: Joylene Vette-Guillaume or Frank Holzwarth  
  %%
%%  
  %%
%%%%
%%
%% Copyright 1994-2004 Patrick W Daly
 % ===
 % IMPORTANT NOTICE:
 % This bibliographic style (bst) file has been generated from one or
 % more master bibliographic style (mbs) files, listed above.
 %
 % This generated file can be redistributed and/or modified under the terms
 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt; either
 % version 1 of the License, or any later version.
 % ===
 % Name and version information of the main mbs file:
 % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
 %   For use with BibTeX version 0.99a or later
 %---
 % This bibliography style file is intended for texts in ENGLISH
 % This is an author-year citation style bibliography. As such, it is
 % non-standard LaTeX, and requires a special package file to function properly.
 % Such a package isnatbib.sty   by Patrick W. Daly
 % The form of the \bibitem entries is
 %   \bibitem[Jones et al.(1990)]{key}...
 %   \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
 % The essential feature is that the label (the part in brackets) consists
 % of the author names, as they should appear in the citation, with the year
 % in parentheses following. There must be no space before the opening
 % parenthesis!
 % With natbib v5.3, a full list of authors may also follow the year.
 % In natbib.sty, it is possible to define the type of enclosures that is
 % really wanted (brackets or parentheses), but in either case, there must
 % be parentheses in the label.
 % The \cite command functions as follows:
 %   \citet{key} ==>>Jones et al. (1990)
 %   \citet*{key} ==>>   Jones, Baker, and Smith (1990)
 %   \citep{key} ==>>(Jones et al., 1990)
 %   \citep*{key} ==>>   (Jones, Baker, and Smith, 1990)
 %   \citep[chap. 2]{key} ==>>   (Jones et al., 1990, chap. 2)
 %   \citep[e.g.][]{key} ==>>(e.g. Jones et al., 1990)
 %   \citep[e.g.][p. 32]{key} ==>>   (e.g. Jones et al., p. 32)
 %   \citeauthor{key} ==>>   Jones et al.
 %   

Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Benedict Holland
Wouldn't that change the default for every document using that particular
style though? If this is only for one journal, modification of style files
would not only be overkill, but would impact future work in unexpected
ways. To get the desired results, it would be best to limit it to document
specific changes. For that, configuring biblatex or biber or biblatex using
biber would be the much more prefered approach. A philosophy of "don't
change more than you need to" is demanded when using lyx and latex, at
least to me. That said, yes. Changing the format of how bibtex writes out
the references in the document would work but from a technical standpoint,
that does far more than just change the reference output for a single
document so would best be avoided.

~Ben

On Fri, Sep 26, 2014 at 4:34 PM, Julien Rioux  wrote:

> On 26/09/2014 9:38 AM, Wolfgang Engelmann wrote:
>
>>
>> Am 26.09.2014 um 15:34 schrieb Wolfgang Engelmann:
>>
>>> I use spbasic (Springer Publ) as the bibstyle
>>> (Koma script book)
>>> and get the citations in the text right (Author1, X et al)
>>> However, in the references all Coauthors are cited. How can I resrict
>>> it to 3?
>>> I tried to find an answer in the net, adding
>>> \usepackage{natbib} to the preamble did not help.
>>> Anybody who could help with a pointer?
>>>
>>> Wolfgang
>>>
>> p.S.
>> In the references it should read like
>> Author1,X, Author2,X Author3,X et al
>> where X is the prenome abbreviation
>>
>>
>>
>
> To stick to bibtex, you would have to slightly modify the .bst style file,
> namely the format.names function, maybe something like this:
>
> $ diff -u spbasic.bst spbasic3.bst
> --- spbasic.bst 2014-09-26 16:17:29.093778700 -0400
> +++ spbasic3.bst2014-09-26 16:25:46.120207000 -0400
> @@ -490,6 +490,12 @@
>if$
>nameptr #1 + 'nameptr :=
>namesleft #1 - 'namesleft :=
> +  nameptr #3 >
> +  namesleft #0 >
> +  and
> +{" " * bbl.etal * #0 'namesleft :=}
> +{}
> +  if$
>  }
>while$
>} if$
>
> The above says, if 3 names have already been printed, and the number of
> names remaining to be printed is greater than zero, than print " " and "et
> al" and set the number of remaining names to zero.
>
> Attached is spbasic3.bst, a style file based on spbasic.bst with the above
> change.
>
> Cheers,
> Julien
>
> --
> Julien
>


Re: how to restrict cited authors to 3 in the Bibliography

2014-09-26 Thread Julien Rioux

On 26/09/2014 5:07 PM, Benedict Holland wrote:

Wouldn't that change the default for every document using that
particular style though? If this is only for one journal, modification
of style files would not only be overkill, but would impact future work
in unexpected ways. To get the desired results, it would be best to
limit it to document specific changes. For that, configuring biblatex or
biber or biblatex using biber would be the much more prefered approach.
A philosophy of "don't change more than you need to" is demanded when
using lyx and latex, at least to me. That said, yes. Changing the format
of how bibtex writes out the references in the document would work but
from a technical standpoint, that does far more than just change the
reference output for a single document so would best be avoided.

~Ben



Your concern is true only if one saves the modified file under the same 
name as the original and somewhere in the tex tree. Good practice 
dictates that if one modifies a style file, then a different name is 
also given to it, as I did. And one can decide whether to have this new 
style available in the tex tree or to keep it local, since it is 
sufficient to have it saved in the current document's directory.


I can understand that bibtex has deep issues which are only really 
addressed by moving on to a different system, but the concern you raise 
does not appear to me to be one of them.


Cheers,
Julien