--- /dev/null
+<html>
+<body>
+Including a ly file with newline and spaces in the tags.
+<lilypondfile
+>
+include.ly
+</lilypondfile >
+</body>
+</html>
--- /dev/null
+<html>
+<body>
+Some music in <lilypond relative=2: a b c
+/> a line of text with a newline before the tag end.
+</body>
+</html>
--- /dev/null
+<html>
+Some music in <lilypond: { a b c }/> a line of text.
+</body>
+</html>
--- /dev/null
+<html>
+Some music in <lilypond relative=2: a b c/> a line of text.
+</body>
+</html>
--- /dev/null
+<html>
+<body>
+Lilypond fragment with newlines before the end tags.
+<lilypond fragment relative=2
+>
+\key c \minor c4 es g2
+</lilypond
+>
+</body>
+</html>
--- /dev/null
+<html>
+<body>
+Lilypond fragment with spaces and tabs before the end tags.
+<lilypond fragment relative=2 >
+\key c \minor c4 es g2
+</lilypond >
+</body>
+</html>
--- /dev/null
+<html>
+<body>
+Lilypond version: <lilypondversion
+/>
+</body>
+</html>
--- /dev/null
+<html>
+<body>
+Lilypond version: <lilypondversion/>
+</body>
+</html>
+++ /dev/null
-\documentclass{article}
-\begin{document}
-Including Lilypond file:
-\lilypondfile{include2.ly}
-\end{document}
+++ /dev/null
-<html>
-<body>
-Including a ly file with newline and spaces in the tags.
-<lilypondfile
->
-include.ly
-</lilypondfile >
-</body>
-</html>
+++ /dev/null
-\documentclass{article}
-\begin{document}
-Adding Lilypond code inline: \lilypond[relative=2]{ d g ceses }
-\end{document}
+++ /dev/null
-<html>
-<body>
-Some music in <lilypond relative=2: a b c
-/> a line of text with a newline before the tag end.
-</body>
-</html>
+++ /dev/null
-<html>
-Some music in <lilypond: { a b c }/> a line of text.
-</body>
-</html>
+++ /dev/null
-<html>
-Some music in <lilypond relative=2: a b c/> a line of text.
-</body>
-</html>
+++ /dev/null
-<html>
-<body>
-Lilypond fragment with newlines before the end tags.
-<lilypond fragment relative=2
->
-\key c \minor c4 es g2
-</lilypond
->
-</body>
-</html>
+++ /dev/null
-<html>
-<body>
-Lilypond fragment with spaces and tabs before the end tags.
-<lilypond fragment relative=2 >
-\key c \minor c4 es g2
-</lilypond >
-</body>
-</html>
--- /dev/null
+<html>
+<body>
+Testing lilypond-book HTML mode with .html file suffix.
+<lilypond fragment relative=2>
+\key c \minor c4 es g2
+</lilypond>
+</body>
+</html>
--- /dev/null
+\documentclass{article}
+\begin{document}
+Testing lilypond-book tex mode with .latex file suffix.
+\begin[fragment,relative=2]{lilypond}
+\key c \minor c4 e d2
+\end{lilypond}
+\end{document}
--- /dev/null
+\documentclass{article}
+\begin{document}
+Testing lilypond-book tex mode with .lytex file suffix.
+\begin[fragment,relative=2]{lilypond}
+\key c \minor c4 es d2
+\end{lilypond}
+\end{document}
--- /dev/null
+\documentclass{article}
+\begin{document}
+Testing lilypond-book tex mode with .tex file suffix.
+\begin{lilypond}[fragment,relative=2]
+\key c \minor c4 dis d2
+\end{lilypond}
+\end{document}
--- /dev/null
+<html>
+<body>
+Testing lilypond-book HTML mode with .xml file suffix.
+<lilypond fragment relative=2>
+\key c \minor c4 es g2
+</lilypond>
+</body>
+</html>
+++ /dev/null
-<html>
-<body>
-Lilypond fragment in a HTML file.
-<lilypond fragment relative=2>
-\key c \minor c4 es g2
-</lilypond>
-</body>
-</html>
+++ /dev/null
-\documentclass{article}
-\begin{document}
-Lilypond included in a \LaTeX document.
-\begin[fragment,relative=2]{lilypond}
-\key c \minor c4 e d2
-\end{lilypond}
-\end{document}
+++ /dev/null
-\documentclass{article}
-\begin{document}
-Lilypond included in a \LaTeX document.
-\begin[fragment,relative=2]{lilypond}
-\key c \minor c4 es d2
-\end{lilypond}
-\end{document}
+++ /dev/null
-\documentclass{article}
-\begin{document}
-Lilypond included in a \LaTeX document.
-\begin{lilypond}[fragment,relative=2]
-\key c \minor c4 dis d2
-\end{lilypond}
-\end{document}
+++ /dev/null
-<html>
-<body>
-Testing lilypond-book HTML mode with .xml file suffix.
-<lilypond fragment relative=2>
-\key c \minor c4 es g2
-</lilypond>
-</body>
-</html>
--- /dev/null
+\documentclass{article}
+\begin{document}
+Including Lilypond file:
+\lilypondfile{include2.ly}
+\end{document}
--- /dev/null
+\documentclass{article}
+\begin{document}
+Adding Lilypond code inline: \lilypond[relative=2]{ d g ceses }
+\end{document}
--- /dev/null
+\documentclass{article}
+\begin{document}
+Lilypond version: \lilypondversion
+\end{document}
+++ /dev/null
-<html>
-<body>
-Lilypond version: <lilypondversion/>
-</body>
-</html>
+++ /dev/null
-\documentclass{article}
-\begin{document}
-Lilypond version: \lilypondversion
-\end{document}
+++ /dev/null
-<html>
-<body>
-Lilypond version: <lilypondversion
-/>
-</body>
-</html>