diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 23c226a4b4a..5a9e90a2856 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -268,12 +268,24 @@ xslthtml-stamp: stylesheet.xsl postgres.xml htmlhelp: stylesheet-hh.xsl postgres.xml $(XSLTPROC) $(XSLTPROCFLAGS) $^ -%-A4.fo: stylesheet-fo.xsl %.xml +%-A4.fo.tmp: stylesheet-fo.xsl %.xml $(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type A4 -o $@ $^ -%-US.fo: stylesheet-fo.xsl %.xml +%-US.fo.tmp: stylesheet-fo.xsl %.xml $(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type USletter -o $@ $^ +FOP = fop +XMLLINT = xmllint + +# reformat FO output so that locations of errors are easier to find +%.fo: %.fo.tmp + $(XMLLINT) --format --output $@ $^ + +.SECONDARY: postgres-A4.fo postgres-US.fo + +%-fop.pdf: %.fo + $(FOP) -fo $< -pdf $@ + epub: postgres.epub postgres.epub: postgres.xml $(DBTOEPUB) $< @@ -391,7 +403,7 @@ clean: # index rm -f HTML.index $(GENERATED_SGML) # XSLT - rm -f postgres.xml postgres.xmltmp htmlhelp.hhp toc.hhc index.hhk *.fo + rm -f postgres.xml postgres.xmltmp htmlhelp.hhp toc.hhc index.hhk *.fo *.fo.tmp # EPUB rm -f postgres.epub # Texinfo diff --git a/doc/src/sgml/geqo.sgml b/doc/src/sgml/geqo.sgml index 92276fcd766..e0f8adcd6ed 100644 --- a/doc/src/sgml/geqo.sgml +++ b/doc/src/sgml/geqo.sgml @@ -1,30 +1,6 @@ - - - Martin - Utesch - - - University of Mining and Technology - - - Institute of Automatic Control - -
- - Freiberg - - - Germany - -
-
-
- 1997-10-02 -
- Genetic Query Optimizer diff --git a/doc/src/sgml/nls.sgml b/doc/src/sgml/nls.sgml index 5bac66e9d2d..5f52fd45ef8 100644 --- a/doc/src/sgml/nls.sgml +++ b/doc/src/sgml/nls.sgml @@ -1,13 +1,6 @@ - - - Peter - Eisentraut - - - Native Language Support diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index aafc946d1b5..ad26a5abbe8 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -6,6 +6,18 @@ + + +3 + + + + + + wrap + +