From aaa2a4c2c0fa4023015dc075ec2ba9f3e18daa56 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Mon, 4 Jul 2016 11:07:09 +0200 Subject: [PATCH] Improve gitignore and add missing test index files --- .gitignore | 2 +- test/test_index/.gitignore | 2 ++ test/test_index/idx_auth.sbx | 26 ++++++++++++++++++++++++++ test/test_index/idx_auth.sxd | 19 +++++++++++++++++++ test/test_index/idx_title.sbx | 22 ++++++++++++++++++++++ test/test_index/idx_title.sxd | 13 +++++++++++++ 6 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 test/test_index/.gitignore create mode 100644 test/test_index/idx_auth.sbx create mode 100644 test/test_index/idx_auth.sxd create mode 100644 test/test_index/idx_title.sbx create mode 100644 test/test_index/idx_title.sxd diff --git a/.gitignore b/.gitignore index 69298645..a8e9e8cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ deb_dist build dist -.gitignore +#.gitignore *~ *.aux *.sbd diff --git a/test/test_index/.gitignore b/test/test_index/.gitignore new file mode 100644 index 00000000..371a68d1 --- /dev/null +++ b/test/test_index/.gitignore @@ -0,0 +1,2 @@ +!*.sxd +!*.sbx diff --git a/test/test_index/idx_auth.sbx b/test/test_index/idx_auth.sbx new file mode 100644 index 00000000..1063af69 --- /dev/null +++ b/test/test_index/idx_auth.sbx @@ -0,0 +1,26 @@ +\begin{idxblock}{A} + \idxentry{ + \indexauthor{}{Aba} + }{ + \hyperlink{song1-4.2}{4} + } \idxentry{ + \indexauthor{}{Äbc} + }{ + \hyperlink{song1-2.2}{2} + } \idxentry{ + \indexauthor{}{Abd} + }{ + \hyperlink{song1-3.2}{3} + } +\end{idxblock} +\begin{idxblock}{J} + \idxentry{ + \indexauthor{}{Jack} + }{ + \hyperlink{song1-1.2}{1} + } \idxentry{ + \indexauthor{}{Johns} + }{ + \hyperlink{song1-1.2}{1} + } +\end{idxblock} diff --git a/test/test_index/idx_auth.sxd b/test/test_index/idx_auth.sxd new file mode 100644 index 00000000..5d2f091b --- /dev/null +++ b/test/test_index/idx_auth.sxd @@ -0,0 +1,19 @@ +AUTHOR INDEX DATA FILE +%ignore unknown +%after by +%sep and +Jack and Johns +1 +song1-1.2 +Äbc +2 +song1-2.2 +Abd +3 +song1-3.2 +Aba +4 +song1-4.2 +unknown +5 +song1-5.2 diff --git a/test/test_index/idx_title.sbx b/test/test_index/idx_title.sbx new file mode 100644 index 00000000..5cc83540 --- /dev/null +++ b/test/test_index/idx_title.sbx @@ -0,0 +1,22 @@ +\begin{idxblock}{C} + \idxentry{ + \indextitle{}{Caa} + }{ + \hyperlink{song1-3.2}{3} + } \idxentry{ + \indextitle{}{Çab} + }{ + \hyperlink{song1-2.2}{2} + } \idxentry{ + \indextitle{}{Cac} + }{ + \hyperlink{song1-4.2}{4} + } +\end{idxblock} +\begin{idxblock}{M} + \idxentry{ + \indextitle{}{My song} + }{ + \hyperlink{song1-1.2}{1} + } +\end{idxblock} diff --git a/test/test_index/idx_title.sxd b/test/test_index/idx_title.sxd new file mode 100644 index 00000000..f6ba287f --- /dev/null +++ b/test/test_index/idx_title.sxd @@ -0,0 +1,13 @@ +TITLE INDEX DATA FILE +My song +1 +song1-1.2 +Çab +2 +song1-2.2 +Caa +3 +song1-3.2 +Cac +4 +song1-4.2