summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-28 22:13:58 +0000
committerKarl Berry <karl@freefriends.org>2017-04-28 22:13:58 +0000
commit6730629a89b4e65fcef453bf2d8ef6e5eb2163f5 (patch)
tree9585f495aa03ae4b90053eb5b435c8ee47d2d150 /Master/texmf-dist/tex/generic/tex4ht
parent42372efe139e0f20f50a43d5bbb60c334d527259 (diff)
html4 without xcolor, tex4ht r297
git-svn-id: svn://tug.org/texlive/trunk@44105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht30
1 files changed, 28 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index 697f03968de..275d16d804c 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-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 @@ ltugproc,%
ltxguide,%
manju,%
manmac,%
+mdframed,%
mdwlist,%
mdwtab,%
memoir,%
@@ -39501,6 +39502,31 @@ y{\ht:special{t4ht@+\string&{35}x00FD{59}}y}%
\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@backgroundcolor}\mdf:bgcolor
+ \get:xcolorcss{\mdf@linecolor}\mdf:bordercolor
+ \get:xcolorcss{\mdf@fontcolor}\mdf:fontcolor
+ \def\mdf:border{\ifx\mdfl@linewidth\relax 1px\else\mdfl@linewidth\fi\space solid \mdf:bordercolor}
+ \Css{\#\mdf:id{border:\mdf:border; background-color: \mdf:bgcolor; color:\mdf:fontcolor;}}
+ \global\let\mdfl@linewidth\relax
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput