summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-28 15:49:40 +0000
committerKarl Berry <karl@freefriends.org>2017-04-28 15:49:40 +0000
commit012925e49ffd5b80a7a4c131656d6b045f05cc5b (patch)
tree03a3fac8cf2398dc5f9f225cc500a218ee761b42 /Master
parente02e559b1a4fd955d470ae082638023a28154661 (diff)
tex4ht support for mdframed, tex4ht r294, r295, r296
git-svn-id: svn://tug.org/texlive/trunk@44094 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht28
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht31
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht12
3 files changed, 64 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index 3a0e0f56bef..697f03968de 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 (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 @@ finnish,%
floatflt,%
foils,%
fontspec,%
+framed,%
francais,%
frenchb,%
g-brief,%
@@ -2943,7 +2944,9 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
\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 @@ Y{0178}\i{00EF}%
\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 @@ y{\ht:special{t4ht@+\string&{35}x00FD{59}}y}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{framed}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \newcount\framed:cnt
+\Configure{makeframed}{\advance\framed:cnt by 1\relax\def\framed@id{\@currenvir-\the\framed:cnt}\ifvmode\IgnorePar\fi\EndP\HCode{<div class="framedenv" id="\framed@id">}\par}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}
+\Css{.framedenv{border: 1px solid black;}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
\endinput
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht b/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht
new file mode 100644
index 00000000000..2bf6956e889
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht
@@ -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@trivlist#1{\global\advance\mdf:env:cnt by1\relax\a:mdframed\a:mdframedstyle}
+\def\endmdf@trivlist{\b:mdframed}
+ \def\mdf@lrbox#1{}
+ \def\endmdf@lrbox{}
+
+\Hinput{mdframed}
+
diff --git a/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht b/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
index 029ea91fd4e..dfa0b877ad3 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/xcolor.4ht
@@ -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@l@rs[#1]#2#3#4%
@@ -92,6 +92,12 @@
\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