]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/tex/glossary.yo
release: 1.0.13
[lilypond.git] / Documentation / tex / glossary.yo
1
2 COMMENT(-*-text-*-)
3
4 DEFINEMACRO(var)(1)(whenlatex(latexcommand({\normalfont\scshape )ARG1+latexcommand(}))\
5     whenhtml(sc(ARG1)))
6
7
8
9 COMMENT( This document contains Mudela fragments.  You need at least
10 Yodl-1.30.18 to convert this to tex or html.
11
12 TODO
13
14 in stead <-> instead
15 )
16
17 htmlbodyopt(bgcolor)(white)
18 htmlcommand(<font color=black>)
19
20 latexlayoutcmds(
21 \setlength{\topmargin}{-0.25in}
22 \setlength{\textheight}{9in}
23 \setlength{\textwidth}{5.875in} 
24 \setlength{\oddsidemargin}{0.25in}   
25 \setlength{\evensidemargin}{0.25in}
26 )
27
28
29 whenlatex(notableofcontents())
30 whentexinfo(notableofcontents())
31
32 article(Glossary of notation terms)
33       (Han-Wen Nienhuys and Jan Nieuwenhuizen)
34       ()
35
36 COMMENT(
37
38 * The [ ] look weird
39
40 * paragraphs have too much space.
41
42 )
43
44
45 latexcommand(\def\interexample{})
46 latexcommand(\def\preexample{\par})
47 latexcommand(\def\postexample{\par\medskip})
48 latexcommand(\def\file#1{{code(#1)}})
49 COMMENT(
50 latexcommand(\def\texttt#1{\tt #1})
51 latexcommand(\def\textbf#1{\bf #1})
52 )
53
54 This glossary is far from complete.  Additions are welcome.
55
56 whenlatex(latexcommand(
57     {\parindent -1pc
58     \parskip 0pc\parsep 0pc
59     %  COMMENT( from the texbook)
60     \def\length#1{\count0=0 \getlength#1\end}
61     \def\getlength#1{\ifx#1\end \let\next=\relax
62       \else\advance\count0 by1 \let\next=\getlength\fi \next}
63       \def\inlanguage#1#2{{\length{#2}%
64         \ifnum\count0=0
65         \else
66         \emph{#1}: #2.
67         \fi}}
68     \small
69
70     % COMMENT(\def\tableentry#1#2#3#4#5#6#7{\par\textbf{#1}: #7)
71     \def\tableentry#1#2#3#4#5#6#7{\par{\bf #1}: #7
72       \inlanguage{Fran\c cais}{#2}
73        \inlanguage{British}{#4}  \inlanguage{Deutsch}{#3}
74        \inlanguage{Nederlands}{#5}\inlanguage{Italiano}{#6}}
75       \input glossary-table
76     }
77
78     \bibliography{engraving}    
79     \bibliographystyle{plain}
80 ))
81
82 whenhtml(
83     includeverbatim(DOEXPAND(outdir)/glossary-table.html)
84 )
85