texlive[52880] Master/texmf-dist/tex/generic/tex4ht: language

commits+karl at tug.org commits+karl at tug.org
Thu Nov 21 22:56:12 CET 2019


Revision: 52880
          http://tug.org/svn/texlive?view=revision&revision=52880
Author:   karl
Date:     2019-11-21 22:56:12 +0100 (Thu, 21 Nov 2019)
Log Message:
-----------
language detection, \cellcolor support, tex4ht r624-625

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=624

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht	2019-11-21 21:48:59 UTC (rev 52879)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht	2019-11-21 21:56:12 UTC (rev 52880)
@@ -1,6 +1,6 @@
-% colortbl.4ht (2016-12-14-16:54), generated from tex4ht-4ht.tex
+% colortbl.4ht (2019-11-21-13:35), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2016 TeX Users Group
+% Copyright 2009-2019 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2016-12-14-16:54}
+\immediate\write-1{version 2019-11-21-13:35}
 
 
    \RequirePackage{xcolor}
@@ -44,6 +44,15 @@
 }
 \def\right::colcol[#1]{}
 \HAssign\tblcol:N = 0
+\def\CT at cellc#1[#2]#3{{\if :#2:\def\current at color{#3}%
+                         \else
+                           \gHAdvance\tblcol:N by 1
+                           \convertcolorspec{#2}{#3}{HTML}\tmp:tblcolor
+                           \Configure{HColor}{tblcol-\tblcol:N}{\#\tmp:tblcolor}%
+                           \def\current at color{tblcol-\tblcol:N}%
+                         \fi
+                    \csname a:cell-colortbl\endcsname}%
+   \futurelet\:temp\left:colcol}
 \NewConfigure{@classz}{4}
 \pend:def\@classz{\pic:gobble\a:@classz}
 \append:def\@classz{\pic:gobble\b:@classz}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht	2019-11-21 21:48:59 UTC (rev 52879)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht	2019-11-21 21:56:12 UTC (rev 52880)
@@ -1,4 +1,4 @@
-% html5.4ht (2019-03-15-15:44), generated from tex4ht-html5.tex
+% html5.4ht (2019-11-21-13:36), generated from tex4ht-html5.tex
 % Copyright 2016-2019 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,9 +16,12 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-03-15-15:44}
+\immediate\write-1{version 2019-11-21-13:36}
 
-\exit:ifnot{article,% 
+\exit:ifnot{amsart,% 
+amsbook,% 
+amsproc,% 
+article,% 
 book,% 
 latex,% 
 report,% 
@@ -76,6 +79,7 @@
 
 \Declare:Language{UKenglish}{en}
 \Declare:Language{USenglish}{en}
+\Declare:Language{latex}{en}
 \Declare:Language{acadian}{fr}
 \Declare:Language{albanian}{sq}
 \Declare:Language{american}{en}
@@ -329,27 +333,123 @@
 
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsart}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{float}
+   {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+     {\:xhtml{\IgnorePar\EndP}\HCode{<figure class="float"\Hnewline>}}
+   {\ifvmode \IgnorePar \fi\EndP
+     \HCode{</figure>}\csname par\endcsname\ShowPar}
 
+\ConfigureEnv{figure}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
 
+\Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
+\Css{figure.float img {text-align:center;}}
+\Css{figure.figure img {text-align:center;}}
+\Css{figure.figure > p {text-align:center;}}
 
+\Configure{caption}{\:xhtml{\IgnorePar\EndP}\HCode{<figcaption class="caption" ><span class="id">}}
+   {:} {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></figcaption>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{figcaption.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:center;}}
+\Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }}
 
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsbook}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{float}
+   {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+     {\:xhtml{\IgnorePar\EndP}\HCode{<figure class="float"\Hnewline>}}
+   {\ifvmode \IgnorePar \fi\EndP
+     \HCode{</figure>}\csname par\endcsname\ShowPar}
 
+\ConfigureEnv{figure}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
 
+\Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
+\Css{figure.float img {text-align:center;}}
+\Css{figure.figure img {text-align:center;}}
+\Css{figure.figure > p {text-align:center;}}
 
+\Configure{caption}{\:xhtml{\IgnorePar\EndP}\HCode{<figcaption class="caption" ><span class="id">}}
+   {:} {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></figcaption>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{figcaption.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:center;}}
+\Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }}
 
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsproc}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{float}
+   {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+     {\:xhtml{\IgnorePar\EndP}\HCode{<figure class="float"\Hnewline>}}
+   {\ifvmode \IgnorePar \fi\EndP
+     \HCode{</figure>}\csname par\endcsname\ShowPar}
 
+\ConfigureEnv{figure}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
 
+\Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
+\Css{figure.float img {text-align:center;}}
+\Css{figure.figure img {text-align:center;}}
+\Css{figure.figure > p {text-align:center;}}
 
+\Configure{caption}{\:xhtml{\IgnorePar\EndP}\HCode{<figcaption class="caption" ><span class="id">}}
+   {:} {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></figcaption>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{figcaption.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:center;}}
+\Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }}
 
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
 
@@ -492,6 +592,33 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrbook}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -570,6 +697,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrreprt}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -658,6 +786,9 @@
 
 
 
+
+
+
 
 
 



More information about the tex-live-commits mailing list