summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemformula
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-01 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2019-10-01 03:01:24 +0000
commit31d84cec65917cfc6ef446f1bf6031cff7c6dc7b (patch)
tree5288bd8601943a9038885a87d93b71b8fbc0b0dc /macros/latex/contrib/chemformula
parentbbbe8128e7ae9d816a221377dbf5ff3969bb203b (diff)
CTAN sync 201910010301
Diffstat (limited to 'macros/latex/contrib/chemformula')
-rw-r--r--macros/latex/contrib/chemformula/README2
-rw-r--r--macros/latex/contrib/chemformula/chemformula.sty16
-rw-r--r--macros/latex/contrib/chemformula/chemformula_en.pdfbin950273 -> 950277 bytes
3 files changed, 10 insertions, 8 deletions
diff --git a/macros/latex/contrib/chemformula/README b/macros/latex/contrib/chemformula/README
index fda9482523..3323880942 100644
--- a/macros/latex/contrib/chemformula/README
+++ b/macros/latex/contrib/chemformula/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-the CHEMFORMULA package v4.15f 2019/09/23
+the CHEMFORMULA package v4.15g 2019/09/27
typeset chemical compounds and reactions
diff --git a/macros/latex/contrib/chemformula/chemformula.sty b/macros/latex/contrib/chemformula/chemformula.sty
index da9b6fe414..1b763583fd 100644
--- a/macros/latex/contrib/chemformula/chemformula.sty
+++ b/macros/latex/contrib/chemformula/chemformula.sty
@@ -30,9 +30,9 @@
\usetikzlibrary{arrows.meta}
\ExplSyntaxOn
-\tl_const:Nn \c_chemformula_date_tl {2019/09/23}
+\tl_const:Nn \c_chemformula_date_tl {2019/09/27}
\tl_const:Nn \c_chemformula_version_number_tl {4.15}
-\tl_const:Nn \c_chemformula_version_suffix_tl {f}
+\tl_const:Nn \c_chemformula_version_suffix_tl {g}
\tl_const:Nx \c_chemformula_version_tl
{ \c_chemformula_version_number_tl \c_chemformula_version_suffix_tl }
\tl_const:Nn \c_chemformula_info_tl
@@ -388,13 +388,13 @@
\cs_generate_variant:Nn \chemformula_node:nnn { nx }
\cs_new_protected:Npn \chemformula_allow_break:
- { \tex_penalty:D \c_zero }
+ { \tex_penalty:D \c_zero_int }
\cs_new_protected:Npn \chemformula_leave_vmode:
{ \hbox_unpack:N \c_empty_box }
\cs_new_protected:Npn \chemformula_nobreak:
- { \tex_penalty:D \c_ten_thousand }
+ { \tex_penalty:D 10000 \scan_stop: }
\cs_new_protected:Npn \chemformula_skip_nobreak:N #1
{
@@ -2378,14 +2378,14 @@
\selectfont
}
\bool_if:NT \l__chemformula_fontspec_bool
- { \chemformula_font: }
+ { \cs_if_exist_use:N \chemformula_font: }
\tl_use:N \l__chemformula_format_tl
\tl_if_eq:onTF { \f@series } {bx}
{ \cs_set_eq:NN \chemformula_bm:n \bm }
{ \cs_set:Nn \chemformula_bm:n {##1} }
}
-\cs_new_protected:Npn \chemformula_font: {}
+% \cs_new_protected:Npn \chemformula_font: {}
\cs_new_protected:Npn \__chemformula_fontspec:n #1
{
\tl_if_in:nnTF {#1} { [ }
@@ -3563,7 +3563,9 @@ VERSION HISTORY
takes an argument
2017/03/23 - version 4.15e - small bug fix (issue #5)
- implement \shortintertext bypass
-
+2019/09/23 - version 4.15f - add missing definition for temporary variable
+2019/09/27 - version 4.15g - bug fix in fontspec option
+
% --------------------------------------------------------------------------
% TODO
- Addukte: Zahlen nach * und . automatisch erkennen?
diff --git a/macros/latex/contrib/chemformula/chemformula_en.pdf b/macros/latex/contrib/chemformula/chemformula_en.pdf
index 499a93ad74..32caaea29a 100644
--- a/macros/latex/contrib/chemformula/chemformula_en.pdf
+++ b/macros/latex/contrib/chemformula/chemformula_en.pdf
Binary files differ