Commit 13e05299 authored by rrt's avatar rrt
Browse files

[project @ 2000-05-16 10:45:23 by rrt]

Much pain in order to get the horrid heap of brokenness that is the DocBook
catalog system to work.
parent 820d32a2
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" /usr/lib/sgml/ISOamsa
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" /usr/lib/sgml/ISOamsb
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" /usr/lib/sgml/ISOamsc
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" /usr/lib/sgml/ISOamsn
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" /usr/lib/sgml/ISOamso
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" /usr/lib/sgml/ISOamsr
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" /usr/lib/sgml/ISObox
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" /usr/lib/sgml/ISOcyr1
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" /usr/lib/sgml/ISOcyr2
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" /usr/lib/sgml/ISOdia
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" /usr/lib/sgml/ISOgrk1
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" /usr/lib/sgml/ISOgrk2
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" /usr/lib/sgml/ISOgrk3
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" /usr/lib/sgml/ISOgrk4
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" /usr/lib/sgml/ISOlat1
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" /usr/lib/sgml/ISOlat2
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" /usr/lib/sgml/ISOnum
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" /usr/lib/sgml/ISOpub
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" /usr/lib/sgml/ISOtech
PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl
PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl
CATALOG /usr/lib/sgml/dsssl.cat
CATALOG /usr/lib/sgml/docbook.cat
CATALOG /usr/lib/sgml/nwalsh-modular.cat
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" /usr/local/lib/sgml/ISOamsa
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" /usr/local/lib/sgml/ISOamsb
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" /usr/local/lib/sgml/ISOamsc
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" /usr/local/lib/sgml/ISOamsn
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" /usr/local/lib/sgml/ISOamso
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" /usr/local/lib/sgml/ISOamsr
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" /usr/local/lib/sgml/ISObox
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" /usr/local/lib/sgml/ISOcyr1
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" /usr/local/lib/sgml/ISOcyr2
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" /usr/local/lib/sgml/ISOdia
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" /usr/local/lib/sgml/ISOgrk1
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" /usr/local/lib/sgml/ISOgrk2
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" /usr/local/lib/sgml/ISOgrk3
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" /usr/local/lib/sgml/ISOgrk4
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" /usr/local/lib/sgml/ISOlat1
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" /usr/local/lib/sgml/ISOlat2
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" /usr/local/lib/sgml/ISOnum
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" /usr/local/lib/sgml/ISOpub
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" /usr/local/lib/sgml/ISOtech
CATALOG /usr/local/lib/sgml/stylesheets/docbook/catalog
CATALOG /usr/local/lib/sgml/docbook.cat
CATALOG /usr/local/lib/sgml/catalog
......@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2dvi
SCRIPT_OBJS=db2dvi.sh
SCRIPT_SUBST_VARS=JADE
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
......
#! /bin/sh
if [ -z "$SGML_CATALOG_FILES"]
then
if [ ! -f "$FPTOOLS_CATALOG_FILE" ]
then
echo "CATALOG file not set up; see installation guide for details."
exit 1
fi
SGML_CATALOG_FILES=$FPTOOLS_CATALOG_FILE
fi
# Dave Mason's option to specify a different stylesheet
case $1 in
......@@ -32,7 +40,7 @@ echo OUTPUT FILE NAME IS $output
TMPFN=`echo $1 | sed 's/\.sgml//'`
$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1
$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1 -c $SGML_CATALOG_FILES
jadetex ${TMPFN}.tex
......
......@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2html
SCRIPT_OBJS=db2html.sh
SCRIPT_SUBST_VARS=JADE HTML_DIR
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE HTML_DIR
INTERP=$(SHELL)
HTML_DIR=$(FPTOOLS_TOP_ABS)/glafp-utils/docbook
......
#! /bin/sh
if [ -z "$SGML_CATALOG_FILES"]
then
if [ ! -f "$FPTOOLS_CATALOG_FILE" ]
then
echo "CATALOG file not set up; see installation guide for details."
exit 1
fi
SGML_CATALOG_FILES=$FPTOOLS_CATALOG_FILE
fi
HTML_STYLESHEET=$HTML_DIR/html/docbook.css
ADMON_GRAPHICS=$HTML_DIR/html/images/*.gif
......@@ -50,10 +58,10 @@ mkdir $TMPDIR
SAVE_PWD=`pwd`
if [ $1 = `basename $1` ]; then
echo "working on ../$1"
(cd $TMPDIR; $JADE -t sgml -ihtml -d ${DB_STYLESHEET}\#html ../$1; cd $SAVE_PWD)
(cd $TMPDIR; $JADE -t sgml -ihtml -d ${DB_STYLESHEET}\#html ../$1 -c $SGML_CATALOG_FILES; cd $SAVE_PWD)
else
echo "working on $1"
(cd $TMPDIR; $JADE -t sgml -ihtml -d ${DB_STYLESHEET}\#html $1; cd $SAVE_PWD)
(cd $TMPDIR; $JADE -t sgml -ihtml -d ${DB_STYLESHEET}\#html $1 -c $SGML_CATALOG_FILES; cd $SAVE_PWD)
fi
if [ $# -eq 1 ]
......
......@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2pdf
SCRIPT_OBJS=db2pdf.sh
SCRIPT_SUBST_VARS=JADE
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
......
if [ -z "$SGML_CATALOG_FILES"]
then
if [ ! -f "$FPTOOLS_CATALOG_FILE" ]
then
echo "CATALOG file not set up; see installation guide for details."
exit 1
fi
SGML_CATALOG_FILES=$FPTOOLS_CATALOG_FILE
fi
TMPFN=`echo $1 | sed 's/\.sgml//'`
# Dave Mason's option to specify a different stylesheet
......@@ -28,7 +38,7 @@ then
fi
fi
$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1
$JADE -t tex -d ${DB_STYLESHEET}\#print -o ${TMPFN}.tex $1 -c $SGML_CATALOG_FILES
pdf$JADEtex $TMPFN
......
......@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2ps
SCRIPT_OBJS=db2ps.sh
SCRIPT_SUBST_VARS=JADE
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
......
......@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
SCRIPT_PROG=../db2rtf
SCRIPT_OBJS=db2rtf.sh
SCRIPT_SUBST_VARS=JADE
SCRIPT_SUBST_VARS=JADE FPTOOLS_CATALOG_FILE
INTERP=$(SHELL)
CLEAN_FILES += $(SCRIPT_PROG)
......
if [ -z "$SGML_CATALOG_FILES"]
then
if [ ! -f "$FPTOOLS_CATALOG_FILE" ]
then
echo "CATALOG file not set up; see installation guide for details."
exit 1
fi
SGML_CATALOG_FILES=$FPTOOLS_CATALOG_FILE
fi
output=db2rtf.rtf
# Dave Mason's option to specify a different stylesheet
......@@ -28,13 +38,13 @@ then
fi
fi
cat $* | $JADE -t rtf -d ${DB_STYLESHEET}\#print
cat $* | $JADE -t rtf -d ${DB_STYLESHEET}\#print -c $SGML_CATALOG_FILES
if [ $# -eq 1 ]
then
mv $JADE-out.rtf $output
mv jade-out.rtf $output
else
cat $JADE-out.rtf
cat jade-out.rtf
fi
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment