diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/achemso/achemso.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/achemso/achemso.bst | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/Master/texmf-dist/bibtex/bst/achemso/achemso.bst b/Master/texmf-dist/bibtex/bst/achemso/achemso.bst index f924271cb24..6554b69e34f 100644 --- a/Master/texmf-dist/bibtex/bst/achemso/achemso.bst +++ b/Master/texmf-dist/bibtex/bst/achemso/achemso.bst @@ -5,16 +5,15 @@ %% The original source files were: %% %% achemso.dtx (with options: `bib') -%% ---------------------------------------------------------------- -%% 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 @@ -35,6 +34,7 @@ ENTRY series title type + url volume year } @@ -131,6 +131,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$ @@ -500,6 +511,13 @@ FUNCTION {format.number.series} if$ } +FUNCTION {format.url} +{ url empty$ + { "" } + { new.sentence "\url{" url * "}" * } + if$ +} + FUNCTION {n.dashify} { 't := "" @@ -708,8 +726,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$ @@ -934,6 +952,7 @@ FUNCTION {misc} if$ howpublished output year output + format.url output note output fin.entry empty.misc.check @@ -1157,6 +1176,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 * "}" * @@ -1175,7 +1196,6 @@ FUNCTION {end.bib} } EXECUTE {end.bib} - %% %% %% End of file `achemso.bst'. |