diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/achemso/achemnat.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/achemso/achemnat.bst | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/Master/texmf-dist/bibtex/bst/achemso/achemnat.bst b/Master/texmf-dist/bibtex/bst/achemso/achemnat.bst index fb0ca064003..3259572ef6a 100644 --- a/Master/texmf-dist/bibtex/bst/achemso/achemnat.bst +++ b/Master/texmf-dist/bibtex/bst/achemso/achemnat.bst @@ -5,16 +5,15 @@ %% The original source files were: %% %% achemso.dtx (with options: `bib,nat') -%% ---------------------------------------------------------------- -%% The achemso package - A BibTeX style for American Chemical -%% Society publications -%% Maintained by Joseph Wright -%% E-mail: joseph.wright@morningstar2.co.uk -%% Originally developed by Mats Dahlgren -%% (c) 1996-98 by Mats Dahlgren -%% (c) 2007 Joseph Wright -%% Released under the LaTeX Project Public license v1.3 or later -%% ---------------------------------------------------------------- +%% ---------------------------------------------------------------- +%% The achemso package - LaTeX and BibTeX support for American +%% Chemical Society publications +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3 or later +%% See http://www.latex-project.org/lppl.txt +%% ---------------------------------------------------------------- +%% ENTRY { address author @@ -36,6 +35,7 @@ ENTRY series title type + url volume year } @@ -124,6 +124,17 @@ FUNCTION {new.block} if$ } +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + FUNCTION {fin.entry} { add.period$ write$ @@ -493,6 +504,13 @@ FUNCTION {format.number.series} if$ } +FUNCTION {format.url} +{ url empty$ + { "" } + { new.sentence "\url{" url * "}" * } + if$ +} + FUNCTION {format.full.names} {'s := #1 'nameptr := @@ -786,8 +804,8 @@ FUNCTION {format.version} FUNCTION {empty.misc.check} { author empty$ title empty$ howpublished empty$ - year empty$ note empty$ - and and and and + year empty$ note empty$ url empty$ + and and and and and { "all relevant fields are empty in " cite$ * warning$ } 'skip$ if$ @@ -1012,6 +1030,7 @@ FUNCTION {misc} if$ howpublished output year output + format.url output note output fin.entry empty.misc.check @@ -1359,6 +1378,8 @@ FUNCTION {begin.bib} 'skip$ { preamble$ write$ newline$ } if$ + "\providecommand{\url}[1]{\texttt{#1}}" + write$ newline$ "\providecommand{\refin}[1]{\\ \textbf{Referenced in:} #1}" write$ newline$ "\providecommand{\natexlab}[1]{#1}" @@ -1379,7 +1400,6 @@ FUNCTION {end.bib} } EXECUTE {end.bib} - %% %% %% End of file `achemnat.bst'. |