summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-22 22:16:41 +0000
committerKarl Berry <karl@freefriends.org>2020-11-22 22:16:41 +0000
commit04277ac5c3816f69a3699299d9f5fc7fb1a5a01d (patch)
tree25f159406536db559cd93a9a873ad05ec5689a38 /Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex
parentd5709428a00f6f927914e8afd574594ea4456a14 (diff)
chemmacros (22nov20)
git-svn-id: svn://tug.org/texlive/trunk@56983 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex29
1 files changed, 18 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex
index 97e1a11cb01..82df4d16240 100644
--- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex
+++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.scheme.code.tex
@@ -14,18 +14,18 @@
% Copyright 2011--2020 Clemens Niederberger
%
% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
+% version 2008/05/04 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Clemens Niederberger.
% --------------------------------------------------------------------------
-\ChemModule{scheme}{2020/02/02 a scheme floating environment}
+\ChemModule{scheme}{2020/11/21 a scheme floating environment}
\RequirePackage {chemnum}
@@ -222,10 +222,13 @@
\legacy_if:nTF {@twocolumn}
{ \@restonecoltrue\onecolumn }
{ \@restonecolfalse }
- \exp_args:NNx \chapter* {\exp_not:c {list#1name}}
- \@mkboth
- { \MakeUppercase \use:c {list#1name} }
- { \MakeUppercase \use:c {list#1name} }
+ \chapter* { \use:c {list#1name} }
+ \use:x
+ {
+ \exp_not:N \@mkboth
+ { \exp_not:N \MakeUppercase \exp_not:c {list#1name} }
+ { \exp_not:N \MakeUppercase \exp_not:c {list#1name} }
+ }
\@starttoc {#2}
\legacy_if:nT {@restonecol} { \twocolumn }
}
@@ -233,10 +236,13 @@
{
\cs_new_protected:cpn {listof#1s}
{
- \exp_args:NNx \section* {\exp_not:c {list#1name}}
- \@mkboth
- { \MakeUppercase \use:c {list#1name} }
- { \MakeUppercase \use:c {list#1name} }
+ \section* {\use:c {list#1name}}
+ \use:x
+ {
+ \exp_not:N \@mkboth
+ { \exp_not:N \MakeUppercase \exp_not:c {list#1name} }
+ { \exp_not:N \MakeUppercase \exp_not:c {list#1name} }
+ }
\@starttoc {#2}
}
}
@@ -324,3 +330,4 @@
2019/03/23 - added Norwegian translations
2020/02/03 - lazy boolean evaluation
- prefer \legacy_if:nTF over \chemmacros_if_tex:nnTF
+2020/11/21 - fix issue #41