texlive[45164] Master/texmf-dist: chemmacros (29aug17)

commits+karl at tug.org commits+karl at tug.org
Tue Aug 29 23:04:17 CEST 2017


Revision: 45164
          http://tug.org/svn/texlive?view=revision&revision=45164
Author:   karl
Date:     2017-08-29 23:04:16 +0200 (Tue, 29 Aug 2017)
Log Message:
-----------
chemmacros (29aug17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/chemmacros/README
    trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros.history
    trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf
    trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex
    trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex
    trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty

Modified: trunk/Master/texmf-dist/doc/latex/chemmacros/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/chemmacros/README	2017-08-29 21:04:03 UTC (rev 45163)
+++ trunk/Master/texmf-dist/doc/latex/chemmacros/README	2017-08-29 21:04:16 UTC (rev 45164)
@@ -1,5 +1,5 @@
 --------------------------------------------------------------------------
-the CHEMMACROS package v5.8a 2017/06/13
+the CHEMMACROS package v5.8b 2017/08/28
 
   comprehensive support for typesetting chemistry documents
 

Modified: trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros.history
===================================================================
--- trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros.history	2017-08-29 21:04:03 UTC (rev 45163)
+++ trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros.history	2017-08-29 21:04:16 UTC (rev 45164)
@@ -296,8 +296,8 @@
                             user with \usechemmodule
                           - various changes, see
                             http://www.mychemistry.eu/2015/06/chemmacros-development/
-                            and the manual section 3.4. Upgrading from version < 5.0
-                            for details
+                            and the manual section 3.4. Upgrading from version
+                            < 5.0 for details
 2015/09/23 - version 5.1  - add option `method' to `chemformula' module
                           - make module `scheme' compatible with `floatrow'
                           - add module hooks `before' and `after'
@@ -320,7 +320,8 @@
                           - new option `space' (particles)
                           - TikZ decoration `wave' (tikz)
 2016/01/23 - version 5.3a - compatibility with chemscheme package (scheme)
-                          - IUPAC shorthands only defined within \iupac (nomenclature)
+                          - IUPAC shorthands only defined within \iupac
+                            (nomenclature)
 2016/02/10 - version 5.4  - \NewChemEqConstant and family, new option
                             `eq-constant' (acid-base)
                           - added \ignorespacesafterend to environments
@@ -373,3 +374,4 @@
                           - change behaviour of
                             \__chemmacros_break_point_insert:nnn so it does
                             nothing as last token in \iupac (nomenclature)
+2017/08/28 - version 5.8b - fix missing hyperref check

Modified: trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex	2017-08-29 21:04:03 UTC (rev 45163)
+++ trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex	2017-08-29 21:04:16 UTC (rev 45164)
@@ -1,7 +1,7 @@
 % !arara: pdflatex
 % !arara: biber
-% arara: pdflatex
-% arara: pdflatex
+% arara: pdflatex: { action: nonstopmode }
+% arara: pdflatex: { action: nonstopmode }
 % --------------------------------------------------------------------------
 % the CHEMMACROS package
 %
@@ -389,9 +389,13 @@
   {}% failure
 \newsourcecodeenv[
   code-only,
-  sourcecode-options={style=bash},
-  pre-code=\def\prompt{\textasciitilde\space\$\space}
-]{bash}
+  sourcecode-options = {
+    style = bash ,
+    deleteindex = [5][keyword5] ,
+    deleteindex = [6][keyword6]
+  },
+  pre-code           = \def\prompt{\textasciitilde\space\$\space}  
+]{lbash}
 \makeatother
 
 \renewcommand*\dictumauthorformat[1]{#1}
@@ -836,17 +840,17 @@
 The\sinceversion{5.4} constants \Ka, \Kb, and \Kw\ were defined using the
 following commands:
 \begin{commands}
-  \command{NewChemEqConstant}\marg{cs}\marg{name}\marg{subscript}
+  \command{NewChemEqConstant}[\marg{cs}\marg{name}\marg{subscript}]
     Define the constant \meta{cs} with the name \meta{name} and the subscript
     \meta{subscript}.  This also defines the default translation with the key
     \meta{name} using \meta{subscript} as fallback translation (see
     section~\vref{sec:lang-module} for details).  It also defines the option
     \meta{name} for setting the subscript.
-  \command{RenewChemEqConstant}\marg{cs}\marg{name}\marg{default appearance}
+  \command{RenewChemEqConstant}[\marg{cs}\marg{name}\marg{default appearance}]
     The same as \cs{NewChemEqConstant} but renews an existing command.
-  \command{DeclareChemEqConstant}\marg{cs}\marg{name}\marg{default appearance}
+  \command{DeclareChemEqConstant}[\marg{cs}\marg{name}\marg{default appearance}]
     The same as \cs{NewChemEqConstant} but overwrites existing commands.
-  \command{ProvideChemEqConstant}\marg{cs}\marg{name}\marg{default appearance}
+  \command{ProvideChemEqConstant}[\marg{cs}\marg{name}\marg{default appearance}]
     The same as \cs{NewChemEqConstant} but doesn't throw an error if \meta{cs}
     already exists.
 \end{commands}
@@ -853,7 +857,7 @@
 
 This is how \cs{Ka} is defined:
 \begin{sourcecode}
-  \NewChemEqConstant \Ka {K-acid}  { \mathrm{a} }
+  \NewChemEqConstant\Ka{K-acid}{\mathrm{a}}
 \end{sourcecode}
 
 \subsection{The \chemmodule*{charges} Module}\label{sec:charges-module}
@@ -881,10 +885,10 @@
 \subsubsection{Ion Charges}\label{sec:ion-charges}
 Simple displaying of (real) charges.  It is worth noting that these commands
 really are relicts from a time when \chemmacros\ tried hard to be compliant
-with \pkg{mhchem} and \chemformula\ didn't exist, yet.  They are still
-provided for backwards compatibility but \emph{my recommendation is to use}
-\cs{ch} (see the documentation of the \chemformula\
-package~\cite{pkg:chemformula}) \emph{and forget about these commands:}
+with \pkg{mhchem} and \chemformula\ didn't exist, yet.  \textbf{They are still
+  provided for backwards compatibility but \emph{my recommendation is to use}
+  \cs{ch} (see the documentation of the \chemformula\
+  package~\cite{pkg:chemformula}) \emph{and forget about these commands:}}
 \begin{commands}
   \command{pch}[\oarg{number}]
     positive charge
@@ -3656,9 +3660,9 @@
 \end{sourcecode}
 You will find more details on the naming conventions in \code{interface3.pdf}
 which most likely is available on your system:
-\begin{bash}
+\begin{lbash}
   texdoc interface3
-\end{bash}
+\end{lbash}
 If you haven't read section~\vref{sec:base-module} about the \chemmodule{base}
 module, yet, please have a look.  There some macros for module writers are
 described.  Also other modules define macros for module writers which may be

Modified: trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex	2017-08-29 21:04:03 UTC (rev 45163)
+++ trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex	2017-08-29 21:04:16 UTC (rev 45164)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty	2017-08-29 21:04:03 UTC (rev 45163)
+++ trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty	2017-08-29 21:04:16 UTC (rev 45164)
@@ -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 .



More information about the tex-live-commits mailing list