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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sun Mar 12 11:32:56 CET 2017


Author: michal_h21
Date: 2017-03-12 12:32:56 +0200 (Sun, 12 Mar 2017)
New Revision: 247

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Added configuration for memoir's \legend command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2017-02-16 23:45:41 UTC (rev 246)
+++ trunk/lit/ChangeLog	2017-03-12 10:32:56 UTC (rev 247)
@@ -1,3 +1,8 @@
+2017-03-11  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (memoir.4ht): redefinition for \legend command
+	* tex4ht-html4.tex (html4.4ht): default configuration for \legend
+
 2017-02-09  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-env.tex (tex4ht.env-unix): use one version of htf paths for 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2017-02-16 23:45:41 UTC (rev 246)
+++ trunk/lit/tex4ht-4ht.tex	2017-03-12 10:32:56 UTC (rev 247)
@@ -13948,6 +13948,11 @@
 \NewConfigure{poemline}{2}
 >>>
 
+\<memoir cfg\><<<
+\NewConfigure{legend}{2}
+\renewcommand\legend[1]{\a:legend #1\b:legend}
+>>>
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \Section{mempatch}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2017-02-16 23:45:41 UTC (rev 246)
+++ trunk/lit/tex4ht-html4.tex	2017-03-12 10:32:56 UTC (rev 247)
@@ -9846,6 +9846,8 @@
 \Configure{poemline}
    {\HCode{<span class="poemline">}} {\HCode{</span>}}
 \Css{.poemline {text-align:right; width:6em;}}
+
+\Configure{legend}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="legend">}}{\HCode{</div>}}
 >>>
 
 



More information about the tex4ht-commits mailing list