summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-25 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2019-09-25 03:00:48 +0000
commitd232e1107d60e7689e706bee9705f26745ae8b9e (patch)
treef9ac3303fdb36c2eca1872286615c0931d952476 /macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
parent94c2e367c3690be2a3c715b4577c81200652ad81 (diff)
CTAN sync 201909250300
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex')
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
index 6e6b98094a..5d2e66611d 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
+++ b/macros/latex/contrib/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