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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Mon Oct 1 22:06:20 CEST 2018


Author: michal_h21
Date: 2018-10-01 23:06:20 +0300 (Mon, 01 Oct 2018)
New Revision: 432

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
Added support for \rotatebox

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2018-09-16 11:00:35 UTC (rev 431)
+++ trunk/lit/ChangeLog	2018-10-01 20:06:20 UTC (rev 432)
@@ -1,3 +1,9 @@
+2018-10-01  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (graphicx.4ht): defined configurations for \rotatebox
+	* tex4ht-html4.tex (html4.4ht): configured \rotatebox
+	https://tex.stackexchange.com/a/453376/2891
+
 2018-09-16  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (titlesec.4ht): fix for the runin and display formats.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2018-09-16 11:00:35 UTC (rev 431)
+++ trunk/lit/tex4ht-4ht.tex	2018-10-01 20:06:20 UTC (rev 432)
@@ -24832,6 +24832,11 @@
 \DeclareGraphicsRule{.gif}{bmp}{.xbb}{}
 \DeclareGraphicsRule{.pdf}{bmp}{.xbb}{}
 \DeclareGraphicsRule{.svg}{bmp}{.xbb}{}
+
+\NewConfigure{rotatebox}{2}
+\pend:def\Grot at box{\a:rotatebox}
+\append:def\Grot at box{\b:rotatebox}
+
 >>>
 
 The calc package redefined \`'\setlength' to allow expressions of the

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2018-09-16 11:00:35 UTC (rev 431)
+++ trunk/lit/tex4ht-html4.tex	2018-10-01 20:06:20 UTC (rev 432)
@@ -13740,7 +13740,14 @@
 \fi
 >>>
 
+%%%%%%%%%%%%%%%%%%
+\subsection{graphicx}
 
+\<configure html4 graphicx\><<<
+\Configure{rotatebox}{\HCode{<span class="rotatebox" style="transform: rotate(-\Grot at angle deg);">}}{\HCode{</span>}}
+\Css{.rotatebox{display: inline-block;}}
+>>>
+
 %%%%%%%%%%%%%%%%%%
 \subsection{xy}
 %%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list