]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lilypond-book/tex-verbatim.lytex
Build: Run regression tests for lilypond-book (issue 2223).
[lilypond.git] / input / regression / lilypond-book / tex-verbatim.lytex
1 \documentclass[a4paper, 12pt]{article}
2
3 \begin{document}
4
5 \section{verb and verbatim}
6
7 This file should not contain (and produce) any lilypond images!
8
9 Snippets inside a verbatim environment or a comment are not run through
10 lilypond, but left as is.
11
12 You should see the begin/end lilypond commands in all three of the below tests.
13
14 % TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now!
15 % \verb|\lilypond[fragment]{c' d' e'}|
16 %
17 % and
18
19 The verbatim environment does not confuse lilypond-book:
20
21 \begin{verbatim}
22 \begin{lilypond}
23 c d e
24 \end{lilypond}
25 \end{verbatim}
26
27
28 % TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now!
29 % \verb|\begin{lilypond}[fragment]c d e\end{lilypond}|
30
31 % \verb+\lilypondfile[quote,noindent]{screech-boink.ly}+
32
33 Neither does a verbatim inside verb:
34
35 \verb|\begin{verbatim}\begin{lilypond}[fragment]c d e\end{lilypond}\end{verbatim}|
36
37 or verb inside verbatim:
38
39 \begin{verbatim}
40 \verb|\begin{lilypond}[fragment]c d e\end{lilypond}|
41 \end{verbatim}
42
43 But these are just to stress \verb|lilypond-book|.
44
45
46 \end{document}