From 01156f021cb6a2f7163babffef5a297ede4574e7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 Aug 2017 21:04:16 +0000 Subject: chemmacros (29aug17) git-svn-id: svn://tug.org/texlive/trunk@45164 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/chemmacros/chemmacros.module.base.code.tex | 11 ++++++++++- Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex') 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 1401c075785..6e6b98094ad 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 @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{base}{2016/05/04 basic chemmacros module} +\ChemModule{base}{2017/08/28 basic chemmacros module} % for the document hooks \ChemCompatibilityFrom{5.1} @@ -463,6 +463,14 @@ % -------------------------------------------------------------------------- +\bool_new:N \l__chemmacros_hyperref_bool + +\AtEndPreamble + { + \chemmacros_if_package_loaded:nT {hyperref} + { \bool_set_true:N \l__chemmacros_hyperref_bool } + } + \tex_endinput:D 2015/09/23 - new conditionals \chemmacros_if_preamble:TF and @@ -473,3 +481,4 @@ 2016/04/25 - macros for cleveref and fancyref support, \ChemCleverefSupport \ChemFancyrefSupport 2016/05/04 - fix \ChemCleverefSupport +2017/08/28 - add missing hyperref check diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty index 03d7b33bd91..fb25545aad6 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty @@ -31,10 +31,10 @@ % -------------------------------------------------------------------------- % package information: -\tl_const:Nn \c_chemmacros_date_tl {2017/06/13} +\tl_const:Nn \c_chemmacros_date_tl {2017/08/28} \tl_const:Nn \c_chemmacros_version_major_number_tl {5} \tl_const:Nn \c_chemmacros_version_minor_number_tl {8} -\tl_const:Nn \c_chemmacros_version_subrelease_tl {a} +\tl_const:Nn \c_chemmacros_version_subrelease_tl {b} \tl_const:Nx \c_chemmacros_version_number_tl { \c_chemmacros_version_major_number_tl . -- cgit v1.2.3