summaryrefslogtreecommitdiff
path: root/Build/source/utils/songs/tests
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-20 10:41:53 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-20 10:41:53 +0000
commit5ea8fa0cef406b98d720cda6f6b87a033439987b (patch)
tree0bf7f79b9b9e02b0c56d68faeeb9c2c3b9e62329 /Build/source/utils/songs/tests
parentacdc410c1a4278aa00a147cf413e432df66418f7 (diff)
songs 2.17
git-svn-id: svn://tug.org/texlive/trunk@32454 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/songs/tests')
-rw-r--r--Build/source/utils/songs/tests/myauth.sbx4
-rw-r--r--Build/source/utils/songs/tests/myauth.sxd4
-rw-r--r--Build/source/utils/songs/tests/mybook.tex32
-rw-r--r--Build/source/utils/songs/tests/myscrip.sbx3
-rw-r--r--Build/source/utils/songs/tests/myscrip.sxd4
-rw-r--r--Build/source/utils/songs/tests/mytitle.sbx6
-rw-r--r--Build/source/utils/songs/tests/mytitle.sxd7
7 files changed, 60 insertions, 0 deletions
diff --git a/Build/source/utils/songs/tests/myauth.sbx b/Build/source/utils/songs/tests/myauth.sbx
new file mode 100644
index 00000000000..0bd7cf614b2
--- /dev/null
+++ b/Build/source/utils/songs/tests/myauth.sbx
@@ -0,0 +1,4 @@
+\begin{idxblock}{}
+\idxentry{Bourgeois, Louis}{\songlink{song1-1.2}{1}}
+\idxentry{Ken, Thomas}{\songlink{song1-1.2}{1}}
+\end{idxblock}
diff --git a/Build/source/utils/songs/tests/myauth.sxd b/Build/source/utils/songs/tests/myauth.sxd
new file mode 100644
index 00000000000..98a3c37a6c6
--- /dev/null
+++ b/Build/source/utils/songs/tests/myauth.sxd
@@ -0,0 +1,4 @@
+AUTHOR INDEX DATA FILE
+Louis Bourgeois and Thomas Ken
+1
+song1-1.2
diff --git a/Build/source/utils/songs/tests/mybook.tex b/Build/source/utils/songs/tests/mybook.tex
new file mode 100644
index 00000000000..a640696039d
--- /dev/null
+++ b/Build/source/utils/songs/tests/mybook.tex
@@ -0,0 +1,32 @@
+\documentclass{article}
+\usepackage[chorded]{songs}
+%
+\newindex{titleidx}{mytitle}
+\newauthorindex{authidx}{myauth}
+\newscripindex{scripidx}{myscrip}
+%
+\noversenumbers
+%
+\begin{document}
+\showindex{Complete Index of Songs}{titleidx}
+\songsection{Worship Songs}
+%
+\begin{songs}{titleidx,authidx,scripidx}
+\beginsong{Doxology}[by={Louis Bourgeois and Thomas Ken},
+ sr={Revelation 5:13},
+ cr={Public domain.},
+ index={Praise God, from Whom all blessings flow}]
+\beginverse
+\[G]Praise God, \[D]from \[Em]Whom \[Bm]all \[Em]bless\[D]ings \[G]flow;
+\[G]Praise Him, all \[D]crea\[Em]tures \[C]here \[G]be\[D]low;
+\[Em]Praise \[D]Him \[G]a\[D]bove, \[G]ye \[C]heav'n\[D]ly \[Em]host;
+\[G]Praise Fa\[Em]ther, \[D]Son, \[Am]and \[G/B G/C]Ho\[D]ly \[G]Ghost.
+\[C]A\[G]men.
+\endverse
+\endsong
+\end{songs}
+%
+\showindex{Index of Authors and Composers}{authidx}
+\showindex{Index of Scripture}{scripidx}
+%
+\end{document}
diff --git a/Build/source/utils/songs/tests/myscrip.sbx b/Build/source/utils/songs/tests/myscrip.sbx
new file mode 100644
index 00000000000..02ebdcab543
--- /dev/null
+++ b/Build/source/utils/songs/tests/myscrip.sbx
@@ -0,0 +1,3 @@
+\begin{idxblock}{Revelation}
+\idxentry{5:13}{\songlink{song1-1.2}{1}}
+\end{idxblock}
diff --git a/Build/source/utils/songs/tests/myscrip.sxd b/Build/source/utils/songs/tests/myscrip.sxd
new file mode 100644
index 00000000000..a700835bf12
--- /dev/null
+++ b/Build/source/utils/songs/tests/myscrip.sxd
@@ -0,0 +1,4 @@
+SCRIPTURE INDEX DATA FILE
+Revelation 5:13
+1
+song1-1.2
diff --git a/Build/source/utils/songs/tests/mytitle.sbx b/Build/source/utils/songs/tests/mytitle.sbx
new file mode 100644
index 00000000000..a89b5740513
--- /dev/null
+++ b/Build/source/utils/songs/tests/mytitle.sbx
@@ -0,0 +1,6 @@
+\begin{idxblock}{D}
+\idxentry{Doxology}{\songlink{song1-1.2}{1}}
+\end{idxblock}
+\begin{idxblock}{P}
+\idxaltentry{Praise God, from Whom all blessings flow}{\songlink{song1-1.2}{1}}
+\end{idxblock}
diff --git a/Build/source/utils/songs/tests/mytitle.sxd b/Build/source/utils/songs/tests/mytitle.sxd
new file mode 100644
index 00000000000..7369db5c9b8
--- /dev/null
+++ b/Build/source/utils/songs/tests/mytitle.sxd
@@ -0,0 +1,7 @@
+TITLE INDEX DATA FILE
+*Praise God, from Whom all blessings flow
+1
+song1-1.2
+Doxology
+1
+song1-1.2