X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flilypond-book%2Ftex-verbatim.lytex;fp=input%2Fregression%2Flilypond-book%2Ftex-verbatim.lytex;h=363138d454ef66087c6cdb60e3717b3ad477d162;hb=941dff9d2a67080e0dd8474f1e70f0c72ace6424;hp=0000000000000000000000000000000000000000;hpb=5a22d6233a39d3164e1ca043244794c268be4ad0;p=lilypond.git diff --git a/input/regression/lilypond-book/tex-verbatim.lytex b/input/regression/lilypond-book/tex-verbatim.lytex new file mode 100644 index 0000000000..363138d454 --- /dev/null +++ b/input/regression/lilypond-book/tex-verbatim.lytex @@ -0,0 +1,45 @@ +\documentclass[a4paper, 12pt]{article} + +\begin{document} + +\section{verb and verbatim} + +This file should not contain (and produce) any lilypond images! + +Snippets inside a verbatim environment or a comment are not run through +lilypond, but left as is. + +% TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now! +% \verb|\lilypond[fragment]{c' d' e'}| +% +% and + +\begin{verbatim} +\begin{lilypond} +c d e +\end{lilypond} +\end{verbatim} + + +As you can see, the begin/end lilypond commands inside +do not confuse lilypond-book. + +% TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now! +% \verb|\begin{lilypond}[fragment]c d e\end{lilypond}| + +% \verb+\lilypondfile[quote,noindent]{screech-boink.ly}+ + +Neither does a verbatim inside verb: + +\verb|\begin{verbatim}\begin{lilypond}[fragment]c d e\end{lilypond}\end{verbatim}| + +or verb inside verbatim: + +\begin{verbatim} +\verb|\begin{lilypond}[fragment]c d e\end{lilypond}| +\end{verbatim} + +But these are just to stress \verb|lilypond-book|. + + +\end{document}