texlive[52839] Master/texmf-dist: chemmacros (17nov19)

commits+karl at tug.org commits+karl at tug.org
Sun Nov 17 23:32:32 CET 2019


Revision: 52839
          http://tug.org/svn/texlive?view=revision&revision=52839
Author:   karl
Date:     2019-11-17 23:32:31 +0100 (Sun, 17 Nov 2019)
Log Message:
-----------
chemmacros (17nov19)

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.nomenclature.code.tex
    trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.units.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	2019-11-17 22:32:18 UTC (rev 52838)
+++ trunk/Master/texmf-dist/doc/latex/chemmacros/README	2019-11-17 22:32:31 UTC (rev 52839)
@@ -1,5 +1,5 @@
 --------------------------------------------------------------------------
-the CHEMMACROS package v5.8e 2019/09/27
+the CHEMMACROS package v5.9 2019/11/17
 
   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	2019-11-17 22:32:18 UTC (rev 52838)
+++ trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros.history	2019-11-17 22:32:31 UTC (rev 52839)
@@ -381,3 +381,7 @@
 2019/09/23 - version 5.8d - add some Norwegian translations (reactions, scheme)
 2019/09/27 - version 5.8e - change `O{}' argument of reactions into `!O{}'
                             (reactions)
+2019/09/30 - version 5.8f - fix bug introduced in the last version
+2019/11/17 - version 5.9  - correction: torr -> Torr (units)
+                          - define latin phrases on the go instead of at begin
+                            document

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	2019-11-17 22:32:18 UTC (rev 52838)
+++ trunk/Master/texmf-dist/doc/latex/chemmacros/chemmacros_en.tex	2019-11-17 22:32:31 UTC (rev 52839)
@@ -139,9 +139,14 @@
 ]{geometry}
 
 
-\expandafter\def\csname libertine at figurestyle\endcsname{LF}
+\makeatletter
+\def\libertine at figurestyle{LF}
+\usepackage{amsmath}
+\undef\lvert \undef\lVert
+\undef\rvert \undef\rVert
 \usepackage[libertine]{newtxmath}
-\expandafter\def\csname libertine at figurestyle\endcsname{OsF}
+\def\libertine at figurestyle{OsF}
+\makeatother
 
 \usepackage[biblatex]{embrac}
 \ChangeEmph{[}[,.02em]{]}[.055em,-.08em]
@@ -1374,20 +1379,6 @@
 If you additionally load \pkg{chemstyle}~\cite{pkg:chemstyle} said package
 will \emph{not} define its own \cs{latin}.
 
-% The package \pkg{chemstyle}~\cite{pkg:chemstyle} provides the command
-% \cs{latin} to typeset common latin phrases in a consistent way.  \chemmacros\
-% defines a similar \cs{latin} only if \pkg{chemstyle} has \emph{not} been
-% loaded and additionally provides these commands:
-% \begin{center}
-%   \cs{insitu}   \insitu \quad
-%   \cs{abinitio} \abinitio \quad
-%   \cs{invacuo}  \invacuo
-% \end{center}
-
-% \emph{If the package \pkg{chemstyle} has been loaded they are defined using
-% \pkg{chemstyle}'s \cs{latin} command.  This means that then the appearance
-% depends on \pkg{chemstyle}'s option \code{abbremph}.}
-
 The last three commands mentioned above are defined through
 \begin{commands}
   \command{NewChemLatin}[\marg{cs}\marg{phrase}]
@@ -3461,7 +3452,7 @@
   \command{Molar} \si{\Molar}
   \command{MolMass} \si{\MolMass}
   \command{normal} \si{\normal}
-  \command{torr} \si{\torr}
+  \command{Torr} \si{\Torr}
 \end{commands}
 
 By the way: \cs*{mmHg} \si{\mmHg} already is defined by \pkg{siunitx}.

Modified: trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.nomenclature.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.nomenclature.code.tex	2019-11-17 22:32:18 UTC (rev 52838)
+++ trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.nomenclature.code.tex	2019-11-17 22:32:31 UTC (rev 52839)
@@ -862,7 +862,9 @@
       \chemmacros_latin:n {#2}
     \group_end:
   }
+\EndChemCompatibility
 
+\ChemCompatibilityBetween{5.7}{5.9}
 \AtBeginDocument
   {
     \AfterPackage* {chemstyle} { \cs_undefine:N \invacuo }
@@ -870,7 +872,13 @@
     \NewChemLatin \abinitio {ab~initio}
     \NewChemLatin \invacuo  {in~vacuo}
   }
+\EndChemCompatibility
 
+\ChemCompatibilityFrom{5.9}
+\cs_undefine:N \invacuo
+\NewChemLatin \invacuo  {in~vacuo}
+\NewChemLatin \abinitio {ab~initio}
+\NewChemLatin \insitu   {in~situ}
 \EndChemCompatibility
 
 % --------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.units.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.units.code.tex	2019-11-17 22:32:18 UTC (rev 52838)
+++ trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.units.code.tex	2019-11-17 22:32:31 UTC (rev 52839)
@@ -25,19 +25,21 @@
 %
 % The Current Maintainer of this work is Clemens Niederberger.
 % --------------------------------------------------------------------------
-\ChemModule{units}{2015/09/28 chemical units}
+\ChemModule{units}{2019/11/07 chemical units}
 
 \RequirePackage{siunitx}
 
 % --------------------------------------------------------------------------
-\DeclareSIUnit {\atm       } {atm}
-\DeclareSIUnit {\atmosphere} {atm}
-\DeclareSIUnit {\calory    } {cal}
-\DeclareSIUnit {\cal       } {cal}
-\DeclareSIUnit {\moLar     } {\mole\per\liter}
-\DeclareSIUnit {\MolMass   } {\gram\per\mole}
-\DeclareSIUnit {\normal    } {\textsc{n}}
-\DeclareSIUnit {\torr      } {torr}
+\DeclareSIUnit \atm        {atm}
+\DeclareSIUnit \atmosphere {atm}
+\DeclareSIUnit \calory     {cal}
+\DeclareSIUnit \cal        {cal}
+\DeclareSIUnit \moLar      {\mole\per\liter}
+\DeclareSIUnit \MolMass    {\gram\per\mole}
+\DeclareSIUnit \normal     {\textsc{n}}
+\chemmacros_if_compatibility:nnTF {<} {5.8g}
+  { \DeclareSIUnit \torr {torr} }
+  { \DeclareSIUnit \Torr {Torr} }
 
 \AtEndPreamble
   {
@@ -53,4 +55,5 @@
 \file_input_stop:
 
 2015/09/28 - change \AtBeginDocument into \AtEndPreamble
+2019/11/07 - correction torr -> Torr
 

Modified: trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty	2019-11-17 22:32:18 UTC (rev 52838)
+++ trunk/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty	2019-11-17 22:32:31 UTC (rev 52839)
@@ -31,10 +31,10 @@
 
 % --------------------------------------------------------------------------
 % package information:
-\tl_const:Nn \c_chemmacros_date_tl {2019/09/30}
+\tl_const:Nn \c_chemmacros_date_tl {2019/11/17}
 \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   {f}
+\tl_const:Nn \c_chemmacros_version_minor_number_tl {9}
+\tl_const:Nn \c_chemmacros_version_subrelease_tl   {}
 \tl_const:Nx \c_chemmacros_version_number_tl
   {
     \c_chemmacros_version_major_number_tl .



More information about the tex-live-commits mailing list