[tex4ht-commits] [SCM] tex4ht updated: r927 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Tue May 4 16:34:39 CEST 2021
Author: michal_h21
Date: 2021-05-04 14:34:39 +0000 (Tue, 04 May 2021)
New Revision: 927
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
Added menukeys support
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-05-04 07:36:13 UTC (rev 926)
+++ trunk/lit/ChangeLog 2021-05-04 14:34:39 UTC (rev 927)
@@ -4,6 +4,8 @@
tex4ht-html4.tex (html4.4ht): added support for \arrayrulecolor
command.
https://tex.stackexchange.com/a/595571/2891
+ * tex4ht-4ht.tex (menukeys.4ht): added support for the menukeys package.
+ https://puszcza.gnu.org.ua/bugs/?509
2021-05-02 Karl Berry <karl at freefriends.org>
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2021-05-04 07:36:13 UTC (rev 926)
+++ trunk/lit/mktex4ht-cnf.tex 2021-05-04 14:34:39 UTC (rev 927)
@@ -356,6 +356,7 @@
\AddFile{9}{parallel}
\AddFile{9}{skak}
\AddFile{9}{chessboard}
+\AddFile{9}{menukeys}
\AddFile{9}{animate}
\AddFile{9}{sectionbreak}
% \AddFile{9}{mktex4ht}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2021-05-04 07:36:13 UTC (rev 926)
+++ trunk/lit/tex4ht-4ht.tex 2021-05-04 14:34:39 UTC (rev 927)
@@ -31897,7 +31897,41 @@
\Configure{chessboard}{\Picture*{}\Save:TikzPict}{\Restore:TikzPict\EndPicture}
>>> \AddFile{9}{chessboard}
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{menukeys.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%
+\<menukeys.4ht\><<<
+% menukeys.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+% use the following Configuration to patch all defined styles (not commands!)
+\NewConfigure{defmenukey}[1]{%
+ % define \Configure{menukey<stylename>} - it will be used to insert \Picture+ ... \EndPicture
+ \NewConfigure{menukey#1}{2}
+ % insert hooks into style's pre and post macros
+ \expandafter\pend:def\csname tw at style@#1 at pre\endcsname{\csname a:menukey#1\endcsname}%
+ \expandafter\append:def\csname tw at style@#1 at post\endcsname{\csname b:menukey#1\endcsname}%
+ % use pictures by default for the style configuration
+ \Configure{menukey#1}{\Picture+{}}{\EndPicture}
+}
+
+\Configure{defmenukey}{menus}
+\Configure{defmenukey}{paths}
+\Configure{defmenukey}{roundedkeys}
+\Configure{defmenukey}{roundedmenus}
+\Configure{defmenukey}{angularmenus}
+\Configure{defmenukey}{typewriterkeys}
+\Configure{defmenukey}{hyphenatepaths}
+\Configure{defmenukey}{pathswithfolder}
+\Configure{defmenukey}{shadowedangularkeys}
+\Configure{defmenukey}{pathswithblackfolder}
+\Configure{defmenukey}{hyphenatepathswithfolder}
+\Configure{defmenukey}{hyphenatepathswithblackfolder}
+
+\Hinput{menukeys}
+\endinput
+>>> \AddFile{9}{menukeys}
+
%%%%%%%%%%%%%%%%%%%%%%%%
\Section{vanilla.sty}
%%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.