2 % encapsulating tex backend for auto-generated font-en-tja definitions
6 \font\vetfont=feta-beams16
7 \font\fetanummer=feta-nummer8
10 \font\fontentja=feta20
11 \font\vetfont=feta-beams20
12 \font\fetanummer=feta-nummer10
15 % \def\fetdef#1#2{\def#1{\fetchar{#2}}}
16 % ugh, linewidth, ugh, tablexx.ly balldims not used!
18 % what the fuck is this?
19 \def#1{\lower.3884\staffrulethickness
22 \def\fetchar#1{\fontentja\char#1}
27 \def\beamslope#1#2{{\count0=
#2\advance\count0 by
#1
29 {\vetfont\char\count0}}}
31 % stacked numbers; overrules def in lilyponddefs
33 \def\generalmeter#1#2{%
35 \hbox to0.42
\balkheight{\hss\fetanummer #1\hss}%
37 \hbox to0.42
\balkheight{\hss\fetanummer #2\hss}%
40 \newcount\embedcount\embedcount=
0
43 \def\inputifexists#1{%
44 \openin\checkexists #1
53 \def\embedcountid{feta-embed
}
54 \inputifexists{\embedcountid.aux
}
56 % let's not overwrite -- and be sure to create new
57 \def\storeembedcount{%
58 \immediate\openout\embedfile=
\embedcountid.aux
59 \immediate\write\embedfile{\embedcount=
\the\embedcount}
60 \immediate\closeout\embedfile
62 \def\turnOnExperimentalFeatures{
64 % yeah. By far not finished yet.
65 % Don't do this by default. gs takes a long time to start in xdvi
67 \special{ps: /drawslur
{
68 currentpoint /texoriginy exch def
80 destx
1 slurfactor sub mul
82 desty
1 slurfactor sub mul
99 \edef\embedid{feta-sleur-
\number\embedcount}
100 \immediate\openout\embedfile=
\embedid.mf
101 \global\advance\embedcount by
1
102 \immediate\write\embedfile{#1}
103 \immediate\closeout\embedfile
104 \font\expandafter\embedid\expandafter=
\embedid
105 \hbox{\embedid\char0}
108 \def\nopostscript{\def\embeddedps#
#1{}}
109 \def\nometafont{\def\embeddedmf#
#1{}}
113 \def\EndLilyPondOutput{
115 \csname bye
\endcsname