summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/achemso/achemso.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-14 23:49:16 +0000
committerKarl Berry <karl@freefriends.org>2009-08-14 23:49:16 +0000
commit9146738aa269b91c8d1aa570381afd808a3a4c40 (patch)
treea0cb787de54e5ecaadb0b848615bdc70656cb3df /Master/texmf-dist/source/latex/achemso/achemso.dtx
parent0448442c22d513ab77a99a2c59092c47f1e3469e (diff)
achemso update (14aug09)
git-svn-id: svn://tug.org/texlive/trunk@14674 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/achemso/achemso.dtx')
-rw-r--r--Master/texmf-dist/source/latex/achemso/achemso.dtx184
1 files changed, 109 insertions, 75 deletions
diff --git a/Master/texmf-dist/source/latex/achemso/achemso.dtx b/Master/texmf-dist/source/latex/achemso/achemso.dtx
index df94eb72a90..e5655cabaf1 100644
--- a/Master/texmf-dist/source/latex/achemso/achemso.dtx
+++ b/Master/texmf-dist/source/latex/achemso/achemso.dtx
@@ -150,9 +150,6 @@ This work consists of the file achemso.dtx
\else
\expandafter\endgroup
\fi
-\immediate\write18{bibtex8 --wolfgang achemso}
-\immediate\write18{makeindex -s gglo.ist -o achemso.gls achemso.glo}
-\immediate\write18{makeindex -s gind.ist -o achemso.ind achemso.idx}
%</internal>
%<*package|class|natmove>
\NeedsTeXFormat{LaTeX2e}
@@ -174,7 +171,7 @@ This work consists of the file achemso.dtx
%</driver>
% \fi
%
-%\CheckSum{2583}
+%\CheckSum{2651}
%
%\GetFileInfo{\jobname.sty}
%
@@ -363,8 +360,8 @@ This work consists of the file achemso.dtx
%
% The entire bundle is supplied with the TDS-ready ZIP file,
% \file{achemso.tds.zip}. Simply unzip this into your local texmf
-% tree and run your hash program (\texttt{texhash} for \TeX{}Live or
-% \texttt{initextmf -u} for MiK\TeX).
+% tree and run your hash program (\texttt{texhash} for recent
+% \TeX{}Live or MiK\TeX\ systems).
%
% To extract the bundle of files from \file{achemso.dtx}, run
% (pdf)\TeX\ on \file{achemso.dtx}. This will produce all of the package
@@ -797,7 +794,7 @@ This work consists of the file achemso.dtx
% \begin{macrocode}
%<*class>
\ProvidesClass{achemso}
- [2009/07/29 v3.2e Submission to ACS journals]
+ [2009/08/13 v3.2g Submission to ACS journals]
\LoadClass[12pt,letter]{article}
% \end{macrocode}
%
@@ -817,7 +814,7 @@ This work consists of the file achemso.dtx
% \begin{macrocode}
%<*package>
\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
@@ -1131,36 +1128,6 @@ This work consists of the file achemso.dtx
%\end{macro}
%\end{macro}
%\end{macro}
-%
-%\begin{macro}{\acs@bibstyle}
-% The next step is to sort out bibliography formatting. With both the
-% package and the class, the bibliography style is determined without
-% user intervention. The style is stored as it may need to be
-% altered later.
-% \begin{macrocode}
-\newcommand*\acs@bibstyle{achemso}
-\bibliographystyle{achemso}
-\ifacs@biochem
- \def\acs@bibstyle{biochem}
- \bibliographystyle{biochem}
-\fi
-% \end{macrocode}
-%\end{macro}
-%\begin{macro}{\acs@bibliographystyle}
-%\begin{macro}{\bibliographystyle}
-% The original \cs{bibliographystyle} macro is now disabled: the
-% underlying command is repeated otherwise problems cop up with
-% \pkg{chapterbib}.
-% \begin{macrocode}
-\newcommand*\acs@bibliographystyle{}
-\let\acs@bibliographystyle\bibliographystyle
-\def\bibliographystyle#1{%
- \acs@warning{\string\bibliographystyle\space ignored}%
- \expandafter\acs@bibliographystyle\expandafter{\acs@bibstyle}%
-}
-% \end{macrocode}
-%\end{macro}
-%\end{macro}
%
%\begin{macro}{\acs@bib@file}
%\begin{macro}{\acs@bib@message}
@@ -1683,6 +1650,7 @@ This work consists of the file achemso.dtx
% \end{macrocode}
%\end{macro}
%\begin{macro}{\@maketitle}
+%\begin{macro}{\@maketitle@title@hook}
%\changes{v3.0a}{2008/08/21}{Skips footnotes for a single institution}
%\changes{v3.1}{2008/08/28}{Slightly simplified code}
%\changes{v3.2c}{2008/05/29}{Uses same footnote symbols as author list}
@@ -1710,6 +1678,7 @@ This work consists of the file achemso.dtx
\acs@maketitle@suppinfo \@title
\acs@title@footnote@check
\global\acs@footnote@cnt\c@footnote\relax
+ \@maketitle@title@hook
\par
}%
\vspace*{\acs@space@post@title}%
@@ -1740,8 +1709,10 @@ This work consists of the file achemso.dtx
\end{minipage}
\end{center}%
}
+\newcommand\@maketitle@title@hook{}
% \end{macrocode}
%\end{macro}
+%\end{macro}
%\begin{macro}{\acs@maketitle@suppinfo}
% This is spun out so that it can be avoided if necessary: this is done
% on the sly.
@@ -1941,7 +1912,7 @@ This work consists of the file achemso.dtx
\ifnum\acs@affil@alt@cnt>\z@\relax
\acs@affil@marker@cnt\@ne\relax
\advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
- \protected@edef\acs@author@fnsymbol{%
+ \protected@edef\acs@author@footnotes{%
\acs@author@footnotes
\acs@author@fnsymbol{\acs@affil@marker@cnt}%
}%
@@ -2890,9 +2861,40 @@ This work consists of the file achemso.dtx
\def\citenumfont{\textit}
\fi
\RequirePackage{natmove}
-%</class|package>
% \end{macrocode}
%\end{macro}
+%
+%\begin{macro}{\acs@bibstyle}
+% The next step is to sort out bibliography formatting. With both the
+% package and the class, the bibliography style is determined without
+% user intervention. The style is stored as it may need to be
+% altered later.
+% \begin{macrocode}
+\newcommand*\acs@bibstyle{achemso}
+\ifacs@biochem
+ \def\acs@bibstyle{biochem}
+ \bibliographystyle{biochem}
+\else
+ \bibliographystyle{achemso}
+\fi
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{\acs@bibliographystyle}
+%\begin{macro}{\bibliographystyle}
+% The original \cs{bibliographystyle} macro is now disabled: the
+% underlying command is repeated otherwise problems cop up with
+% \pkg{chapterbib}.
+% \begin{macrocode}
+\newcommand*\acs@bibliographystyle{}
+\let\acs@bibliographystyle\bibliographystyle
+\def\bibliographystyle#1{%
+ \acs@warning{\string\bibliographystyle\space ignored}%
+ \expandafter\acs@bibliographystyle\expandafter{\acs@bibstyle}%
+}
+%</class|package>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
%
%\subsection{Late package-only code}
%
@@ -3116,7 +3118,7 @@ This work consists of the file achemso.dtx
% \begin{macrocode}
%<*achre4>
\ProvidesFile{achre4.cfg}
- [2009/07/29 v3.2e achemso configuration: Acc. Chem. Res.]
+ [2009/08/13 v3.2g achemso configuration: Acc. Chem. Res.]
\setkeys{acs}{
biblabel = plain
}
@@ -3125,7 +3127,7 @@ This work consists of the file achemso.dtx
%</achre4>
%<*acbcct>
\ProvidesFile{acbcct.cfg}
- [2009/07/29 v3.2e achemso configuration: ACS Chem. Biol.]
+ [2009/08/13 v3.2g achemso configuration: ACS Chem. Biol.]
\setkeys{acs}{
biblabel = fullstop,
biochem = true,
@@ -3137,7 +3139,7 @@ This work consists of the file achemso.dtx
%</acbcct>
%<*ancac3>
\ProvidesFile{acbcct.cfg}
- [2009/07/29 v3.2e achemso configuration: ACS Nano]
+ [2009/08/13 v3.2g achemso configuration: ACS Nano]
\setkeys{acs}{
biblabel = fullstop,
usetitle = true
@@ -3147,13 +3149,13 @@ This work consists of the file achemso.dtx
%</ancac3>
%<*ancham>
\ProvidesFile{ancham.cfg}
- [2009/07/29 v3.2e achemso configuration: Anal. Chem.]
+ [2009/08/13 v3.2g achemso configuration: Anal. Chem.]
\def\acs@type@list{article,note,suppinfo}
\SectionNumbersOff
%</ancham>
%<*bichaw>
\ProvidesFile{biochem.cfg}
- [2009/07/29 v3.2e achemso configuration: Biochemistry]
+ [2009/08/13 v3.2g achemso configuration: Biochemistry]
\setkeys{acs}{
abbreviations = true,
biblabel = fullstop,
@@ -3168,10 +3170,42 @@ This work consists of the file achemso.dtx
\acs@title@short@print
}
\g@addto@macro{\maketitle}{\newpage}
+% \end{macrocode}
+%\begin{macro}{\acs@author@fnsymbol}
+% Some changes to do with footnotes: symbols are different and symbol
+% number one can only be used for the title.
+% \begin{macrocode}
+\def\acs@author@fnsymbol#1{%
+ \ensuremath{%
+ \ifcase #1 *\or
+ \dagger\or
+ \ddagger\or
+ \S\or
+ \parallel\or
+ \perp\or
+ \P\or
+ \|\or
+ \bot\or
+ \#\or
+ @\or
+ \triangle\or
+ \nabla\else
+ #1%
+ \fi
+ }%
+}
+\def\@maketitle@title@hook{%
+ \ifnum\acs@footnote@cnt>\@ne\relax\else
+ \global\acs@footnote@cnt\@ne\relax
+ \fi
+}
+% \end{macrocode}
+%\end{macro}
+% \begin{macrocode}
%</bichaw>
%<*bcches>
\ProvidesFile{bcches.cfg}
- [2009/07/29 v3.2e achemso configuration: Bioconjugate Chem.]
+ [2009/08/13 v3.2g achemso configuration: Bioconjugate Chem.]
\setkeys{acs}{
biochem = true,
super = false,
@@ -3181,7 +3215,7 @@ This work consists of the file achemso.dtx
%</bcches>
%<*bomaf6>
\ProvidesFile{bomaf6.cfg}
- [2009/07/29 v3.2e achemso configuration: Biomacromolecules]
+ [2009/08/13 v3.2g achemso configuration: Biomacromolecules]
\setkeys{acs}{
super = false,
usetitle = true
@@ -3190,7 +3224,7 @@ This work consists of the file achemso.dtx
%</bomaf6>
%<*bipret>
\ProvidesFile{bipret.cfg}
- [2009/07/29 v3.2e achemso configuration: Biotechnol. Prog.]
+ [2009/08/13 v3.2g achemso configuration: Biotechnol. Prog.]
\setkeys{acs}{
super = false,
usetitle = true
@@ -3200,7 +3234,7 @@ This work consists of the file achemso.dtx
%</bipret>
%<*crtoec>
\ProvidesFile{crtoec.cfg}
- [2009/07/29 v3.2e achemso configuration: Chem. Res. Toxicol.]
+ [2009/08/13 v3.2g achemso configuration: Chem. Res. Toxicol.]
\setkeys{acs}{
biochem = true,
super = false,
@@ -3213,7 +3247,7 @@ This work consists of the file achemso.dtx
%</crtoec>
%<*chreay>
\ProvidesFile{chreay.cfg}
- [2009/07/29 v3.2e achemso configuration: Chem. Rev.]
+ [2009/08/13 v3.2g achemso configuration: Chem. Rev.]
\def\acs@type@default{review}
\def\acs@type@list{review}
% \end{macrocode}
@@ -3224,7 +3258,7 @@ This work consists of the file achemso.dtx
%<*cmatex>
% \begin{macrocode}
\ProvidesFile{cmatex.cfg}
- [2009/07/29 v3.2e achemso configuration: Chem. Mater.]
+ [2009/08/13 v3.2g achemso configuration: Chem. Mater.]
\SectionNumbersOff
\ifx\acs@manuscript\acs@manuscript@communication
\AbstractOff
@@ -3233,7 +3267,7 @@ This work consists of the file achemso.dtx
%</cmatex>
%<*cgdefu>
\ProvidesFile{cgdefu.cfg}
- [2009/07/29 v3.2e achemso configuration: Cryst. Growth Des.]
+ [2009/08/13 v3.2g achemso configuration: Cryst. Growth Des.]
\def\acs@type@list{%
article,communication,perspective,suppinfo%
}
@@ -3244,13 +3278,13 @@ This work consists of the file achemso.dtx
%</cgdefu>
%<*enfuem>
\ProvidesFile{enfuem.cfg}
- [2009/07/29 v3.2e achemso configuration: Energy Fuels]
+ [2009/08/13 v3.2g achemso configuration: Energy Fuels]
\def\acs@type@list{article,review,suppinfo}
\SectionNumbersOff
%</enfuem>
%<*esthag>
\ProvidesFile{esthag.cfg}
- [2009/07/29 v3.2e achemso configuration: Environ. Sci. Technol.]
+ [2009/08/13 v3.2g achemso configuration: Environ. Sci. Technol.]
\setkeys{acs}{
super = false,
usetitle = true
@@ -3260,7 +3294,7 @@ This work consists of the file achemso.dtx
%</esthag>
%<*iecred>
\ProvidesFile{iecred.cfg}
- [2009/07/29 v3.2e achemso configuration: Ind. Eng. Chem. Res.]
+ [2009/08/13 v3.2g achemso configuration: Ind. Eng. Chem. Res.]
\setkeys{acs}{
biblabel = fullstop,
usetitle = true
@@ -3269,7 +3303,7 @@ This work consists of the file achemso.dtx
%</iecred>
%<*inoraj>
\ProvidesFile{inoraj.cfg}
- [2009/07/29 v3.2e achemso configuration: Inorg. Chem.]
+ [2009/08/13 v3.2g achemso configuration: Inorg. Chem.]
\SectionNumbersOff
\ifx\acs@manuscript\acs@manuscript@communication
\AbstractOff
@@ -3284,7 +3318,7 @@ This work consists of the file achemso.dtx
% \begin{macrocode}
%<*jacsat>
\ProvidesFile{jacsat.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Am. Chem. Soc.]
+ [2009/08/13 v3.2g achemso configuration: J. Am. Chem. Soc.]
\SectionNumbersOff
\ifx\acs@manuscript\acs@manuscript@communication\else
\expandafter\endinput
@@ -3487,7 +3521,7 @@ This work consists of the file achemso.dtx
% \begin{macrocode}
%<*jafcau>
\ProvidesFile{jafcau.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Agric. Food Chem.]
+ [2009/08/13 v3.2g achemso configuration: J. Agric. Food Chem.]
\setkeys{acs}{
super = false,
usetitle = true
@@ -3497,7 +3531,7 @@ This work consists of the file achemso.dtx
%</jafcau>
%<*jceaax>
\ProvidesFile{jceaax.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Chem. Eng. Data]
+ [2009/08/13 v3.2g achemso configuration: J. Chem. Eng. Data]
\setkeys{acs}{
usetitle = true
}
@@ -3506,7 +3540,7 @@ This work consists of the file achemso.dtx
%</jceaax>
%<*jcisd8>
\ProvidesFile{jcisd8.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Chem. Inf. Model.]
+ [2009/08/13 v3.2g achemso configuration: J. Chem. Inf. Model.]
\setkeys{acs}{
usetitle = true
}
@@ -3515,18 +3549,18 @@ This work consists of the file achemso.dtx
%</jcisd8>
%<*jctcce>
\ProvidesFile{jctcce.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Chem. Theory Comput.]
+ [2009/08/13 v3.2g achemso configuration: J. Chem. Theory Comput.]
\def\acs@type@list{article,suppinfo}
%</jctcce>
%<*jcchff>
\ProvidesFile{jcchff.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Comb. Chem.]
+ [2009/08/13 v3.2g achemso configuration: J. Comb. Chem.]
\def\acs@type@list{article,report,perspective,suppinfo}
\SectionNumbersOff
%</jcchff>
%<*jmcmar>
\ProvidesFile{jmcmar.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Med. Chem.]
+ [2009/08/13 v3.2g achemso configuration: J. Med. Chem.]
\setkeys{acs}{
usetitle = true
}
@@ -3535,7 +3569,7 @@ This work consists of the file achemso.dtx
%</jmcmar>
%<*jnprdf>
\ProvidesFile{jnprdf.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Nat. Prod.]
+ [2009/08/13 v3.2g achemso configuration: J. Nat. Prod.]
\ifx\acs@manuscript\acs@manuscript@communication
\AbstractOff
\SectionsOff
@@ -3543,7 +3577,7 @@ This work consists of the file achemso.dtx
%</jnprdf>
%<*joceah>
\ProvidesFile{joceah.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Org. Chem.]
+ [2009/08/13 v3.2g achemso configuration: J. Org. Chem.]
\ifx\acs@manuscript\acs@manuscript@communication
\AbstractOff
\SectionsOff
@@ -3551,7 +3585,7 @@ This work consists of the file achemso.dtx
%</joceah>
%<*jpcafh>
\ProvidesFile{jpcafh.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Phys. Chem. A]
+ [2009/08/13 v3.2g achemso configuration: J. Phys. Chem. A]
\def\acs@type@list{article,letter,suppinfo}
\SectionNumbersOff
\captionsetup[table]{labelfont=bf,textfont=bf}
@@ -3562,7 +3596,7 @@ This work consists of the file achemso.dtx
%</jpcafh>
%<*jpcbfk>
\ProvidesFile{jpcbfk.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Phys. Chem. B]
+ [2009/08/13 v3.2g achemso configuration: J. Phys. Chem. B]
\def\acs@type@list{article,letter,suppinfo}
\SectionNumbersOff
\captionsetup[table]{labelfont=bf,textfont=bf}
@@ -3578,7 +3612,7 @@ This work consists of the file achemso.dtx
%</jpccck>
%<*jprobs>
\ProvidesFile{jprobs.cfg}
- [2009/07/29 v3.2e achemso configuration: J. Proteome Res.]
+ [2009/08/13 v3.2g achemso configuration: J. Proteome Res.]
\setkeys{acs}{
usetitle = true
}
@@ -3587,18 +3621,18 @@ This work consists of the file achemso.dtx
%</jprobs>
%<*langd5>
\ProvidesFile{langd5.cfg}
- [2009/07/29 v3.2e achemso configuration: Langmuir]
+ [2009/08/13 v3.2g achemso configuration: Langmuir]
\def\acs@type@list{article,letter,suppinfo}
\SectionNumbersOff
%</langd5>
%<*mamobx>
\ProvidesFile{mamobx.cfg}
- [2009/07/29 v3.2e achemso configuration: Macromolecules]
+ [2009/08/13 v3.2g achemso configuration: Macromolecules]
\SectionNumbersOff
%</mamobx>
%<*mpohbp>
\ProvidesFile{mamobx.cfg}
- [2009/07/29 v3.2e achemso configuration: Mol. Pharm.]
+ [2009/08/13 v3.2g achemso configuration: Mol. Pharm.]
\setkeys{acs}{
usetitle = true
}
@@ -3607,14 +3641,14 @@ This work consists of the file achemso.dtx
%</mpohbp>
%<*nalefd>
\ProvidesFile{nalefd.cfg}
- [2009/07/29 v3.2e achemso configuration: Nano Lett.]
+ [2009/08/13 v3.2g achemso configuration: Nano Lett.]
\def\acs@type@default{letter}
\def\acs@type@list{letter}
\SectionNumbersOff
%</nalefd>
%<*orlef7>
\ProvidesFile{orlef7.cfg}
- [2009/07/29 v3.2e achemso configuration: Org. Lett.]
+ [2009/08/13 v3.2g achemso configuration: Org. Lett.]
\def\acs@type@default{letter}
\def\acs@type@list{letter}
\SectionNumbersOff
@@ -3624,13 +3658,13 @@ This work consists of the file achemso.dtx
%</orlef7>
%<*oprdfk>
\ProvidesFile{oprdfk.cfg}
- [2009/07/29 v3.2e achemso configuration: Org. Proc. Res. Dev.]
+ [2009/08/13 v3.2g achemso configuration: Org. Proc. Res. Dev.]
\def\acs@type@list{article,highlight,review,suppinfo}
\SectionNumbersOff
%</oprdfk>
%<*orgnd7>
\ProvidesFile{orgnd7.cfg}
- [2009/07/29 v3.2e achemso configuration: Organometallics]
+ [2009/08/13 v3.2g achemso configuration: Organometallics]
\SectionNumbersOff
%</orgnd7>
% \end{macrocode}