From 24da5eabf5b35c57b25e33eb513facf02e18a4a7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 1 May 2021 00:58:51 +0000 Subject: upright greek subscripts, math text group, beamer update, tex4ht r918-920 git-svn-id: svn://tug.org/texlive/trunk@59036 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/beamer.4ht | 76 ++++++++++++++++--------- Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 23 +++++--- Master/texmf-dist/tex/generic/tex4ht/mathml.4ht | 28 ++++----- 3 files changed, 78 insertions(+), 49 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht') 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 . +% +% 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{}} \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{
} +}{\ifvmode\IgnorePar\fi\EndP\HCode{
}} +\Configure{frametitle}{\ifvmode\IgnorePar\fi\EndP\HCode{

}\NoFonts}{\EndNoFonts\ifvmode\IgnorePar\fi\EndP\HCode{

}\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{}\else \HCode{}\fi } - {\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% + {\:nbsp% \HCode{
}} {\HCode{}}% \Configure{listings-init}{\ttfamily\special{t4ht@(}}{\special{t4ht@)}} @@ -37228,7 +37236,7 @@ description">}% \HCode{}% \gdef\start:LstLn{% \HCode{
}% - \gdef\start:LstLn{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% + \gdef\start:LstLn{\:nbsp% \HCode{
\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{
}} {\HCode{}}% } @@ -37941,7 +37950,7 @@ emailing the fix to gurari@cse.ohio-state.edu. Thanks\Hnewline {\HCode{
\html:invisible}} {\HCode{}} {\HCode{}} - {\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;}% \:tempb{det} \:tempb{Pr} \:tempb{gcd} -\def\:temp#1#2{\def#1{\PauseMathClass\HCode{}\ht:special{t4ht@+\string&{35}x#2{59}}\a:HChar\HCode{}\EndPauseMathClass}} +\def\:temp#1#2{\def#1{\PauseMathClass{\HCode{}\ht:special{t4ht@+\string&{35}x#2{59}}\a:HChar\HCode{}}\EndPauseMathClass}} \:temp\Psi{03A8} \:temp\Delta{0394} \:temp\Xi{039E} @@ -1642,25 +1642,25 @@ accent="true">&\#x0332;}% \def\bold:version{bold} \Configure{mathbf}% - {\Tg<\a:mathml mstyle + {\bgroup\Tg<\a:mathml mstyle mathvariant="bold">}% - {\Tg}% + {\Tg\egroup}% \Configure{mathit}% - {\Tg<\a:mathml mstyle mathvariant="\ifx + {\bgroup\Tg<\a:mathml mstyle mathvariant="\ifx \bold:version\math@version bold-\fi italic">}% - {\Tg}% + {\Tg\egroup}% \Configure{mathrm}% - {\Tg<\a:mathml mstyle + {\bgroup\Tg<\a:mathml mstyle mathvariant="\ifx \bold:version\math@version bold\else normal\fi">}% - {\Tg}% + {\Tg\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}% + {\Tg\egroup}% \Configure{mathtt}% - {\Tg<\a:mathml mstyle mathvariant="monospace">}% - {\Tg}% + {\bgroup\Tg<\a:mathml mstyle mathvariant="monospace">}% + {\Tg\egroup}% \Css{ math mstyle[mathvariant="bold"] { font-weight: bold; @@ -1986,7 +1986,7 @@ accent="true">&\#x0332;}% \HCode{}% \fi\fi } -\Configure{boldsymbol}{\HCode{}}{\HCode{}} +\Configure{boldsymbol}{\bgroup\HCode{}}{\HCode{}\egroup} \Configure{maketag} {\ifmathml \ifmtext \expandafter\expandafter\expandafter\no:maketag\fi -- cgit v1.2.3