diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/achemso/achemlnt.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/achemso/achemlnt.bst | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/Master/texmf-dist/bibtex/bst/achemso/achemlnt.bst b/Master/texmf-dist/bibtex/bst/achemso/achemlnt.bst index 0bd271ac82a..07a23a027da 100644 --- a/Master/texmf-dist/bibtex/bst/achemso/achemlnt.bst +++ b/Master/texmf-dist/bibtex/bst/achemso/achemlnt.bst @@ -5,16 +5,15 @@ %% The original source files were: %% %% achemso.dtx (with options: `bib,list,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 annotate @@ -37,6 +36,7 @@ ENTRY series title type + url volume year } @@ -125,6 +125,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 {add.note} { annotate empty$ 'skip$ @@ -503,6 +514,13 @@ FUNCTION {format.number.series} if$ } +FUNCTION {format.url} +{ url empty$ + { "" } + { new.sentence "\url{" url * "}" * } + if$ +} + FUNCTION {format.full.names} {'s := #1 'nameptr := @@ -796,8 +814,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$ @@ -1022,6 +1040,7 @@ FUNCTION {misc} if$ howpublished output year output + format.url output note output fin.entry empty.misc.check @@ -1369,6 +1388,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}" @@ -1389,7 +1410,6 @@ FUNCTION {end.bib} } EXECUTE {end.bib} - %% %% %% End of file `achemlnt.bst'. |