summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-19 22:12:54 +0000
committerKarl Berry <karl@freefriends.org>2020-02-19 22:12:54 +0000
commita9e8ab5ea667e1e188595e49a7cc6fcc4e5ae18e (patch)
treec4b3736cc1ba6481af15c82b988ace32ad9436e7 /Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
parent4701e1a772599af5699534ae4090999a79e04ecf (diff)
lwarp (19feb20)
git-svn-id: svn://tug.org/texlive/trunk@53847 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty5
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
index 3cfc049af19..964176492db 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
@@ -300,7 +300,7 @@
\cs_undefine:N \chemmacros_phase:n
\cs_new_protected:Npn \chemmacros_phase:n #1
{
- \chemmacros_leave_vmode:
+ \mode_leave_vertical:
\bool_if:NTF \l__chemmacros_phases_sub_bool
{
\ifnumequal{\value{LWR@lateximagedepth}}{0}
@@ -657,13 +657,12 @@ name = \chemmacros_translate:n {scheme-name}
}
\__chemmacros_nmr_coupling_aux_i:w
}
-
\AfterEndPreamble{% After \AtBeginDocument
\cs_gset_protected:Npn \chemmacros_nmr:nnnn #1#2#3#4
{
\bool_if:NT \l__chemmacros_nmr_list_bool { \item \scan_stop: }
\group_begin:
- \chemmacros_leave_vmode:
+ \mode_leave_vertical:
\bool_set_false:N \l__chemmacros_nmr_frequency_bool
\bool_set_false:N \l__chemmacros_nmr_solvent_bool
\tl_if_empty:nF {#3}