diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/achemso/achemso.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/achemso/achemso.sty | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/achemso/achemso.sty b/Master/texmf-dist/tex/latex/achemso/achemso.sty index baf6c3f4e29..ae552de1612 100644 --- a/Master/texmf-dist/tex/latex/achemso/achemso.sty +++ b/Master/texmf-dist/tex/latex/achemso/achemso.sty @@ -5,26 +5,26 @@ %% The original source files were: %% %% achemso.dtx (with options: `package') -%% ---------------------------------------------------------------- -%% 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 +%% ---------------------------------------------------------------- +%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{achemso} - [2007/08/22 v2.2c Enhancements for ACS publications] -\def\ACSver{\texttt{achemso} v2.2b (2007/07/09)} + [2007/10/16 v2.2d LaTeX and BibTeX support for American + Chemical Society publications] \newif \ifACS@sctnnmbr \ACS@sctnnmbrfalse \newif \ifACS@list \ACS@listfalse \newif \ifACS@note \ACS@notefalse \newif \ifACS@super \ACS@supertrue \newif \ifACS@natbib \ACS@natbibfalse -\DeclareOption{note}{\ACS@notetrue} +\DeclareOption{note}{\ExecuteOptions{notes}} +\DeclareOption{notes}{\ACS@notetrue} \DeclareOption{number}{\ACS@sctnnmbrtrue} \DeclareOption{super}{\ACS@supertrue} \DeclareOption{list}{\ACS@listtrue} @@ -55,21 +55,21 @@ {\relax} \def\ACS@biberror{\PackageError{achemso}% {No bibliography name command defined}\@eha} -\ifx\refname\undefined - \ifx\bibname\undefined - \ACS@biberror +\@ifundefined{refname}{% + \@ifundefined{bibname}{% + \ACS@biberror + }{% + \ifACS@note + \renewcommand*{\bibname}{References and Notes} \else - \ifACS@note - \renewcommand*{\bibname}{References and Notes} - \else - \renewcommand*{\bibname}{References} - \fi + \renewcommand*{\bibname}{References} \fi - \else - \ifACS@note - \renewcommand*{\refname}{References and Notes} - \fi -\fi + } +}{% + \ifACS@note + \renewcommand*{\refname}{References and Notes} + \fi +} \ifACS@sctnnmbr \RequirePackage[numbib]{tocbibind} \fi @@ -91,7 +91,6 @@ \def\ACS@bibwarning{\PackageWarning{achemso}% {Additional bibliographystyle command ignored}} \def\bibliographystyle{\ACS@bibwarning\@gobble} - \endinput %% %% End of file `achemso.sty'. |