diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty index b8f8790c921..3e354e8df5f 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mhchem.sty @@ -6,7 +6,7 @@ %% %% lwarp.dtx (with options: `mhchem') %% This is a generated file. -%% Copyright 2016-2022 Brian Dunn +%% Copyright 2016-2025 Brian Dunn %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -15,25 +15,28 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. +%% -\LWR@ProvidesPackagePass{mhchem}[2018/06/22] +\LWR@ProvidesPackagePass{mhchem}[2024/01/29] \LetLtxMacro\LWR@mhchem@origce\ce \newcommand{\LWR@mhchem@HTML@ce}[1]{% \LWR@findcurrenttextcolor% sets \LWR@tempcolor + \edef\LWR@mhchemalt{\LWR@HTMLsanitizedetokenized{\detokenize{#1}}}% \ifbool{LWR@xfakebold}% {\def\LWR@tempone{Y}}% {\def\LWR@tempone{N}}% \begin{lateximage}% - *% - [% + *% hash + [% alt \textbackslash{}% ce% - \{\LWR@HTMLsanitizedetokenized{\detokenize{#1}}\}% + \{\LWR@mhchemalt\}% ]% - *% - [% + *% no open close tags in alt + ?% do not detokenize alt + [% add'l alt FM\LWR@f@family% SR\LWR@f@series% SH\LWR@f@shape% @@ -69,14 +72,15 @@ {\def\LWR@tempone{Y}}% {\def\LWR@tempone{N}}% \begin{lateximage}% - *% - [% + *% hash + [% alt \textbackslash{}% cesplit% \{\LWR@HTMLsanitizedetokenized{\detokenize{#2}}\}% ]% - *% - [% + *% no open/close tags in alt + ?% no detokenize alt + [% add'l alt FM\LWR@f@family% SR\LWR@f@series% SH\LWR@f@shape% |