Debian Codegraph @

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

raw
1 % musicography.4ht (2022-11-28-13:11), generated from tex4ht-4ht.tex
2 % Copyright 2022 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 2022-11-28-13:11}
20
21 \NewConfigure{musSymbol}{2}
22 \NewDocumentCommand{\:musSymbol}{ O{\musFont} m m m m }{%
23 \a:musSymbol\o:musSymbol:[#1]{#2}{#3}{#4}{#5}\b:musSymbol%
24 }
25
26 \NewConfigure{musFlaggedNote}{2}
27 \NewDocumentCommand{\:musFlaggedNote}{ m m }{%
28 \a:musFlaggedNote\o:musFlaggedNote:{#1}{#2}\b:musFlaggedNote
29 }
30 \HLet\musFlaggedNote\:musFlaggedNote
31
32
33 \NewConfigure{musStemmedNote}{2}
34 \NewDocumentCommand{\:musStemmedNote}{ m }{%
35 \a:musStemmedNote\o:musStemmedNote:{#1}\b:musStemmedNote%
36 }
37
38 \HLet\musStemmedNote\:musStemmedNote
39
40
41 \NewConfigure{musDottedNote}{2}
42 \NewDocumentCommand{\:musDottedNote}{ m }{%
43 \a:musDottedNote\o:musDottedNote:{#1}\b:musDottedNote%
44 }
45
46 \HLet\musDottedNote\:musDottedNote
47
48
49 \NewConfigure{musStack}{2}
50 \NewDocumentCommand{\:musStack}{ O{\musNumFont} m }{%
51 \a:musStack\o:musStack:[#1]{#2}\b:musStack%
52 }
53
54 \HLet\musStack\:musStack
55
56 \NewConfigure{meterCplus}{2}
57 \NewDocumentCommand{\:meterCplus}{ m }{\a:meterCplus\o:meterCplus:{#1}\b:meterCplus}
58 \HLet\meterCplus\:meterCplus
59
60
61 \Configure{musStack}{\Picture+{}}{\EndPicture}
62 \Css{.mustack{display:block-inline}}
63 \Configure{musDottedNote}{\Picture+{}}{\EndPicture}
64 \Configure{musStemmedNote}{\Picture+{}}{\EndPicture}
65 \Configure{musFlaggedNote}{\Picture+{}}{\EndPicture}
66 \Configure{musSymbol}{\Picture+{}}{\EndPicture}
67 \Configure{meterCplus}{\Picture+{}}{\EndPicture}
68
69
70 % \def\:tempa#1#2{%
71 % \def\:tempb{\x:unicode{#2}}%
72 % \HLet#1\:tempb%
73 % }
74 % these characters are strange, they seems to overlap with the following character, and they are too small
75 % it is probably better to use images
76 % \:tempa\musEighth{1D160}
77 % \:tempa\musSixteenth{1D161}
78 % \:tempa\musThirtySecond{1D162}
79 % \:tempa\musSixtyFourth{1D163}
80
81
82 \Hinput{musicography}
83 \endinput
84