diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/achemso/achemsol.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/achemso/achemsol.bst | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/Master/texmf-dist/bibtex/bst/achemso/achemsol.bst b/Master/texmf-dist/bibtex/bst/achemso/achemsol.bst index 341fda365a1..b5b29f87112 100644 --- a/Master/texmf-dist/bibtex/bst/achemso/achemsol.bst +++ b/Master/texmf-dist/bibtex/bst/achemso/achemsol.bst @@ -5,16 +5,15 @@ %% The original source files were: %% %% achemso.dtx (with options: `bib,list') -%% ---------------------------------------------------------------- -%% 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 @@ -36,6 +35,7 @@ ENTRY series title type + url volume year } @@ -132,6 +132,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$ @@ -510,6 +521,13 @@ FUNCTION {format.number.series} if$ } +FUNCTION {format.url} +{ url empty$ + { "" } + { new.sentence "\url{" url * "}" * } + if$ +} + FUNCTION {n.dashify} { 't := "" @@ -718,8 +736,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$ @@ -944,6 +962,7 @@ FUNCTION {misc} if$ howpublished output year output + format.url output note output fin.entry empty.misc.check @@ -1167,6 +1186,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$ "\begin{thebibliography}{" longest.label * "}" * @@ -1185,7 +1206,6 @@ FUNCTION {end.bib} } EXECUTE {end.bib} - %% %% %% End of file `achemsol.bst'. |