texlive[44105] Master/texmf-dist/tex/generic/tex4ht/html4.4ht: html4

commits+karl at tug.org commits+karl at tug.org
Sat Apr 29 00:13:58 CEST 2017


Revision: 44105
          http://tug.org/svn/texlive?view=revision&revision=44105
Author:   karl
Date:     2017-04-29 00:13:58 +0200 (Sat, 29 Apr 2017)
Log Message:
-----------
html4 without xcolor, tex4ht r297

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

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

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2017-04-28 21:22:48 UTC (rev 44104)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2017-04-28 22:13:58 UTC (rev 44105)
@@ -1,4 +1,4 @@
-% html4.4ht (2017-04-28-08:47), generated from tex4ht-html4.tex
+% html4.4ht (2017-04-28-15:02), 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-28-08:47}
+\immediate\write-1{version 2017-04-28-15:02}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -139,6 +139,7 @@
 ltxguide,% 
 manju,% 
 manmac,% 
+mdframed,% 
 mdwlist,% 
 mdwtab,% 
 memoir,% 
@@ -39501,7 +39502,32 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{mdframed}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{mdframed}{%
+  \ifvmode\IgnorePar\fi\EndP\HCode{<div class="mdframed" id="\mdf:id">}\par
+}{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par}
 
+\Css{.mdframed{margin-top:1em;margin-bottom:1em;}}
 
+% use fallback macro when xcolor package haven't been loaded
+\ifdefined\get:xcolorcss\else\def\get:xcolorcss#1#2{\def#2{#1}}\fi
+
+\Configure{mdframedstyle}{%
+  \get:xcolorcss{\mdf at backgroundcolor}\mdf:bgcolor
+  \get:xcolorcss{\mdf at linecolor}\mdf:bordercolor
+  \get:xcolorcss{\mdf at fontcolor}\mdf:fontcolor
+  \def\mdf:border{\ifx\mdfl at linewidth\relax 1px\else\mdfl at linewidth\fi\space solid \mdf:bordercolor}
+  \Css{\#\mdf:id{border:\mdf:border; background-color: \mdf:bgcolor; color:\mdf:fontcolor;}}
+  \global\let\mdfl at linewidth\relax
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
 \endinput
 



More information about the tex-live-commits mailing list