[tex4ht-commits] [SCM] tex4ht updated: r282 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Apr 18 17:37:08 CEST 2017


Author: michal_h21
Date: 2017-04-18 18:37:08 +0300 (Tue, 18 Apr 2017)
New Revision: 282

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Added basic support for framed package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2017-04-18 12:02:40 UTC (rev 281)
+++ trunk/lit/ChangeLog	2017-04-18 15:37:08 UTC (rev 282)
@@ -1,6 +1,10 @@
 2017-04-18  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* Makefile: added info4ht.4ht to the list of derived files.
+	* tex4ht-4ht.tex (framed.4ht),
+	* tex4ht-html4.tex (html4.4ht),
+	* mktex4ht-cnf.tex: added basic support for Framed package,
+	https://puszcza.gnu.org.ua/bugs/?217.
 
 2017-04-12  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2017-04-18 12:02:40 UTC (rev 281)
+++ trunk/lit/Makefile	2017-04-18 15:37:08 UTC (rev 282)
@@ -35,6 +35,7 @@
   color.4ht colortbl.4ht \
   frenchb.4ht \
   fontspec.4ht fontspec-4ht.lua fontspec-luatex.4ht fontspec-xetex.4ht \
+	framed.4ht \
   geometry.4ht graphics.4ht graphicx.4ht \
   hyperref.4ht \
   latex.4ht lettrine.4ht listings.4ht \

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2017-04-18 12:02:40 UTC (rev 281)
+++ trunk/lit/mktex4ht-cnf.tex	2017-04-18 15:37:08 UTC (rev 282)
@@ -325,4 +325,5 @@
 \AddFile{9}{fontspec-luatex}
 \AddFile{9}{tuenc-xetex}
 \AddFile{9}{tuenc-luatex}
+\AddFile{9}{framed}
 %\AddFile{9}{mktex4ht}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2017-04-18 12:02:40 UTC (rev 281)
+++ trunk/lit/tex4ht-4ht.tex	2017-04-18 15:37:08 UTC (rev 282)
@@ -24979,6 +24979,22 @@
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%
+\Section{framed}
+%%%%%%%%%%%%%%%%%%%%%%%
+
+\<framed.4ht\><<<
+% framed.4ht (|version), generated from |jobname.tex
+% Copyright 2016-2017 TeX Users Group
+|<TeX4ht license text|>
+\NewConfigure{makeframed}{2}
+\def\MakeFramed#1{\a:makeframed}
+\def\endMakeFramed{\b:makeframed}
+\Hinput{framed}
+
+>>> \AddFile{9}{framed}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%
 \Section{dvipsnam}
 %%%%%%%%%%%%%%%%%%%%%%%
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2017-04-18 12:02:40 UTC (rev 281)
+++ trunk/lit/tex4ht-html4.tex	2017-04-18 15:37:08 UTC (rev 282)
@@ -15835,7 +15835,17 @@
    {\HCode{</span>}}%
 >>>
 
+%%%%%%%%%%%%%%%%
+\section{framed}
 
+\<configure html4 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;}}
+
+>>>
+
 %%%%%%%%%%%%%%%%
 \section{verse}
 %%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list