summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/songbook/mksbtdx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
commitb4fc5f639874db951177ec539299d20908adb654 (patch)
tree52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/songbook/mksbtdx
parentdec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff)
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/songbook/mksbtdx')
-rw-r--r--Master/texmf-dist/doc/latex/songbook/mksbtdx51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/songbook/mksbtdx b/Master/texmf-dist/doc/latex/songbook/mksbtdx
new file mode 100644
index 00000000000..f4d8eef2b13
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/songbook/mksbtdx
@@ -0,0 +1,51 @@
+#!/bin/sh
+##### rcsid = @(#)$Id: mksbtdx,v 1.12 2003/08/19 23:30:37 christopher Exp $
+#####
+##
+## mksbtdx - Produce a songbook style .tdx file from a .tIdx file.
+##
+## Version 4.1, 31 August, 2003
+##
+## Copyright 1992--2003 Christopher Rath <christopher@rath.ca>
+##
+## This package is free software; you can redistribute it and/or
+## modify it under the terms of the GNU Lesser General Public
+## License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later
+## version.
+##
+## This package is distributed in the hope that it will be
+## useful, but WITHOUT ANY WARRANTY; without even the implied
+## warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+## PURPOSE. See the GNU Lesser General Public License for more
+## details.
+##
+## Take a .tIdx file produced by one of the songbook styles and
+## turn it into a .tdx file for final formatting into a title and
+## first line index.
+##
+#####
+#####
+
+###
+# Check that the proper parameters were input.
+###
+if [ "$1" = "" ]
+then
+ echo USAGE: $0 jobname
+fi
+
+###
+# Call makeindex to do the required munging.
+##
+makeindex -s songbook.ist -o $1.tdx $1.tIdx
+
+###
+# Tell the user what the new filename is.
+###
+echo " "
+echo "The new Index file is called \`$1.tdx'."
+
+###
+# End of script.
+###