texlive[44094] Master/texmf-dist/tex/generic/tex4ht: tex4ht support

commits+karl at tug.org commits+karl at tug.org
Fri Apr 28 17:49:40 CEST 2017


Revision: 44094
          http://tug.org/svn/texlive?view=revision&revision=44094
Author:   karl
Date:     2017-04-28 17:49:40 +0200 (Fri, 28 Apr 2017)
Log Message:
-----------
tex4ht support for mdframed, tex4ht r294, r295, r296

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

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2017-04-28 10:32:23 UTC (rev 44093)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2017-04-28 15:49:40 UTC (rev 44094)
@@ -1,4 +1,4 @@
-% html4.4ht (2017-04-11-16:02), generated from tex4ht-html4.tex
+% html4.4ht (2017-04-28-08:47), generated from tex4ht-html4.tex
 % Copyright 2009-2017 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 2017-04-11-16:02}
+\immediate\write-1{version 2017-04-28-08:47}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -103,6 +103,7 @@
 floatflt,% 
 foils,% 
 fontspec,% 
+framed,% 
 francais,% 
 frenchb,% 
 g-brief,% 
@@ -2943,7 +2944,9 @@
     \global\let\GROUPS\empty \HAssign\NewGroup = 0
     \gHAdvance\Next:TableNo by 1 \global\let\TableNo=\Next:TableNo }
    {\xdef\VBorder{\VBorder\ifnum \NewGroup> 0 </colgroup>\fi}
-    \HAssign\NewGroup = 0  \gdef\GROUPS{rules="groups"}}
+    \HAssign\NewGroup = 0 % \gdef\GROUPS{rules="groups"}}
+    \Css{\#TBL-\TableNo\space colgroup{border-left: 1px solid black;border-right:1px solid black;}}
+  \Css{\#TBL-\TableNo{border-collapse:collapse;}}}
    {\Advance:\NewGroup by 1
     \ifnum \NewGroup=1 \xdef\VBorder{\VBorder<colgroup
         id="TBL-\TableNo-\ar:cnt g">}\fi
@@ -20771,7 +20774,9 @@
     \global\let\GROUPS\empty \HAssign\NewGroup = 0
     \gHAdvance\Next:TableNo by 1 \global\let\TableNo=\Next:TableNo }
    {\xdef\VBorder{\VBorder\ifnum \NewGroup> 0 </colgroup>\fi}
-    \HAssign\NewGroup = 0  \gdef\GROUPS{rules="groups"}}
+    \HAssign\NewGroup = 0 % \gdef\GROUPS{rules="groups"}}
+    \Css{\#TBL-\TableNo\space colgroup{border-left: 1px solid black;border-right:1px solid black;}}
+  \Css{\#TBL-\TableNo{border-collapse:collapse;}}}
    {\Advance:\NewGroup by 1
     \ifnum \NewGroup=1 \xdef\VBorder{\VBorder<colgroup
         id="TBL-\TableNo-\ar:cnt g">}\fi
@@ -39482,6 +39487,21 @@
 
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{framed}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \newcount\framed:cnt
+\Configure{makeframed}{\advance\framed:cnt by 1\relax\def\framed at id{\@currenvir-\the\framed:cnt}\ifvmode\IgnorePar\fi\EndP\HCode{<div class="framedenv" id="\framed at id">}\par}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}
+\Css{.framedenv{border: 1px solid black;}}
 
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
 \endinput
 

Added: trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht	2017-04-28 15:49:40 UTC (rev 44094)
@@ -0,0 +1,31 @@
+% mdframed.4ht (2017-04-28-08:47), generated from tex4ht-4ht.tex
+% Copyright 2017 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 2017-04-28-08:47}
+
+\NewConfigure{mdframed}{2}
+\NewConfigure{mdframedstyle}{1}
+\newcount\mdf:env:cnt
+\def\mdf:id{mdframed-\the\mdf:env:cnt}
+\def\mdf at trivlist#1{\global\advance\mdf:env:cnt by1\relax\a:mdframed\a:mdframedstyle}
+\def\endmdf at trivlist{\b:mdframed}
+ \def\mdf at lrbox#1{}
+ \def\endmdf at lrbox{}
+
+\Hinput{mdframed}
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht	2017-04-28 10:32:23 UTC (rev 44093)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht	2017-04-28 15:49:40 UTC (rev 44094)
@@ -1,6 +1,6 @@
-% colortbl.4ht (2016-12-14-16:54), generated from tex4ht-4ht.tex
+% colortbl.4ht (2017-04-28-08:47), generated from tex4ht-4ht.tex
 % Copyright 2007-2009 Eitan M. Gurari
-% Copyright 2009-2016 TeX Users Group
+% Copyright 2009-2017 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 2017-04-28-08:47}
 
 \input color.4ht
 \def\rowc at l@rs[#1]#2#3#4%
@@ -92,7 +92,13 @@
 \expandafter\def\csname c:HColor!cmyk:\endcsname{%
      \expandafter\def\csname HColor!cmyk\endcsname##1,##2,##3,##4!##5//}
 \Configure{HColor!cmyk}{\Configure{HColor}{}{}}
+\def\get:xcolorcss#1#2{%
+   \expandafter\extractcolorspec\expandafter{#1}{\tsf:color}%
+   \expandafter\convertcolorspec\tsf:color{HTML}\tsf:color%
+   \edef#2{\#\tsf:color}%
+}
 
+
 \Hinput{xcolor}
 \endinput
 



More information about the tex-live-commits mailing list