summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-24 20:06:30 +0000
committerKarl Berry <karl@freefriends.org>2019-09-24 20:06:30 +0000
commita358a912e6de92699377ad892a224635a09168a7 (patch)
treeffd950f7cf5edf92b0cf06df3cb7d5022e3e67c4 /Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex
parent3ddd5190ff063a3d083976499bde2a1964c190c9 (diff)
chemmacros (24sep19)
git-svn-id: svn://tug.org/texlive/trunk@52172 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex
index 6e6b98094ad..5d2e66611d3 100644
--- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex
+++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex
@@ -11,7 +11,7 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-% Copyright 2011-2017 Clemens Niederberger
+% Copyright 2011-2019 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -272,7 +272,9 @@
{
\cs_if_exist:cF {cref@#1@name}
{
- \crefname {#1} {#2} {#3}
+ \chemmacros_tex_if:nnTF {@cref@capitalise} {}
+ { \crefname {#1} {#4} {#5} }
+ { \crefname {#1} {#2} {#3} }
\Crefname {#1} {#4} {#5}
}
}
@@ -471,7 +473,7 @@
{ \bool_set_true:N \l__chemmacros_hyperref_bool }
}
-\tex_endinput:D
+\file_input_stop:
2015/09/23 - new conditionals \chemmacros_if_preamble:TF and
\chemmacros_if_document:TF