diff options
author | Karl Berry <karl@freefriends.org> | 2019-09-30 21:49:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-09-30 21:49:40 +0000 |
commit | 745a8740b6e66be4383f1bc6a0326110abdf6a3b (patch) | |
tree | fdb3c082269725b16f86bc00a36979776927dd61 /Master/texmf-dist/tex/latex | |
parent | 4fd61ca0885dde3a2f98ab196f5132b622461ed0 (diff) |
chemmacros (30sep19)
git-svn-id: svn://tug.org/texlive/trunk@52224 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
4 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex index 5d2e66611d3..1ea731b25c2 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.base.code.tex @@ -179,8 +179,8 @@ \cs_new_eq:NN \chemmacros_ignore_spaces: \tex_ignorespaces:D \cs_new_protected:Npn \chemmacros_leave_vmode: { \hbox_unpack:N \c_empty_box } -\cs_new_protected:Npn \chemmacros_nobreak: { \tex_penalty:D \c_ten_thousand } -\cs_new_protected:Npn \chemmacros_allow_break: { \tex_penalty:D \c_zero } +\cs_new_protected:Npn \chemmacros_nobreak: { \tex_penalty:D 10000 \scan_stop: } +\cs_new_protected:Npn \chemmacros_allow_break: { \tex_penalty:D \c_zero_int } \cs_new_protected:Npn \chemmacros_skip_nobreak:N #1 { \chemmacros_nobreak: diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex index 629d3f89ca2..f261611bfb0 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.reactions.code.tex @@ -278,7 +278,8 @@ % #4: argument list ({#2}{#3}...) \cs_new_protected:Npn \chemmacros_declare_reaction_env:nnnn #1#2#3#4 { - \exp_args:Nnx \DeclareDocumentEnvironment {#1} { !O{} \prg_replicate:nn {#3+0} {m} } + \exp_args:Nnx \DeclareDocumentEnvironment {#1} + { \int_compare:nT { #3+0 = 0 } {!} O{} \prg_replicate:nn {#3+0} {m} } { \chemmacros_add_reaction_description:n {##1} \__chemmacros_begin_reaction: diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.spectroscopy.code.tex b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.spectroscopy.code.tex index 87d53dd3ce7..748a4cb19e3 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.spectroscopy.code.tex +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.module.spectroscopy.code.tex @@ -41,6 +41,7 @@ \tl_set:Nn \l__chemmacros_nmr_coupling_nuclei_post_tl { ) } \tl_new:N \l__chemmacros_nmr_coupling_bonds_tl \tl_new:N \l__chemmacros_nmr_coupling_bonds_pre_tl +\tl_new:N \l__chemmacros_nmr_coupling_bonds_post_tl \tl_set:Nn \l__chemmacros_nmr_coupling_bonds_pre_tl { } \tl_set:Nn \l__chemmacros_nmr_coupling_bonds_post_tl { \! } \tl_new:N \l__chemmacros_nmr_coupling_symbol_tl diff --git a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty index 84915c9f558..bb1e94bd3f9 100644 --- a/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty +++ b/Master/texmf-dist/tex/latex/chemmacros/chemmacros.sty @@ -31,10 +31,10 @@ % -------------------------------------------------------------------------- % package information: -\tl_const:Nn \c_chemmacros_date_tl {2019/09/27} +\tl_const:Nn \c_chemmacros_date_tl {2019/09/30} \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 {e} +\tl_const:Nn \c_chemmacros_version_subrelease_tl {f} \tl_const:Nx \c_chemmacros_version_number_tl { \c_chemmacros_version_major_number_tl . |