summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/chemformula/README2
-rw-r--r--Master/texmf-dist/doc/latex/chemformula/chemformula_en.pdfbin950933 -> 950950 bytes
-rw-r--r--Master/texmf-dist/tex/latex/chemformula/chemformula.sty25
3 files changed, 19 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/chemformula/README b/Master/texmf-dist/doc/latex/chemformula/README
index 2af05040d98..6456a2fd9f8 100644
--- a/Master/texmf-dist/doc/latex/chemformula/README
+++ b/Master/texmf-dist/doc/latex/chemformula/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-the CHEMFORMULA package v4.12a 2015/08/29
+the CHEMFORMULA package v4.12b 2015/09/08
typeset chemical compounds and reactions
diff --git a/Master/texmf-dist/doc/latex/chemformula/chemformula_en.pdf b/Master/texmf-dist/doc/latex/chemformula/chemformula_en.pdf
index 8d14e16f914..958c40181fa 100644
--- a/Master/texmf-dist/doc/latex/chemformula/chemformula_en.pdf
+++ b/Master/texmf-dist/doc/latex/chemformula/chemformula_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/chemformula/chemformula.sty b/Master/texmf-dist/tex/latex/chemformula/chemformula.sty
index fcd07845edb..c5e7a7a88be 100644
--- a/Master/texmf-dist/tex/latex/chemformula/chemformula.sty
+++ b/Master/texmf-dist/tex/latex/chemformula/chemformula.sty
@@ -26,16 +26,23 @@
%
% The Current Maintainer of this work is Clemens Niederberger.
% --------------------------------------------------------------------------
-\RequirePackage{ expl3 , xparse , l3keys2e , tikz , amstext , xfrac , nicefrac, scrlfile }
+\RequirePackage{expl3,xparse,l3keys2e,tikz,amstext,xfrac,nicefrac,scrlfile}
\usetikzlibrary{arrows.meta}
-\def\chemformula@version{4.12a}
-\def\chemformula@date{2015/08/19}
+
+\ExplSyntaxOn
+\tl_const:Nn \c_chemformula_date_tl {2015/09/08}
+\tl_const:Nn \c_chemformula_version_number_tl {4.12}
+\tl_const:Nn \c_chemformula_version_suffix_tl {b}
+\tl_const:Nx \c_chemformula_version_tl
+ { \c_chemformula_version_number_tl \c_chemformula_version_suffix_tl }
+\tl_const:Nn \c_chemformula_info_tl
+ {typeset chemical compounds and reactions}
\ProvidesExplPackage
{chemformula}
- {\chemformula@date}
- {\chemformula@version}
- {typeset chemical compounds and reactions}
+ {\c_chemformula_date_tl}
+ {\c_chemformula_version_tl}
+ {\c_chemformula_info_tl \c_space_tl (CN)}
% --------------------------------------------------------------------------
% warning and error messages:
@@ -1046,7 +1053,9 @@
\cs_new_protected:Npn \__chemformula_ch_main:n #1
{
\group_begin:
- \seq_set_split:Nnn \l__chemformula_input_seq { ~ } {#1}
+ \tl_set:Nn \l__chemmacros_tmpa_tl {#1}
+ \tl_trim_spaces:N \l__chemmacros_tmpa_tl
+ \seq_set_split:NnV \l__chemformula_input_seq { ~ } \l__chemmacros_tmpa_tl
\cs_set_eq:NN \xspace \scan_stop:
% the next two aren't necessary any more but shouldn't do harm, too:
\cs_set_nopar:Npn \[ { [ }
@@ -3274,6 +3283,8 @@ VERSION HISTORY
\chemformula_formal_minus:
\ProvideChem... equivalents to all \NewChem...
macros
+2015/09/08 - version 4.12b - trim spaces of \ch input -- due to a change in
+ l3kernel
% --------------------------------------------------------------------------
% TODO