From: Peter Eisentraut Date: Thu, 4 Oct 2001 22:25:48 +0000 (+0000) Subject: Hack for Jade vs TeX interpretation of "--" X-Git-Tag: REL7_2_BETA1~179 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=255bd588a7668861a82bd53f00d20254dbe429b5;p=postgresql Hack for Jade vs TeX interpretation of "--" --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 3e7c0a8bc3..364f41d72e 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -8,7 +8,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.40 2001/09/21 18:37:05 petere Exp $ +# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.41 2001/10/04 22:25:48 petere Exp $ # #---------------------------------------------------------------------------- @@ -120,6 +120,9 @@ $(addsuffix .rtf, $(ALLBOOKS)): %.rtf: %.sgml $(ALLSGML) stylesheet.dsl # TeX and DVI $(addsuffix .tex, $(ALLBOOKS)): %.tex: %.sgml $(ALLSGML) stylesheet.dsl $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) -c $(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print book-decl.sgml $< +# TeX transforms '--' into en-dashes. This hack should go away when +# OpenJade is fixed (ver. 1.4?) + $(PERL) -pi -e 's/\-\-/\\mbox{}-\\mbox{}-\\mbox{}/g' $@ %.dvi: %.tex jadetex $< @@ -195,6 +198,6 @@ clean distclean maintainer-clean: # man rm -rf *.1 *.$(DEFAULTSECTION) man1 man$(DEFAULTSECTION) manpage.refs manpage.links manpage.log # print - rm -f *.rtf *.tex *.dvi *.aux *.log *.ps *.pdf + rm -f *.rtf *.tex *.dvi *.aux *.log *.ps *.pdf *.out # index rm -f HTML.index bookindex.sgml setindex.sgml