diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/economic/erae.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/economic/erae.bst | 83 |
1 files changed, 64 insertions, 19 deletions
diff --git a/Master/texmf-dist/bibtex/bst/economic/erae.bst b/Master/texmf-dist/bibtex/bst/economic/erae.bst index 22ca901e583..8bfcab99608 100644 --- a/Master/texmf-dist/bibtex/bst/economic/erae.bst +++ b/Master/texmf-dist/bibtex/bst/economic/erae.bst @@ -1,14 +1,15 @@ %%% European Review of Agricultural Economics (ERAE) %%% bibliography style for use with LaTeX2e -%%% version: 1.0 (20 August 2006) +%%% version: 1.1 (17 August 2009) %%% license: LaTeX Project Public License (see below) %%% This file was created with makebst (see below) and modified %%% by Arne Henningsen. %%% Note: This is an unofficial style file that may not fully comply %%% with the ERAE reference guidelines in every detail. -%%% Please report any problems to <ahenningsen@email.uni-kiel.de>. +%%% Please report any problems at +%%% http://sourceforge.net/projects/economtex/ %%% Further information is available at -%%% http://www.uni-kiel.de/agrarpol/ahenningsen/latex-bibtex.html +%%% http://economtex.wiki.sourceforge.net/ %%% %%% The following line has to be added to the LaTeX preamble: %%% \usepackage[authoryear]{natbib} @@ -19,11 +20,11 @@ %% %% The original source files were: %% -%% merlin.mbs (with options: `ay,nat,vonx,nm-rev,ed-rev,jnrlst,keyxyr,dt-beg,yr-par,yrp-per,yrpp-xsp,note-yr,jttl-rm,trtit-b,vnum-x,volp-sp,pp-last,num-xser,numser,jnm-x,btit-rm,bt-rm,add-pub,pre-pub,edpar,blk-tit,ppx,ed,abr,ednx,ord,and-xcom,em-x') +%% merlin.mbs (with options: `ay,nat,vonx,nm-rev,ed-rev,jnrlst,keyxyr,dt-beg,yr-par,yrp-per,yrpp-xsp,note-yr,jttl-rm,trtit-b,vnum-x,volp-sp,pp-last,num-xser,numser,jnm-x,btit-rm,bt-rm,add-pub,pre-pub,doi,edpar,blk-tit,ppx,ed,abr,ednx,ord,and-xcom,em-x,') %% ---------------------------------------- %% *** ERAE *** %% -%% Copyright 1994-2002 Patrick W Daly +%% Copyright 1994-2005 Patrick W Daly % =============================================================== % IMPORTANT NOTICE: % This bibliographic style (bst) file has been generated from one or @@ -35,7 +36,7 @@ % version 1 of the License, or any later version. % =============================================================== % Name and version information of the main mbs file: - % \ProvidesFile{merlin.mbs}[2002/10/21 4.05 (PWD, AO, DPC)] + % \ProvidesFile{merlin.mbs}[2005/10/17 4.14 (PWD, AO, DPC)] % For use with BibTeX version 0.99a or later %------------------------------------------------------------------- % This bibliography style file is intended for texts in ENGLISH @@ -71,8 +72,10 @@ ENTRY author booktitle chapter + doi edition editor + eid howpublished institution journal @@ -491,6 +494,14 @@ FUNCTION {format.editors} } if$ } +FUNCTION {format.doi} +{ doi "doi" bibinfo.check + duplicate$ empty$ 'skip$ + { + "\doi{" swap$ * "}" * + } + if$ +} FUNCTION {format.note} { note empty$ @@ -697,18 +708,18 @@ FUNCTION {format.number.series} { series field.or.null } { series empty$ { number "number" bibinfo.check } - { output.state mid.sentence = - { bbl.number } - { bbl.number capitalize } + { output.state mid.sentence = + { bbl.number } + { bbl.number capitalize } + if$ + number tie.or.space.prefix "number" bibinfo.check * * + bbl.in space.word * + series "series" bibinfo.check * + } if$ - number tie.or.space.prefix "number" bibinfo.check * * - bbl.in space.word * - series "series" bibinfo.check * } if$ } - if$ - } { "" } if$ } @@ -826,6 +837,18 @@ FUNCTION {format.journal.pages} } if$ } +FUNCTION {format.journal.eid} +{ eid "eid" bibinfo.check + duplicate$ empty$ 'pop$ + { swap$ duplicate$ empty$ 'skip$ + { + ": " * + } + if$ + swap$ * + } + if$ +} FUNCTION {format.vol.num.pages} { volume field.or.null duplicate$ empty$ 'skip$ @@ -920,7 +943,7 @@ FUNCTION {format.org.or.pub} 'skip$ { address "address" bibinfo.check * -new.sentence + new.sentence t empty$ 'skip$ { address empty$ @@ -961,7 +984,11 @@ FUNCTION {article} { format.article.crossref output.nonnull } if$ - format.journal.pages + eid empty$ + { format.journal.pages } + { format.journal.eid } + if$ + format.doi output format.note output fin.entry } @@ -993,6 +1020,7 @@ FUNCTION {book} } if$ format.edition output + format.doi output format.note output fin.entry } @@ -1006,6 +1034,7 @@ FUNCTION {booklet} new.sentence howpublished "howpublished" bibinfo.check output address "address" bibinfo.check output + format.doi output format.note output fin.entry } @@ -1032,16 +1061,17 @@ FUNCTION {inbook} format.publisher.address output format.bvolume output format.chapter.pages "chapter and pages" output.check - new.sentence + new.sentence } { format.chapter.pages "chapter and pages" output.check - new.sentence + new.sentence format.book.crossref output.nonnull } if$ format.edition output format.pages "pages" output.check + format.doi output format.note output fin.entry } @@ -1067,6 +1097,7 @@ FUNCTION {incollection} } if$ format.pages "pages" output.check + format.doi output format.note output fin.entry } @@ -1093,6 +1124,7 @@ FUNCTION {inproceedings} } if$ format.pages "pages" output.check + format.doi output format.note output fin.entry } @@ -1108,6 +1140,7 @@ FUNCTION {manual} organization "organization" bibinfo.check output address "address" bibinfo.check output format.edition output + format.doi output format.note output fin.entry } @@ -1124,6 +1157,7 @@ FUNCTION {mastersthesis} bbl.mthesis format.thesis.type output.nonnull school "school" bibinfo.warn output address "address" bibinfo.check output + format.doi output format.note output fin.entry } @@ -1137,6 +1171,7 @@ FUNCTION {misc} format.title output new.sentence howpublished "howpublished" bibinfo.check output + format.doi output format.note output fin.entry } @@ -1152,6 +1187,7 @@ FUNCTION {phdthesis} bbl.phdthesis format.thesis.type output.nonnull school "school" bibinfo.warn output address "address" bibinfo.check output + format.doi output format.note output fin.entry } @@ -1171,6 +1207,7 @@ FUNCTION {proceedings} format.publisher.address output } if$ + format.doi output format.note output fin.entry } @@ -1187,6 +1224,7 @@ FUNCTION {techreport} format.tr.number output.nonnull institution "institution" bibinfo.warn output address "address" bibinfo.check output + format.doi output format.note output fin.entry } @@ -1198,6 +1236,7 @@ FUNCTION {unpublished} format.date "year" output.check date.block format.title "title" output.check + format.doi output format.note "note" output.check fin.entry } @@ -1472,7 +1511,13 @@ FUNCTION {begin.bib} if$ "\begin{thebibliography}{" number.label int.to.str$ * "}" * write$ newline$ - "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi" + "\providecommand{\natexlab}[1]{#1}" + write$ newline$ + "\expandafter\ifx\csname urlstyle\endcsname\relax" + write$ newline$ + " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else" + write$ newline$ + " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi" write$ newline$ } EXECUTE {begin.bib} |