diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/beamer.4ht | 76 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mathml.4ht | 28 |
3 files changed, 78 insertions, 49 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht b/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht index aa38b71106a..eef3208a31e 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/beamer.4ht @@ -1,31 +1,23 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% beamer.4ht 2009-05-21-09:32 % -% Copyright (C) 2003--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".% -% % -% This Current Maintainer of this work % -% is Eitan M. Gurari. % -% % -% If you modify this program your changing its signature % -% with a directive of the following form will be % -% appreciated. % -% \message{signature} % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2009-05-21-09:32} - +% beamer.4ht 2021-04-30-15:27 % +% Copyright (C) 2003-2009 Eitan M. Gurari % +% Copyright 2009-2021 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. \NewConfigure{titlepage}{2} \NewConfigure{title}{2} \NewConfigure{author}{2} @@ -47,7 +39,6 @@ % } - \let\o:untitledsubsection:\untitledsubsection \def\untitledsubsection#1{% \expandafter\global\expandafter\sl:toks\expandafter @@ -87,6 +78,10 @@ \pend:defI\structure{\a:structure} \append:defI\structure{\b:structure} \NewConfigure{structure}{2} +\NewConfigure{sectionshadedintoc}{2} +\NewConfigure{sectionintoc}{2} +\NewConfigure{subsectionshadedintoc}{2} +\NewConfigure{subsectionintoc}{2} \ifx \beamer@version\:UnDef @@ -160,6 +155,31 @@ \else \fi +\let\Hy@EveryPageAnchor\relax +\def\pgf@trimright@final{0pt} +\def\pgf@trimleft@final{0pt} +\let\origEndP\EndP +\AtBeginDocument{\def\EndP{\let\EndP\origEndP}\SaveEndP} + + +\NewConfigure{frame}{2} +\NewConfigure{frametitle}{2} +\AddToHook{env/beamer@frameslide/before}{\RecallEndP\a:frame} +\AddToHook{env/beamer@frameslide/after}{\b:frame} + +\long\def\:temp[#1]#2{% +\a:frametitle% +\o:beamer@@frametitle:[#1]{#2}% +\b:frametitle% +} + +\HLet\beamer@@frametitle\:temp +% Beamer redefines \emph, it is necessary to insert hooks again + +\pend:defI\emph{\a:emph}% +\append:defI\emph{\b:emph}% + + \Hinput{beamer} \endinput diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index b4c63a1a968..cb6f0efdcf1 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,4 +1,4 @@ -% html4.4ht (2021-04-22-13:52), generated from tex4ht-html4.tex +% html4.4ht (2021-04-30-15:27), generated from tex4ht-html4.tex % Copyright 2009-2021 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-04-22-13:52} +\immediate\write-1{version 2021-04-30-15:27} \exit:ifnot{8859-6,% CJK,% @@ -645,7 +645,8 @@ switches of tex4ht.c) \def\EndDIV:{\HCode{</div>}} \Configure{moveright}{\leavevmode\endgraf } -\Configure{HChar}{x} +% print x only outside \Picture+ +\Configure{HChar}{\ifx\EndPicture\:UnDef x\fi} \Configure{TITLE+}{\HCode{\jobname.\:html}} @@ -34939,6 +34940,13 @@ description">}% \Css{div.slide {border:solid black 0.4pt;}} \fi +\Configure{frame}{\ifvmode\IgnorePar\fi\EndP + \HCode{<div class="slide">} +}{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}} +\Configure{frametitle}{\ifvmode\IgnorePar\fi\EndP\HCode{<h2>}\NoFonts}{\EndNoFonts\ifvmode\IgnorePar\fi\EndP\HCode{</h2>}\par\ShowPar} +\Css{div.slide {border:solid black 0.4pt;margin-bottom:1em;}} + + \let\block:Name=\empty \ConfigureEnv{block} {\par\IgnorePar\EndP @@ -37217,7 +37225,7 @@ description">}% \ifnum \listings:Depth=0 \HCode{</pre>}\else \HCode{</span>}\fi } - {\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% + {\:nbsp% \HCode{<br /><span class="label">}} {\HCode{</span>}}% \Configure{listings-init}{\ttfamily\special{t4ht@(}}{\special{t4ht@)}} @@ -37228,7 +37236,7 @@ description">}% \HCode{<!--l. \the\inputlineno-->}% \gdef\start:LstLn{% \HCode{<div class="lstlisting" id="listing-\listingN">}% - \gdef\start:LstLn{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% + \gdef\start:LstLn{\:nbsp% \HCode{<br />\Hnewline}}} \bgroup \Configure{listings} @@ -37252,7 +37260,8 @@ description">}% \Configure{listings} {{\everypar{}\leavevmode}} {{\everypar{}\leavevmode}} - {\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% + {\:nbsp% +% \HCode{<br /><span class="label">}} {\HCode{</span>}}% } @@ -37941,7 +37950,7 @@ emailing the fix to gurari@cse.ohio-state.edu. Thanks\Hnewline {\HCode{<br />\html:invisible}} {\HCode{<i>}} {\HCode{</i>}} - {\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% + {\:nbsp% } \Css{div.ShowCode{background-color:\#EEEEEE; border: 1px white solid;}} \Css{div.ShowCode div.head{background-color:\#E0E0E0;}} diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht index 9e39daae4f6..fcee4833991 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht @@ -1,4 +1,4 @@ -% mathml.4ht (2021-04-29-14:18), generated from tex4ht-mathml.tex +% mathml.4ht (2021-04-30-15:27), generated from tex4ht-mathml.tex % Copyright 2009-2021 TeX Users Group % Copyright 1999-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-04-29-14:18} +\immediate\write-1{version 2021-04-30-15:27} \exit:ifnot{Preamble,% accents,% @@ -1358,7 +1358,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \:tempb{det} \:tempb{Pr} \:tempb{gcd} -\def\:temp#1#2{\def#1{\PauseMathClass\HCode{<mi mathvariant="normal">}\ht:special{t4ht@+\string&{35}x#2{59}}\a:HChar\HCode{</mi>}\EndPauseMathClass}} +\def\:temp#1#2{\def#1{\PauseMathClass{\HCode{<mi mathvariant="normal">}\ht:special{t4ht@+\string&{35}x#2{59}}\a:HChar\HCode{</mi>}}\EndPauseMathClass}} \:temp\Psi{03A8} \:temp\Delta{0394} \:temp\Xi{039E} @@ -1642,25 +1642,25 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \def\bold:version{bold} \Configure{mathbf}% - {\Tg<\a:mathml mstyle + {\bgroup\Tg<\a:mathml mstyle mathvariant="bold">}% - {\Tg</\a:mathml mstyle>}% + {\Tg</\a:mathml mstyle>\egroup}% \Configure{mathit}% - {\Tg<\a:mathml mstyle mathvariant="\ifx + {\bgroup\Tg<\a:mathml mstyle mathvariant="\ifx \bold:version\math@version bold-\fi italic">}% - {\Tg</\a:mathml mstyle>}% + {\Tg</\a:mathml mstyle>\egroup}% \Configure{mathrm}% - {\Tg<\a:mathml mstyle + {\bgroup\Tg<\a:mathml mstyle mathvariant="\ifx \bold:version\math@version bold\else normal\fi">}% - {\Tg</\a:mathml mstyle>}% + {\Tg</\a:mathml mstyle>\egroup}% \Configure{mathsf}% - {\Tg<\a:mathml mstyle mathvariant="\ifx + {\bgroup\Tg<\a:mathml mstyle mathvariant="\ifx \bold:version\math@version bold-\fi sans-serif">}% - {\Tg</\a:mathml mstyle>}% + {\Tg</\a:mathml mstyle>\egroup}% \Configure{mathtt}% - {\Tg<\a:mathml mstyle mathvariant="monospace">}% - {\Tg</\a:mathml mstyle>}% + {\bgroup\Tg<\a:mathml mstyle mathvariant="monospace">}% + {\Tg</\a:mathml mstyle>\egroup}% \Css{ math mstyle[mathvariant="bold"] { font-weight: bold; @@ -1986,7 +1986,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \HCode{</\a:mathml mtd></\a:mathml mtr>}% \fi\fi } -\Configure{boldsymbol}{\HCode{<mstyle mathvariant="bold-italic">}}{\HCode{</mstyle>}} +\Configure{boldsymbol}{\bgroup\HCode{<mstyle mathvariant="bold-italic">}}{\HCode{</mstyle>}\egroup} \Configure{maketag} {\ifmathml \ifmtext \expandafter\expandafter\expandafter\no:maketag\fi |