summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemformula
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-30 21:49:15 +0000
committerKarl Berry <karl@freefriends.org>2019-09-30 21:49:15 +0000
commit4fd61ca0885dde3a2f98ab196f5132b622461ed0 (patch)
treee295411a19a6069cfadcddadd85beb239d790dfe /Master/texmf-dist/tex/latex/chemformula
parentc41e74eb5330ba759ef001e32e6652e630ac5a92 (diff)
chemformula (30sep19)
git-svn-id: svn://tug.org/texlive/trunk@52223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemformula')
-rw-r--r--Master/texmf-dist/tex/latex/chemformula/chemformula.sty16
1 files changed, 9 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/chemformula/chemformula.sty b/Master/texmf-dist/tex/latex/chemformula/chemformula.sty
index da9b6fe414d..1b763583fd3 100644
--- a/Master/texmf-dist/tex/latex/chemformula/chemformula.sty
+++ b/Master/texmf-dist/tex/latex/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?