diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-15 21:16:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-15 21:16:12 +0000 |
commit | 4338470395169d0b4ebc86b864961cfd61f80d69 (patch) | |
tree | 305b67ec8c622a68d60c7f7176934469ba393de4 /Master/texmf-dist/tex/latex/revquantum | |
parent | 80b2dce1110ea0c9bc2dfeaa992f050dfb65cda5 (diff) |
revquantum (15mar17)
git-svn-id: svn://tug.org/texlive/trunk@43505 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/revquantum')
-rw-r--r-- | Master/texmf-dist/tex/latex/revquantum/revquantum.sty | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/revquantum/revquantum.sty b/Master/texmf-dist/tex/latex/revquantum/revquantum.sty index 8f26497e1dd..dbbf316fbcd 100644 --- a/Master/texmf-dist/tex/latex/revquantum/revquantum.sty +++ b/Master/texmf-dist/tex/latex/revquantum/revquantum.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{revquantum} - [2016/09/21 v0.10 Build script fixes for CTAN submission.] + [2017/03/15 v0.11 Misc. fixes and improved installer.] \usepackage{ifthen} @@ -177,6 +177,7 @@ }{} \ifthenelse{\boolean{@bibtexhacks}}{ \RequirePackage{letltxmacro} + \RequirePackage{etoolbox} }{} @@ -260,13 +261,15 @@ -\LetLtxMacro{\ORIGselectlanguage}{\selectlanguage} -\DeclareRobustCommand{\selectlanguage}[1]{% - \@ifundefined{alias@\string#1} - {\ORIGselectlanguage{#1}} - {\begingroup\edef\x{\endgroup - \noexpand\ORIGselectlanguage{\@nameuse{alias@#1}}}\x}% -} +\ifthenelse{\boolean{@bibtexhacks}}{ + \LetLtxMacro{\ORIGselectlanguage}{\selectlanguage} + \DeclareRobustCommand{\selectlanguage}[1]{% + \@ifundefined{alias@\string#1} + {\ORIGselectlanguage{#1}} + {\begingroup\edef\x{\endgroup + \noexpand\ORIGselectlanguage{\@nameuse{alias@#1}}}\x}% + } +}{} @@ -283,6 +286,15 @@ +\ifthenelse{\boolean{@bibtexhacks}}{ + % Ensure that the \doibase command is defined, just in case. + \providecommand{\doibase}{} + \renewcommand{\doibase}[1]{https://dx.doi.org/\ifdefempty{#1}{}{#1}} +}{} + + + + \ifthenelse{\boolean{@final}}{ \newcommand{\todo}[1]{% |