#
# This is file `tbtodocbk',
# generated on 2002/10/10 at 04:43 with the docstrip utility.
#
# The original source files were:
#
# tbookshl.dtx  (with options: `tbtodocbk')
#
#======================================================================
#    tbtodocbk - Part of the tbook Program
#    Copyright 2002 Torsten Bronger <bronger@users.sourceforge.net>
#
#  This program may be distributed and/or modified under the
#  conditions of the LaTeX Project Public License, either version 1.2
#  of this license or (at your option) any later version.
#  The latest version of this license is in
#    http://www.latex-project.org/lppl.txt
#  and version 1.2 or later is part of all distributions of LaTeX
#  version 1999/12/01 or later.
#
#  This file may only be distributed together with a copy of the tbook
#  base system. You may however distribute the tbook base system
#  without such generated files.
#
#  The program tbook consists of all files listed in manifest.txt.
#======================================================================
#
if [ -z "$1" ] || [ "$1" == "-h" ] || [ "$1" == "--help" ] ; then
  echo "tbtodocbk 1.4" ;
  echo "(2002/08/27)" ;
  echo "usage: tbtodocbk document-name [parameter = value]..." ;
  echo "Convert the tbook file document-name.xml to DocBook.  (Saxon wrapper)" ;
  echo " document-name       name of the tbook document (without the .xml extension!)" ;
  echo " parameter           an XSLT parameter" ;
  echo " value               value for that parameter" ;
  echo "for further information see tbookman.pdf or the man pages." ;
  exit 0 ;
fi

saxon -w0 -o $1-db.xml $1.xml /usr/share/xml/tbook/tbtodb.xsl $2 $3 $4 $5 $6 $7 $8 $9

#
# End of file `tbtodocbk'.

