Debian Codegraph @

texmf-dist/tex/generic/tex4ht/menukeys.4ht

raw
1 % menukeys.4ht (2021-05-06-14:39), generated from tex4ht-4ht.tex
2 % Copyright 2021 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2021-05-06-14:39}
20
21 % use the following Configuration to patch all defined styles (not commands!)
22 \NewConfigure{defmenukey}[1]{%
23 % define \Configure{menukey<stylename>} - it will be used to insert \Picture+ ... \EndPicture
24 \NewConfigure{menukey#1}{2}
25 % insert hooks into style's pre and post macros
26 \expandafter\pend:def\csname tw@style@#1@pre\endcsname{\csname a:menukey#1\endcsname}%
27 \expandafter\append:def\csname tw@style@#1@post\endcsname{\csname b:menukey#1\endcsname}%
28 % use pictures by default for the style configuration
29 \Configure{menukey#1}{\Picture*{}}{\EndPicture}
30 }
31
32 \Configure{defmenukey}{menus}
33 \Configure{defmenukey}{paths}
34 \Configure{defmenukey}{roundedkeys}
35 \Configure{defmenukey}{roundedmenus}
36 \Configure{defmenukey}{angularmenus}
37 \Configure{defmenukey}{typewriterkeys}
38 \Configure{defmenukey}{hyphenatepaths}
39 \Configure{defmenukey}{pathswithfolder}
40 \Configure{defmenukey}{shadowedangularkeys}
41 \Configure{defmenukey}{pathswithblackfolder}
42 \Configure{defmenukey}{hyphenatepathswithfolder}
43 \Configure{defmenukey}{hyphenatepathswithblackfolder}
44
45 \Hinput{menukeys}
46 \endinput
47