From 9146738aa269b91c8d1aa570381afd808a3a4c40 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 14 Aug 2009 23:49:16 +0000 Subject: achemso update (14aug09) git-svn-id: svn://tug.org/texlive/trunk@14674 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/achemso/achemso.sty | 27 +++++++++++++------------ 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/latex/achemso/achemso.sty') diff --git a/Master/texmf-dist/tex/latex/achemso/achemso.sty b/Master/texmf-dist/tex/latex/achemso/achemso.sty index a26439afa73..1d3b8a8e6fb 100644 --- a/Master/texmf-dist/tex/latex/achemso/achemso.sty +++ b/Master/texmf-dist/tex/latex/achemso/achemso.sty @@ -16,7 +16,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{achemso} - [2009/07/29 v3.2e Support for ACS journals] + [2009/08/13 v3.2g Support for ACS journals] \@ifclassloaded{achemso}{% \PackageInfo{achemso}{% You have already loaded the `achemso' class:\MessageBreak @@ -181,18 +181,6 @@ }% }% } -\newcommand*\acs@bibstyle{achemso} -\bibliographystyle{achemso} -\ifacs@biochem - \def\acs@bibstyle{biochem} - \bibliographystyle{biochem} -\fi -\newcommand*\acs@bibliographystyle{} -\let\acs@bibliographystyle\bibliographystyle -\def\bibliographystyle#1{% - \acs@warning{\string\bibliographystyle\space ignored}% - \expandafter\acs@bibliographystyle\expandafter{\acs@bibstyle}% -} \newwrite\acs@bib@file \newcommand*\acs@bib@message{% This is an auxiliary file used by the `achemso' bundle.^^J% @@ -243,6 +231,19 @@ \def\citenumfont{\textit} \fi \RequirePackage{natmove} +\newcommand*\acs@bibstyle{achemso} +\ifacs@biochem + \def\acs@bibstyle{biochem} + \bibliographystyle{biochem} +\else + \bibliographystyle{achemso} +\fi +\newcommand*\acs@bibliographystyle{} +\let\acs@bibliographystyle\bibliographystyle +\def\bibliographystyle#1{% + \acs@warning{\string\bibliographystyle\space ignored}% + \expandafter\acs@bibliographystyle\expandafter{\acs@bibstyle}% +} \AtBeginDocument{% \@ifpackageloaded{notes2bib}{}{% \acs@niib@create -- cgit v1.2.3