[tex4ht-commits] [SCM] tex4ht updated: r79 - trunk/texmf/tex/generic/tex4ht

cvr at gnu.org.ua cvr at gnu.org.ua
Fri Jan 28 12:49:00 CET 2011


Author: cvr
Date: 2011-01-28 13:49:00 +0200 (Fri, 28 Jan 2011)
New Revision: 79

Modified:
   trunk/texmf/tex/generic/tex4ht/jsmath.4ht
Log:
hanges made to solve bugs reported by Rob Beezer <beezer at ups.edu>.
Detailed notes have been provided in the literate sources.




Modified: trunk/texmf/tex/generic/tex4ht/jsmath.4ht
===================================================================
--- trunk/texmf/tex/generic/tex4ht/jsmath.4ht	2011-01-28 11:48:37 UTC (rev 78)
+++ trunk/texmf/tex/generic/tex4ht/jsmath.4ht	2011-01-28 11:49:00 UTC (rev 79)
@@ -1,30 +1,22 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% jsmath.4ht                            Version 1.1 %
-% Copyright (C) 2005--2009       Eitan M. Gurari         %
-% Copyright 2009 TeX Users Group
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3 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.3 or later is part of all distributions  %
-% of LaTeX version 2003/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% The Current Maintainer of this work                    %
-% is the TeX4ht Project <tex4ht at tug.org>.                %
-%                                                        %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be         %
-% appreciated.                                           %
-%            \message{signature}                         %
-%                                                        %
-%                                        tex4ht at tug.org  %
-%                             http://www.tug.org/tex4ht  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version Version 1.1}
+% jsmath.4ht (2011-01-28-17:12), generated from tex4ht-jsmath.tex
+% Copyright (C) 2009-2010 TeX Users Group
+% Copyright (C) 2005-2009 Eitan M. Gurari
+%
+% 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 2011-01-28-17:12}
 
 \exit:ifnot{amsmath,% 
 array,% 
@@ -46,11 +38,12 @@
      jsMath version 3.4 or above}%
    \Configure{jsmath}{jsMath/jsMath.js}%
 }
+\def\dlr{\expandafter\@gobble\string\$}
 \Configure{$}
-   {\Configure{@math}{span}\DviMath}
+   {\Configure{@math}{\dlr}\DviMath}
    {\EndDviMath}{}
 \Configure{$$}
-   {\Configure{@math}{div}\IgnorePar
+   {\Configure{@math}{\dlr\dlr}\IgnorePar
     \EndP\DviMath}
    {\EndDviMath
        \ShowPar\par{\csname HCondtrue\endcsname\noindent}}
@@ -213,6 +206,12 @@
 \def\rvert{\HCode{\string\vert\space}}
 \def\lVert{\HCode{\string\Vert\space}}
 \def\rVert{\HCode{\string\Vert\space}}
+\Configure{intertext}
+    {\IgnorePar %\ifinalign@
+      \HCode{\string\cr }%
+     \AA:text{intertext}}
+    {\BB:text \ifvmode \IgnorePar \fi %\EndP
+        \HCode{\string\cr }}
 \ConfigureEnv{multline}
    {\bgroup \Configure{$$}
                {\Configure{@math}{}\IgnorePar \EndP\DviMath }
@@ -348,12 +347,13 @@
 \def\:tempc#1#2{%
    \ConfigureEnv{#1}
      {\def\end:al:env{}\ifmmode\else
-       \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
+       \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}
+     \fi\fi}
      {\end:al:env }
      {}{}%
    \Configure{#1}
-   {\IgnorePar
-    \ifvmode \EndP  \else \EndP  \HCode{<!--tex4ht:inline-->}\fi
+   {\IgnorePar\HtmlParOff
+    \ifvmode \EndP  \else \EndP \fi
     \ifmathltx
        \Tg<mrow>\def\end:mathalign{\Tg</mrow>}%
     \else
@@ -361,62 +361,14 @@
        \def\end:mathalign{\EndDviMath \DisplayMathfalse}%
        \DisplayMathtrue
     \fi
-    \HCode{\string\matrix\l:brace}}
-   {\HCode{\r:brace}\end:mathalign }
-   {\ifnum \HRow> 1\HCode{\string\cr\Hnewline}\fi}  {}
-   {\HCode{\ifnum \HCol>1 \a:math:amp\fi
-  \ifnum 1<\HMultispan
-%     \string\multicolumn\l:brace\HMultispan\r:brace
-     %\string\multispan
-?span/multispan-in-jsmath?
- \space\HMultispan\space
-  \fi}%
-%
-    \ifnum \HCol>\maxfields@  \HCode{\ifodd\HCol\space\else
-   \string\kern \space 2em\space
-\fi
-}\fi}
-   {\HCode{\ifodd\HCol\space\else
-   \string\kern \space 2em\space
-\fi
-}}}
-\:tempc{align}{align}
-\:tempc{alignat}{alignat}
-\:tempc{xalignat}{xalignat}
-\:tempc{xxalignat}{xxalignat}
-\:tempc{flalign}{flalign}
-\:tempc{align*}{align*}
-\:tempc{alignat*}{alignat*}
-\:tempc{xalignat*}{xalignat*}
-\:tempc{flalign*}{flalign*}
-\def\:tempc#1#2{%
-   \ConfigureEnv{#1}
-     {\def\end:al:env{}\ifmmode\else
-       \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
-     {\end:al:env }
-     {}{}%
-   \Configure{#1}
-   {\IgnorePar
-    \ifvmode \EndP  \else \EndP  \HCode{<!--tex4ht:inline-->}\fi
-    \ifmathltx
-       \Tg<mrow>\def\end:mathalign{\Tg</mrow>}%
-    \else
-       \Configure{@math}{div}\DviMath
-       \def\end:mathalign{\EndDviMath \DisplayMathfalse}%
-       \DisplayMathtrue
-    \fi
     \HCode{\string\eqalignno\l:brace}}
-   {\HCode{\r:brace}\end:mathalign }
+   {\HCode{\r:brace}\end:mathalign\HtmlParOn}
    {\ifnum \HRow> 1\HCode{\string\cr\Hnewline}\fi}
    {}
    {\HCode{\ifnum \HCol>1 \a:math:amp\fi
-  \ifnum 1<\HMultispan
-%     \string\multicolumn\l:brace\HMultispan\r:brace
-     %\string\multispan
-?span/multispan-in-jsmath?
- \space\HMultispan\space
-  \fi}%
-}
+       \ifnum 1<\HMultispan
+      ?span/multispan-in-jsmath?
+      \space\HMultispan\space\fi}}%
    {} %
 }
 \:tempc{align}{align}



More information about the tex4ht-commits mailing list