diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-17 22:15:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-17 22:15:56 +0000 |
commit | 0c6e9f5d2c89128d94d3e190f1d69607ed0757ab (patch) | |
tree | e3efbe1c00a93053b729ed63c02d8e24facef6f6 /Master/texmf-dist/source/latex | |
parent | 64f6ef59da37e7dfcaedbc874997dd5cc56ed813 (diff) |
achemso (17jun16)
git-svn-id: svn://tug.org/texlive/trunk@41472 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/achemso/achemso.dtx | 136 |
1 files changed, 81 insertions, 55 deletions
diff --git a/Master/texmf-dist/source/latex/achemso/achemso.dtx b/Master/texmf-dist/source/latex/achemso/achemso.dtx index 7e1ffc3de12..b9fd7f3a330 100644 --- a/Master/texmf-dist/source/latex/achemso/achemso.dtx +++ b/Master/texmf-dist/source/latex/achemso/achemso.dtx @@ -404,6 +404,7 @@ This work consists of the files achemso.dtx, % and \emph{Chem. Rev.}} % \changes{v3.10c}{2016/05/10}{Add support for \emph{ACS Omega} and % \emph{ACS Energy Lett.}} +% \changes{v3.10d}{2016/06/17}{Improve handling of \textsc{doi} values} % %\begin{abstract} % The \pkg{achemso} bundle provides a \LaTeX\ class file and \BibTeX\ @@ -747,7 +748,7 @@ This work consists of the files achemso.dtx, % prints its content in an appropriately sized box on a separate page. % In contrast to the rest of the manuscript, this section is intended to % be ``print ready'' in appearance. - +% %\begin{LaTeXdemo}[code only] % \begin{tocentry} % \includegraphics{toc-entry-graphic} @@ -764,8 +765,21 @@ This work consists of the files achemso.dtx, % some (for example \emph{ACS Nano}) do. By providing a command, the formatting % is left flexible. % +% \DescribeMacro{\doi} +% +% The bibliography style prints any \textsc{doi} values as the +% argument to the command \cs{doi}. The default definition will allow +% printing of special characters but does not create hyperlinks. A +% more sophisticated version of the command may be set up if \pkg{hyperref} +% is loaded, for example +%\begin{LaTeXdemo}[code only] +% \begin{tocentry} +% \newcommand{\doi}[1]{\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} +% \end{tocentry} +%\end{LaTeXdemo} +% %\section{The package file} -% The \pkg{achemso} package is independent of the classs file, and +% The \pkg{achemso} package is independent of the class file, and % contains parts of the bundle useful outside of submission to the % \ACS. % @@ -971,7 +985,7 @@ This work consists of the files achemso.dtx, % \begin{macrocode} %<*class> \ProvidesClass{achemso} - [2016/05/10 v3.10c Submission to ACS journals] + [2016/06/17 v3.10d Submission to ACS journals] \LoadClass[12pt,letter]{article} % \end{macrocode} % @@ -991,7 +1005,7 @@ This work consists of the files achemso.dtx, % \begin{macrocode} %<*package> \ProvidesPackage{achemso} - [2016/05/10 v3.10c Support for ACS journals] + [2016/06/17 v3.10d Support for ACS journals] \@ifclassloaded{achemso}{% \PackageInfo{achemso}{% You have already loaded the `achemso' class:\MessageBreak @@ -3567,7 +3581,7 @@ This work consists of the files achemso.dtx, % \begin{macrocode} %<*aamick> \ProvidesFile{achemso-aamick.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Appl. Mater. Interfaces] + [2016/06/17 v3.10d achemso configuration: ACS Appl. Mater. Interfaces] \def\acs@type@list{article,letter,suppinfo} \setkeys{acs}{ articletitle = true, @@ -3576,7 +3590,7 @@ This work consists of the files achemso.dtx, %</aamick> %<*acbcct> \ProvidesFile{achemso-acbcct.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Chem. Biol.] + [2016/06/17 v3.10d achemso configuration: ACS Chem. Biol.] \setkeys{acs}{ articletitle = true, biblabel = fullstop, @@ -3588,14 +3602,14 @@ This work consists of the files achemso.dtx, %</acbcct> %<*acbcct> \ProvidesFile{achemso-accacs.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Catal.] + [2016/06/17 v3.10d achemso configuration: ACS Catal.] \setkeys{acs}{keywords = true} \def\acs@type@list{article,letter,perspective,review,viewpoints,suppinfo} \SectionNumbersOff %</acbcct> %<*achre4> \ProvidesFile{achemso-achre4.cfg} - [2016/05/10 v3.10c achemso configuration: Acc. Chem. Res.] + [2016/06/17 v3.10d achemso configuration: Acc. Chem. Res.] \setkeys{acs}{ articletitle = true, biblabel = plain @@ -3605,7 +3619,7 @@ This work consists of the files achemso.dtx, %</achre4> %<*acncdm> \ProvidesFile{achemso-acncdm.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Chem. Neurosci.] + [2016/06/17 v3.10d achemso configuration: ACS Chem. Neurosci.] \def\acs@type@list{article,review,letter,suppinfo,viewpoint} \setkeys{acs}{ articletitle = true, @@ -3617,7 +3631,7 @@ This work consists of the files achemso.dtx, %</acncdm> %<*acsccc> \ProvidesFile{achemso-acsccc.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Combinatorial Sci.] + [2016/06/17 v3.10d achemso configuration: ACS Combinatorial Sci.] \def\acs@type@list{article,letter,review,perspective,account,note,suppinfo} \setkeys{acs}{ articletitle = true, @@ -3627,7 +3641,7 @@ This work consists of the files achemso.dtx, %</acsccc> %<*acscii> \ProvidesFile{achemso-acscii.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Central Sci.] + [2016/06/17 v3.10d achemso configuration: ACS Central Sci.] \def\acs@type@list{article,review,suppinfo} \setkeys{acs}{ articletitle = true, @@ -3637,7 +3651,7 @@ This work consists of the files achemso.dtx, %</acscii> %<*acsodf> \ProvidesFile{achemso-acsodf.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Omega.] + [2016/06/17 v3.10d achemso configuration: ACS Omega.] \def\acs@type@list{article} \setkeys{acs}{ articletitle = true, @@ -3645,7 +3659,7 @@ This work consists of the files achemso.dtx, %</acsodf> %<*aelccp> \ProvidesFile{achemso-aelccp.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Energy Lett.] + [2016/06/17 v3.10d achemso configuration: ACS Energy Lett.] \def\acs@type@list{letter,prespective,review,viewpoint,focus} \setkeys{acs}{ articletitle = true, @@ -3654,7 +3668,7 @@ This work consists of the files achemso.dtx, %</aelccp> %<*amlccd> \ProvidesFile{achemso-amlccd.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Macro Lett.] + [2016/06/17 v3.10d achemso configuration: ACS Macro Lett.] \def\acs@type@list{letter,suppinfo} \SectionsOff \setlength{\acs@tocentry@height}{8 cm} @@ -3662,7 +3676,7 @@ This work consists of the files achemso.dtx, %</amlccd> %<*amclct> \ProvidesFile{achemso-amclct.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Med. Chem. Lett.] + [2016/06/17 v3.10d achemso configuration: ACS Med. Chem. Lett.] \setkeys{acs}{ articletitle = true } @@ -3672,7 +3686,7 @@ This work consists of the files achemso.dtx, % \changes{v3.8n}{2015/01/13}{\emph{ACS Nano} want abbreviations} %<*ancac3> \ProvidesFile{achemso-ancac3.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Nano] + [2016/06/17 v3.10d achemso configuration: ACS Nano] \setkeys{acs}{ abbreviations = true, articletitle = true, @@ -3687,13 +3701,13 @@ This work consists of the files achemso.dtx, %</ancac3> %<*ancham> \ProvidesFile{achemso-ancham.cfg} - [2016/05/10 v3.10c achemso configuration: Anal. Chem.] + [2016/06/17 v3.10d achemso configuration: Anal. Chem.] \def\acs@type@list{article,note,suppinfo} \SectionNumbersOff %</ancham> %<*apchd5> \ProvidesFile{achemso-apchd5.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Photon.] + [2016/06/17 v3.10d achemso configuration: ACS Photon.] \def\acs@type@list{article,letter,perspective,review,suppinfo} \setkeys{acs}{ articletitle = true, @@ -3705,7 +3719,7 @@ This work consists of the files achemso.dtx, %</apchd5> %<*ascecg> \ProvidesFile{achemso-ascecg.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Sustainable Chem Eng.] + [2016/06/17 v3.10d achemso configuration: ACS Sustainable Chem Eng.] \setkeys{acs}{ articletitle = true, biblabel = fullstop, @@ -3716,7 +3730,7 @@ This work consists of the files achemso.dtx, %</ascecg> %<*asbcd6> \ProvidesFile{achemso-asbcd6.cfg} - [2016/05/10 v3.10c achemso configuration: ACS Synth. Biol.] + [2016/06/17 v3.10d achemso configuration: ACS Synth. Biol.] \setkeys{acs}{ abbreviations = true, articletitle = true, @@ -3729,7 +3743,7 @@ This work consists of the files achemso.dtx, %</asbcd6> %<*bichaw> \ProvidesFile{achemso-bichaw.cfg} - [2016/05/10 v3.10c achemso configuration: Biochemistry] + [2016/06/17 v3.10d achemso configuration: Biochemistry] \setkeys{acs}{ abbreviations = true, articletitle = true, @@ -3779,7 +3793,7 @@ This work consists of the files achemso.dtx, %</bichaw> %<*bcches> \ProvidesFile{achemso-bcches.cfg} - [2016/05/10 v3.10c achemso configuration: Bioconjugate Chem.] + [2016/06/17 v3.10d achemso configuration: Bioconjugate Chem.] \setkeys{acs}{ articletitle = true, biochem = true, @@ -3789,14 +3803,14 @@ This work consists of the files achemso.dtx, %</bcches> %<*bomaf6> \ProvidesFile{achemso-bomaf6.cfg} - [2016/05/10 v3.10c achemso configuration: Biomacromolecules] + [2016/06/17 v3.10d achemso configuration: Biomacromolecules] \def\acs@type@list{article,comment,communication,note,review,suppinfo} \SectionNumbersOff \AtEndOfClass{\SectionsOn} %</bomaf6> %<*crtoec> \ProvidesFile{achemso-crtoec.cfg} - [2016/05/10 v3.10c achemso configuration: Chem. Res. Toxicol.] + [2016/06/17 v3.10d achemso configuration: Chem. Res. Toxicol.] \setkeys{acs}{ abbreviations = true, articletitle = true, @@ -3814,7 +3828,7 @@ This work consists of the files achemso.dtx, %</crtoec> %<*chreay> \ProvidesFile{achemso-chreay.cfg} - [2016/05/10 v3.10c achemso configuration: Chem. Rev.] + [2016/06/17 v3.10d achemso configuration: Chem. Rev.] \def\acs@type@default{review} \def\acs@type@list{review} \setkeys{acs}{articletitle = true} @@ -3826,7 +3840,7 @@ This work consists of the files achemso.dtx, %<*cmatex> % \begin{macrocode} \ProvidesFile{achemso-cmatex.cfg} - [2016/05/10 v3.10c achemso configuration: Chem. Mater.] + [2016/06/17 v3.10d achemso configuration: Chem. Mater.] \setkeys{acs}{keywords = true} \SectionNumbersOff \ifx\acs@manuscript\acs@manuscript@communication @@ -3837,7 +3851,7 @@ This work consists of the files achemso.dtx, %</cmatex> %<*cgdefu> \ProvidesFile{achemso-cgdefu.cfg} - [2016/05/10 v3.10c achemso configuration: Cryst. Growth Des.] + [2016/06/17 v3.10d achemso configuration: Cryst. Growth Des.] \setkeys{acs}{articletitle = true} \def\acs@type@list{% article,communication,perspective,suppinfo% @@ -3851,21 +3865,21 @@ This work consists of the files achemso.dtx, %</cgdefu> %<*enfuem> \ProvidesFile{achemso-enfuem.cfg} - [2016/05/10 v3.10c achemso configuration: Energy Fuels] + [2016/06/17 v3.10d achemso configuration: Energy Fuels] \setkeys{acs}{articletitle = true} \def\acs@type@list{article,review,suppinfo} \SectionNumbersOff %</enfuem> %<*esthag> \ProvidesFile{achemso-esthag.cfg} - [2016/05/10 v3.10c achemso configuration: Environ. Sci. Technol.] + [2016/06/17 v3.10d achemso configuration: Environ. Sci. Technol.] \setkeys{acs}{articletitle = true} \def\acs@type@list{article,suppinfo} \SectionNumbersOff %</esthag> %<*estlcu> \ProvidesFile{achemso-estlcu.cfg} - [2016/05/10 v3.10c achemso configuration: Environ. Sci. Technol. Lett.] + [2016/06/17 v3.10d achemso configuration: Environ. Sci. Technol. Lett.] \setkeys{acs}{articletitle = true} \def\acs@type@list{letter,suppinfo} \SectionNumbersOff @@ -3873,7 +3887,7 @@ This work consists of the files achemso.dtx, % \changes{v3.8m}{2014/11/24}{Fixes for \emph{Ind.\ Eng.\ Chem.\ Res.}\ style} %<*iecred> \ProvidesFile{achemso-iecred.cfg} - [2016/05/10 v3.10c achemso configuration: Ind. Eng. Chem. Res.] + [2016/06/17 v3.10d achemso configuration: Ind. Eng. Chem. Res.] \setkeys{acs}{ articletitle = true, biblabel = brackets @@ -3882,7 +3896,7 @@ This work consists of the files achemso.dtx, %</iecred> %<*inoraj> \ProvidesFile{achemso-inoraj.cfg} - [2016/05/10 v3.10c achemso configuration: Inorg. Chem.] + [2016/06/17 v3.10d achemso configuration: Inorg. Chem.] \SectionNumbersOff \ifx\acs@manuscript\acs@manuscript@communication \AbstractOff @@ -3897,7 +3911,7 @@ This work consists of the files achemso.dtx, % \begin{macrocode} %<*jacsat> \ProvidesFile{achemso-jacsat.cfg} - [2016/05/10 v3.10c achemso configuration: J. Am. Chem. Soc.] + [2016/06/17 v3.10d achemso configuration: J. Am. Chem. Soc.] \SectionNumbersOff \ifx\acs@manuscript\acs@manuscript@communication\else \expandafter\endinput @@ -4103,7 +4117,7 @@ This work consists of the files achemso.dtx, % \begin{macrocode} %<*jafcau> \ProvidesFile{achemso-jafcau.cfg} - [2016/05/10 v3.10c achemso configuration: J. Agric. Food Chem.] + [2016/06/17 v3.10d achemso configuration: J. Agric. Food Chem.] \setkeys{acs}{ articletitle = true, keywords = true @@ -4113,7 +4127,7 @@ This work consists of the files achemso.dtx, %</jafcau> %<*jceaax> \ProvidesFile{achemso-jceaax.cfg} - [2016/05/10 v3.10c achemso configuration: J. Chem. Eng. Data] + [2016/06/17 v3.10d achemso configuration: J. Chem. Eng. Data] \setkeys{acs}{articletitle = true} \def\acs@type@list{article,suppinfo} \def\refname{Literature Cited} @@ -4121,7 +4135,7 @@ This work consists of the files achemso.dtx, %</jceaax> %<*jceda8> \ProvidesFile{achemso-jceda8.cfg} - [2016/05/10 v3.10c achemso configuration: J. Chem. Ed.] + [2016/06/17 v3.10d achemso configuration: J. Chem. Ed.] \setkeys{acs}{ articletitle = true, keywords = true @@ -4132,14 +4146,14 @@ This work consists of the files achemso.dtx, %</jceda8> %<*jcisd8> \ProvidesFile{achemso-jcisd8.cfg} - [2016/05/10 v3.10c achemso configuration: J. Chem. Inf. Model.] + [2016/06/17 v3.10d achemso configuration: J. Chem. Inf. Model.] \setkeys{acs}{articletitle = true} \def\acs@type@list{article,suppinfo} \SectionNumbersOff %</jcisd8> %<*jctcce> \ProvidesFile{achemso-jctcce.cfg} - [2016/05/10 v3.10c achemso configuration: J. Chem. Theory Comput.] + [2016/06/17 v3.10d achemso configuration: J. Chem. Theory Comput.] \def\acs@type@list{article,suppinfo} \setkeys{acs}{ maxauthors = 0 @@ -4147,7 +4161,7 @@ This work consists of the files achemso.dtx, %</jctcce> %<*jmcmar> \ProvidesFile{achemso-jmcmar.cfg} - [2016/05/10 v3.10c achemso configuration: J. Med. Chem.] + [2016/06/17 v3.10d achemso configuration: J. Med. Chem.] \setkeys{acs}{articletitle = true} \def\acs@type@list{article,letter,perspective,suppinfo} \SectionNumbersOff @@ -4156,7 +4170,7 @@ This work consists of the files achemso.dtx, %</jmcmar> %<*jnprdf> \ProvidesFile{achemso-jnprdf.cfg} - [2016/05/10 v3.10c achemso configuration: J. Nat. Prod.] + [2016/06/17 v3.10d achemso configuration: J. Nat. Prod.] \renewcommand*{\abstractname}{ABSTRACT} \renewcommand*{\acknowledgementname}{ACKNOWLEDGEMENT} \renewcommand*{\suppinfoname}{ASSOCIATED CONTENT} @@ -4189,7 +4203,7 @@ This work consists of the files achemso.dtx, %</jnprdf> %<*joceah> \ProvidesFile{achemso-joceah.cfg} - [2016/05/10 v3.10c achemso configuration: J. Org. Chem.] + [2016/06/17 v3.10d achemso configuration: J. Org. Chem.] \ifx\acs@manuscript\acs@manuscript@communication \AbstractOff \SectionsOff @@ -4204,7 +4218,7 @@ This work consists of the files achemso.dtx, % \begin{macrocode} %<*jpcafh> \ProvidesFile{achemso-jpcafh.cfg} - [2016/05/10 v3.10c achemso configuration: J. Phys. Chem. A] + [2016/06/17 v3.10d achemso configuration: J. Phys. Chem. A] \def\acs@type@list{article,suppinfo} \setkeys{acs}{ articletitle = true, @@ -4220,7 +4234,7 @@ This work consists of the files achemso.dtx, %</jpcafh> %<*jpcbfk> \ProvidesFile{achemso-jpcbfk.cfg} - [2016/05/10 v3.10c achemso configuration: J. Phys. Chem. B] + [2016/06/17 v3.10d achemso configuration: J. Phys. Chem. B] \def\acs@type@list{article,suppinfo} \setkeys{acs}{ articletitle = true, @@ -4233,7 +4247,7 @@ This work consists of the files achemso.dtx, %</jpcbfk> %<*jpccck> \ProvidesFile{achemso-jpccck.cfg} - [2016/05/10 v3.10c achemso configuration: J. Phys. Chem. C] + [2016/06/17 v3.10d achemso configuration: J. Phys. Chem. C] \def\acs@type@list{article,suppinfo} \setkeys{acs}{ articletitle = true, @@ -4250,7 +4264,7 @@ This work consists of the files achemso.dtx, % \begin{macrocode} %<*jpclcd> \ProvidesFile{achemso-jpclcd.cfg} - [2016/05/10 v3.10c achemso configuration: J. Phys. Chem. Lett.] + [2016/06/17 v3.10d achemso configuration: J. Phys. Chem. Lett.] \setkeys{acs}{ articletitle = true, etalmode = truncate, @@ -4277,7 +4291,7 @@ This work consists of the files achemso.dtx, %</jpclcd> %<*jprobs> \ProvidesFile{achemso-jprobs.cfg} - [2016/05/10 v3.10c achemso configuration: J. Proteome Res.] + [2016/06/17 v3.10d achemso configuration: J. Proteome Res.] \setkeys{acs}{ articletitle = true, keywords = true @@ -4287,19 +4301,19 @@ This work consists of the files achemso.dtx, %</jprobs> %<*langd5> \ProvidesFile{achemso-langd5.cfg} - [2016/05/10 v3.10c achemso configuration: Langmuir] + [2016/06/17 v3.10d achemso configuration: Langmuir] \def\acs@type@list{article,letter,suppinfo} \setkeys{acs}{articletitle = true} \SectionNumbersOff %</langd5> %<*mamobx> \ProvidesFile{achemso-mamobx.cfg} - [2016/05/10 v3.10c achemso configuration: Macromolecules] + [2016/06/17 v3.10d achemso configuration: Macromolecules] \SectionNumbersOff %</mamobx> %<*mpohbp> \ProvidesFile{achemso-mpohbp.cfg} - [2016/05/10 v3.10c achemso configuration: Mol. Pharm.] + [2016/06/17 v3.10d achemso configuration: Mol. Pharm.] \setkeys{acs}{ articletitle = true, keywords = true @@ -4309,7 +4323,7 @@ This work consists of the files achemso.dtx, %</mpohbp> %<*nalefd> \ProvidesFile{achemso-nalefd.cfg} - [2016/05/10 v3.10c achemso configuration: Nano Lett.] + [2016/06/17 v3.10d achemso configuration: Nano Lett.] \setkeys{acs}{keywords = true} \def\acs@type@default{letter} \def\acs@type@list{letter} @@ -4317,7 +4331,7 @@ This work consists of the files achemso.dtx, %</nalefd> %<*orlef7> \ProvidesFile{achemso-orlef7.cfg} - [2016/05/10 v3.10c achemso configuration: Org. Lett.] + [2016/06/17 v3.10d achemso configuration: Org. Lett.] \def\acs@type@default{letter} \def\acs@type@list{letter} \SectionsOff @@ -4327,13 +4341,13 @@ This work consists of the files achemso.dtx, %</orlef7> %<*oprdfk> \ProvidesFile{achemso-oprdfk.cfg} - [2016/05/10 v3.10c achemso configuration: Org. Proc. Res. Dev.] + [2016/06/17 v3.10d achemso configuration: Org. Proc. Res. Dev.] \def\acs@type@list{article,highlight,review,suppinfo} \SectionNumbersOff %</oprdfk> %<*orgnd7> \ProvidesFile{achemso-orgnd7.cfg} - [2016/05/10 v3.10c achemso configuration: Organometallics] + [2016/06/17 v3.10d achemso configuration: Organometallics] \SectionNumbersOff \setkeys{acs}{articletitle = true} %</orgnd7> @@ -4999,7 +5013,7 @@ FUNCTION { count.entries } { % Start and end of bibliography functions FUNCTION { begin.bib } { - "achemso 2016/05/10 v3.10c" top$ + "achemso 2016/06/17 v3.10d" top$ preamble$ empty$ { } { @@ -5009,6 +5023,18 @@ FUNCTION { begin.bib } { if$ "\providecommand{\latin}[1]{#1}" write$ newline$ + "\makeatletter" write$ + newline$ + "\providecommand{\doi}" write$ + newline$ + " {\begingroup\let\do\@makeother\dospecials" write$ + newline$ + " \catcode`\{=1 \catcode`\}=2\doi@aux}" write$ + newline$ + "\providecommand{\doi@aux}[1]{\endgroup\texttt{#1}}" write$ + newline$ + "\makeatother" write$ + newline$ "\providecommand*\mcitethebibliography{\thebibliography}" write$ newline$ "\csname @ifundefined\endcsname{endmcitethebibliography}" write$ @@ -5452,7 +5478,7 @@ FUNCTION { format.doi } { 'skip$ { bbl.doi add.space - doi * + "\doi{" * doi * "}" * output } if$ |