summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-24 21:53:10 +0000
committerKarl Berry <karl@freefriends.org>2022-06-24 21:53:10 +0000
commite3b8af4eb8357fc49e9e0caef0a8c87da32e3cc1 (patch)
treeb8c62dd74ed6ccac6de446a07f2cbffe223bf237 /Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
parent0011b6b38cc71f0b81f926200aa8cabe84ae8371 (diff)
lwarp (24jun22)
git-svn-id: svn://tug.org/texlive/trunk@63712 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.sty9
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
index b1e5b2fc455..bf994973736 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
@@ -184,12 +184,11 @@
}
}
-\LetLtxMacro\LWR@chemmacros@origchemprime\chemprime
-\protected\def\chemprime { \HTMLunicode{2032} }
-
-\appto\LWR@restoreorigformatting{%
-\LetLtxMacro\chemprime\LWR@chemmacros@origchemprime%
+\hook_gput_code:nnn {begindocument/end} {chemmacros}
+{
+\protected\def\LWR@HTML@chemprime { \HTMLunicode{2032} }
+\LWR@formatted{chemprime}
}
\cs_gset_protected:Npn \__chemmacros_cip:n #1
{