From f0be59ccfa7046c57199fe35c49e1e8963fcb1a9 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 23 Nov 2020 03:01:13 +0000 Subject: CTAN sync 202011230301 --- .../chemmacros/chemmacros.module.scheme.code.tex | 29 ++++++++++++++-------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex') diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex index 97e1a11cb0..82df4d1624 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex +++ b/macros/latex/contrib/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 -- cgit v1.2.3