summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-18 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2019-11-18 03:01:03 +0000
commit96f9362fc3e3bb70fa2411c62418c42d9acda4d7 (patch)
tree0a5b5a1a0eb542f5e4a01241ff22837cc0e86835 /macros/latex/contrib/chemmacros
parentee7abbf3326590ad80cbd11ae7756c9238f7dab8 (diff)
CTAN sync 201911180301
Diffstat (limited to 'macros/latex/contrib/chemmacros')
-rw-r--r--macros/latex/contrib/chemmacros/README2
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.history4
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex8
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex21
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.sty6
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros_en.pdfbin973195 -> 947092 bytes
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros_en.tex25
7 files changed, 36 insertions, 30 deletions
diff --git a/macros/latex/contrib/chemmacros/README b/macros/latex/contrib/chemmacros/README
index 2661b9f427..d97f1818e4 100644
--- a/macros/latex/contrib/chemmacros/README
+++ b/macros/latex/contrib/chemmacros/README
@@ -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
diff --git a/macros/latex/contrib/chemmacros/chemmacros.history b/macros/latex/contrib/chemmacros/chemmacros.history
index 2b2429f9f8..ac061221f7 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.history
+++ b/macros/latex/contrib/chemmacros/chemmacros.history
@@ -381,3 +381,7 @@ Version history
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
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
index 596d36f65a..9cb5969ed2 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
+++ b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex
@@ -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
% --------------------------------------------------------------------------
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex
index 18bf0e5b9e..4584c8a631 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex
+++ b/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex
@@ -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
diff --git a/macros/latex/contrib/chemmacros/chemmacros.sty b/macros/latex/contrib/chemmacros/chemmacros.sty
index bb1e94bd3f..3865e1a860 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.sty
+++ b/macros/latex/contrib/chemmacros/chemmacros.sty
@@ -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 .
diff --git a/macros/latex/contrib/chemmacros/chemmacros_en.pdf b/macros/latex/contrib/chemmacros/chemmacros_en.pdf
index b62e8b0501..ee2ecb6eee 100644
--- a/macros/latex/contrib/chemmacros/chemmacros_en.pdf
+++ b/macros/latex/contrib/chemmacros/chemmacros_en.pdf
Binary files differ
diff --git a/macros/latex/contrib/chemmacros/chemmacros_en.tex b/macros/latex/contrib/chemmacros/chemmacros_en.tex
index feb89102c4..3fccfe7634 100644
--- a/macros/latex/contrib/chemmacros/chemmacros_en.tex
+++ b/macros/latex/contrib/chemmacros/chemmacros_en.tex
@@ -139,9 +139,14 @@
]{geometry}
-\expandafter\def\csname libertine@figurestyle\endcsname{LF}
+\makeatletter
+\def\libertine@figurestyle{LF}
+\usepackage{amsmath}
+\undef\lvert \undef\lVert
+\undef\rvert \undef\rVert
\usepackage[libertine]{newtxmath}
-\expandafter\def\csname libertine@figurestyle\endcsname{OsF}
+\def\libertine@figurestyle{OsF}
+\makeatother
\usepackage[biblatex]{embrac}
\ChangeEmph{[}[,.02em]{]}[.055em,-.08em]
@@ -1374,20 +1379,6 @@ existing ones:
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 @@ units. Like all \pkg{siunitx} units they're only valid inside
\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}.