summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/breqn.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-25 21:04:28 +0000
committerKarl Berry <karl@freefriends.org>2022-04-25 21:04:28 +0000
commitfcc8719f694a93c7e3780e46108aad8b84913575 (patch)
tree1a31ac06609ee68a45fe8105a7324e4a9bae21ee /Master/texmf-dist/tex/generic/tex4ht/breqn.4ht
parentd42a17ef166f6fb56569aa1522f50a6f646a019f (diff)
breqn support, tex4ht r1116; external docs in subdirs, tex4ht r1117
git-svn-id: svn://tug.org/texlive/trunk@63141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/breqn.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/breqn.4ht77
1 files changed, 77 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/breqn.4ht b/Master/texmf-dist/tex/generic/tex4ht/breqn.4ht
new file mode 100644
index 00000000000..6bb34515fd4
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/breqn.4ht
@@ -0,0 +1,77 @@
+% breqn.4ht (2022-04-25-13:36), generated from tex4ht-4ht.tex
+% Copyright 2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2022-04-25-13:36}
+
+\renewenvironment{dmath*}[1][]{\[}{\]}
+\renewenvironment{dmath}[1][]{\begin{equation}}{\end{equation}}
+\renewenvironment{dsuspend}{}{\par}
+
+% enumerate equation for \begin{dseries}
+\def\@dseries[#1]{%
+ \if\eq@hasNumber%
+ \refstepcounter{equation}%
+ \fi
+ \begingroup%
+ \a:equation%
+ \ignorespaces%
+}
+
+
+% mimic the equatio environment
+\def\end@dseries{%
+ \b:equation
+ \if\eq@hasNumber%
+ (\arabic{equation})%
+ \fi%
+\c:equation%
+}
+
+% this macro prints spurious equation number to the document, so we just reset it
+\def\grp@finish{%
+ \setbox\GRP@wholebox\vbox{%
+ \let\breqn@elt\eqgrp@elt
+ \the\GRP@queue
+ }%
+ \unvbox\GRP@wholebox
+}
+
+% the \EQ@displayinfo is used by other commands, it isn't useful in the HTML conversion
+\def\eq@nulldisplay{%
+ \xdef\EQ@displayinfo{%
+ \relax}%
+}
+
+%% commands
+% fix wrong handling of fonts in \condition
+\newcommand\:condition@a[2][\conditionpunct]{%
+ \unpenalty\unskip\unpenalty\unskip % BRM Added
+ \mbox{#1}%
+ \hskip\conditionsep
+ \ \if@tempswa\mbox{#2}\else\mbox{$\textmath@setup #2$}\fi
+ \endgroup
+}
+
+\HLet\condition@a\:condition@a
+
+
+\Hinput{breqn}
+\endinput
+
+