aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/fixrtf
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-04-06 22:03:52 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-04-06 22:09:11 -0400
commit510074f9f0131a04322d6a3d2a51c87e6db243f9 (patch)
treeb6506450917c99e63f5bab7360127fc15214e920 /doc/src/sgml/fixrtf
parent3f902354b08ac788600f0ae54fcbfc1d4e3ea765 (diff)
downloadpostgresql-510074f9f0131a04322d6a3d2a51c87e6db243f9.tar.gz
postgresql-510074f9f0131a04322d6a3d2a51c87e6db243f9.zip
Remove use of Jade and DSSSL
All documentation is now built using XSLT. Remove all references to Jade, DSSSL, also JadeTex and some other outdated tooling. For chunked HTML builds, this changes nothing, but removes the transitional "oldhtml" target. The single-page HTML build is ported over to XSLT. For PDF builds, this removes the JadeTex builds and moves the FOP builds in their place.
Diffstat (limited to 'doc/src/sgml/fixrtf')
-rwxr-xr-xdoc/src/sgml/fixrtf46
1 files changed, 0 insertions, 46 deletions
diff --git a/doc/src/sgml/fixrtf b/doc/src/sgml/fixrtf
deleted file mode 100755
index 31cb5f85c0f..00000000000
--- a/doc/src/sgml/fixrtf
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-# fixrtf
-
-# doc/src/sgml/fixrtf
-
-# Repair (slightly) damaged RTF generated by jade
-# Applixware wants the s0 stylesheet defined, whereas
-# M$Word does not care about it.
-# (c) 2001, Thomas Lockhart, PostgreSQL Inc.
-
-flist=""
-RPAT=""
-for i in $@ ; do
- case "$i" in
- -r|--refentry)
- RPAT='-e s/\\\keepn/\\\keep/g'
- ;;
- -?|--help)
- echo "$0 [--refentry] <rtf file> ..."
- exit 0
- ;;
- -*)
- echo "Command $i not recognized"
- $0 --help
- exit 1
- ;;
- *)
- flist="$flist $i"
- esac
-done
-
-if [ "$flist" = "" ] ; then
- flist=*.rtf
-fi
-
-for f in $flist ; do
- echo -n "Repairing '$f' ..."
- if [ -r $f ] ; then
- (sed -e 's/{\\stylesheet{\\s1/{\\stylesheet{\\s0 Normal 0;}{\\s1/g' $RPAT $f > $f.new \
- && mv -f $f.new $f \
- && echo " done") || echo " failed"
- else
- echo " file not found"
- fi
-done
-exit