diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/aastex')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/aastex/aasjournal.bst | 56 |
1 files changed, 33 insertions, 23 deletions
diff --git a/Master/texmf-dist/bibtex/bst/aastex/aasjournal.bst b/Master/texmf-dist/bibtex/bst/aastex/aasjournal.bst index f05cdab7c8e..07b69444f08 100644 --- a/Master/texmf-dist/bibtex/bst/aastex/aasjournal.bst +++ b/Master/texmf-dist/bibtex/bst/aastex/aasjournal.bst @@ -1,5 +1,20 @@ +%% AASJournal.bst June 3, 2019 +%% +%% Revision 1.18 2019/6/3 Amy Hendrickson +%% Took out `v' preceding version number in @misc +%% +%% Rewrote format.pid to implement this precedence: +%% if doi, print that, if eprint print that, if neither +%% and there is a url, use the url + +%% Took out format.url output generally because it is included in format.pid, +%% so undesirable to call for it a second time. + +%% +%% Revision 1.17 2019/3/15 Amy Hendrickson +%% Added DOI to every field where format.url was found. Kept format.url in case +%% it is needed. %% -%% $Log: aasjournal.bst $ %% Revision 1.16 2017/10/26 Amy Hendrickson %% `url' only active when used in misc @@ -353,7 +368,6 @@ FUNCTION {bbl.page} FUNCTION {bbl.chapter} { "Ch." } -%{ "chap." } FUNCTION {bbl.techrep} { "Tech. Rep." } @@ -715,8 +729,11 @@ FUNCTION {format.doi} FUNCTION {format.pid} { doi empty$ - {eprint empty$ - { "" } +{eprint empty$ + { url empty$ + { "" } + { format.url } + if$} { format.eprint } if$} { format.doi } @@ -1163,11 +1180,11 @@ FUNCTION {article} crossref missing$ { journal "journal" output.check - format.vol.num.pages output - } - { format.article.crossref output.nonnull - format.pages output - } + format.vol.num.pages output + } + { format.article.crossref output.nonnull + format.pages output + } if$ pages empty$ 'skip$ @@ -1208,7 +1225,6 @@ FUNCTION {book} % if$ format.pages output format.pid output - format.url output fin.entry } @@ -1223,7 +1239,6 @@ FUNCTION {booklet} howpublished output address output format.pid output - format.url output fin.entry } @@ -1260,7 +1275,7 @@ FUNCTION {inbook} % } % if$ format.pages "pages" output.check - format.url output + format.pid output fin.entry } @@ -1285,7 +1300,7 @@ FUNCTION {incollection} % } % if$ format.pages "pages" output.check - format.url output + format.pid output fin.entry } @@ -1313,12 +1328,13 @@ FUNCTION {inproceedings} % } % if$ format.pages output - format.url output + format.pid output fin.entry } FUNCTION {conference} { inproceedings } + FUNCTION {manual} { output.bibitem format.authors output @@ -1331,7 +1347,6 @@ FUNCTION {manual} organization output address output format.pid output -%% format.url output fin.entry } @@ -1347,7 +1362,6 @@ FUNCTION {mastersthesis} school "school" output.check address output format.pid output - format.url output fin.entry } @@ -1363,7 +1377,7 @@ FUNCTION {misc} %% new version empty$ 'skip$ - { version output} + {bbl.version version * output} if$ %% howpublished output @@ -1372,7 +1386,6 @@ FUNCTION {misc} {format.aaspublisher} if$ format.pid output - format.url output fin.entry } @@ -1388,7 +1401,6 @@ FUNCTION {phdthesis} school "school" output.check address output format.pid output - format.url output fin.entry } @@ -1421,7 +1433,7 @@ FUNCTION {proceedings} % organization output % publisher output format.pages output - format.url output + format.pid output fin.entry } @@ -1437,7 +1449,6 @@ FUNCTION {techreport} institution "institution" output.check address output format.pid output -%% format.url output fin.entry } @@ -1450,7 +1461,6 @@ FUNCTION {unpublished} date.block % format.title "title" output.check format.pid output -%% format.url output fin.entry } @@ -1788,4 +1798,4 @@ FUNCTION {end.bib} EXECUTE {end.bib} %% End of customized bst file %% -%% End of file `aasjournal.bst'. +%% End of file `aasjournal.bst'.
\ No newline at end of file |