From: Norman Walsh Date: Tue, 3 Apr 2001 20:31:37 +0000 (+0000) Subject: Documentation fixes X-Git-Tag: release/1.79.1~6^2~6636 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e3220138fdccd5d854cd66c1f45b915068a6a57;p=docbook-dsssl Documentation fixes --- diff --git a/xsl/doc/.cvsignore b/xsl/doc/.cvsignore new file mode 100644 index 000000000..2d19fc766 --- /dev/null +++ b/xsl/doc/.cvsignore @@ -0,0 +1 @@ +*.html diff --git a/xsl/doc/Makefile b/xsl/doc/Makefile new file mode 100644 index 000000000..bb97b82b5 --- /dev/null +++ b/xsl/doc/Makefile @@ -0,0 +1,33 @@ +.PHONY : clean + +RSTYLE=reference.xsl +BSTYLE=book.xsl +VPATH=../docsrc +SAXVER=-6 + +all: copyright.html warranty.html reference.html index.html + cd common; make + cd lib; make + cd html; make + cd fo; make + +copyright.html: copyright.xml $(RSTYLE) + xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$< + saxon $(SAXVER) $< $(RSTYLE) $@ + +warranty.html: warranty.xml $(RSTYLE) + xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$< + saxon $(SAXVER) $< $(RSTYLE) $@ + +reference.html: reference.xml $(RSTYLE) lib/lib.xml common/common.xml \ + html/param.xml html/ebnf.xml \ + fo/param.xml fo/table.xml + xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$< + saxon $(SAXVER) $< $(RSTYLE) $@ + +index.html: documentation.xml $(BSTYLE) reference.xml + xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$< + saxon $(SAXVER) $< $(BSTYLE) $@ + +clean: + rm -f *.html common/*.html lib/*.html html/*.html fo/*.html diff --git a/xsl/doc/book.xsl b/xsl/doc/book.xsl new file mode 100644 index 000000000..45f6880a5 --- /dev/null +++ b/xsl/doc/book.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + + copyright + + + + + + + + . + No Warranty + . +

+
+ +
diff --git a/xsl/doc/common/.cvsignore b/xsl/doc/common/.cvsignore new file mode 100644 index 000000000..2d19fc766 --- /dev/null +++ b/xsl/doc/common/.cvsignore @@ -0,0 +1 @@ +*.html diff --git a/xsl/doc/common/Makefile b/xsl/doc/common/Makefile new file mode 100644 index 000000000..84cf60118 --- /dev/null +++ b/xsl/doc/common/Makefile @@ -0,0 +1,9 @@ +STYLE=../jrefhtml.xsl +VPATH=../../docsrc/common + +HTMLFILES = common.html + +all: $(HTMLFILES) + +%.html : %.xml $(STYLE) + saxon $< $(STYLE) $@ diff --git a/xsl/doc/fo/.cvsignore b/xsl/doc/fo/.cvsignore new file mode 100644 index 000000000..2d19fc766 --- /dev/null +++ b/xsl/doc/fo/.cvsignore @@ -0,0 +1 @@ +*.html diff --git a/xsl/doc/fo/Makefile b/xsl/doc/fo/Makefile new file mode 100644 index 000000000..a90a9372a --- /dev/null +++ b/xsl/doc/fo/Makefile @@ -0,0 +1,9 @@ +STYLE=../jrefhtml.xsl +VPATH=../../docsrc/fo + +HTMLFILES = param.html table.html + +all: $(HTMLFILES) + +%.html : %.xml $(STYLE) + saxon $< $(STYLE) $@ diff --git a/xsl/doc/html/.cvsignore b/xsl/doc/html/.cvsignore new file mode 100644 index 000000000..2d19fc766 --- /dev/null +++ b/xsl/doc/html/.cvsignore @@ -0,0 +1 @@ +*.html diff --git a/xsl/doc/html/Makefile b/xsl/doc/html/Makefile new file mode 100644 index 000000000..f9f21b611 --- /dev/null +++ b/xsl/doc/html/Makefile @@ -0,0 +1,9 @@ +STYLE=../jrefhtml.xsl +VPATH=../../docsrc/html + +HTMLFILES = param.html ebnf.html + +all: $(HTMLFILES) + +%.html : %.xml $(STYLE) + saxon $< $(STYLE) $@ diff --git a/xsl/doc/jrefhtml.xsl b/xsl/doc/jrefhtml.xsl new file mode 100644 index 000000000..5123b274e --- /dev/null +++ b/xsl/doc/jrefhtml.xsl @@ -0,0 +1,33 @@ + + + + + + + + + + + +

+ + + + + + copyright + + + + + + + + . + No Warranty + . +

+
+ +
diff --git a/xsl/doc/lib/.cvsignore b/xsl/doc/lib/.cvsignore new file mode 100644 index 000000000..2d19fc766 --- /dev/null +++ b/xsl/doc/lib/.cvsignore @@ -0,0 +1 @@ +*.html diff --git a/xsl/doc/lib/Makefile b/xsl/doc/lib/Makefile new file mode 100644 index 000000000..7a21c2d91 --- /dev/null +++ b/xsl/doc/lib/Makefile @@ -0,0 +1,9 @@ +STYLE=../jrefhtml.xsl +VPATH=../../docsrc/lib + +HTMLFILES = lib.html + +all: $(HTMLFILES) + +%.html : %.xml $(STYLE) + saxon $< $(STYLE) $@ diff --git a/xsl/doc/reference.xsl b/xsl/doc/reference.xsl new file mode 100644 index 000000000..a5d3e98f7 --- /dev/null +++ b/xsl/doc/reference.xsl @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + + copyright + + + + + + + + . + No Warranty + . +

+
+ +
diff --git a/xsl/docsrc/Makefile b/xsl/docsrc/Makefile index 51a77edf0..d2c0821e6 100644 --- a/xsl/docsrc/Makefile +++ b/xsl/docsrc/Makefile @@ -1,6 +1,15 @@ +DIRS=common lib html fo template + all: - cd common; make - cd lib; make - cd html; make - cd fo; make - cd template; make + for i in $(DIRS) __bogus__; do \ + if [ $$i != __bogus__ ] ; then \ + echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ + fi \ + done + +clean: + for i in $(DIRS) __bogus__; do \ + if [ $$i != __bogus__ ] ; then \ + echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ + fi \ + done diff --git a/xsl/docsrc/common/Makefile b/xsl/docsrc/common/Makefile index c91756b93..3db2d185f 100644 --- a/xsl/docsrc/common/Makefile +++ b/xsl/docsrc/common/Makefile @@ -1,3 +1,6 @@ +XSLT=../../../cvstools/saxon +XJPARSE=../../../cvstools/xjparse + JSTYLE=../../docsrc/xsl2jref.xsl VPATH=../../common @@ -5,6 +8,9 @@ XMLFILES = common.xml all: $(XMLFILES) +clean: + rm -f $(XMLFILES) + %.xml : %.xsl $(JSTYLE) ../../docsrc/legalnotice.xml - saxon -6 $< $(JSTYLE) /dev/null output-file=$@ - xnsgmls -E 5 -sv -c /share/doctypes/catalog $@ + $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ + $(XJPARSE) $@ diff --git a/xsl/docsrc/fo/Makefile b/xsl/docsrc/fo/Makefile index 2b38ace57..b102e5014 100644 --- a/xsl/docsrc/fo/Makefile +++ b/xsl/docsrc/fo/Makefile @@ -1,3 +1,6 @@ +XSLT=../../../cvstools/saxon +XJPARSE=../../../cvstools/xjparse + JSTYLE=../../docsrc/xsl2jref.xsl VPATH=../../fo @@ -5,5 +8,9 @@ XMLFILES = param.xml table.xml all: $(XMLFILES) +clean: + rm -f $(XMLFILES) + %.xml : %.xsl $(JSTYLE) - saxon -6 $< $(JSTYLE) - output-file=$@ + $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ + $(XJPARSE) $@ diff --git a/xsl/docsrc/html/Makefile b/xsl/docsrc/html/Makefile index f8304a7f0..5acfb3d03 100644 --- a/xsl/docsrc/html/Makefile +++ b/xsl/docsrc/html/Makefile @@ -1,3 +1,6 @@ +XSLT=../../../cvstools/saxon +XJPARSE=../../../cvstools/xjparse + JSTYLE=../../docsrc/xsl2jref.xsl VPATH=../../html @@ -5,5 +8,9 @@ XMLFILES = param.xml ebnf.xml all: $(XMLFILES) +clean: + rm -f $(XMLFILES) + %.xml : %.xsl $(JSTYLE) - saxon -6 $< $(JSTYLE) /dev/null output-file=$@ + $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ + $(XJPARSE) $@ diff --git a/xsl/docsrc/jrefhtml.xsl b/xsl/docsrc/jrefhtml.xsl index b176fcabb..f1c21981e 100644 --- a/xsl/docsrc/jrefhtml.xsl +++ b/xsl/docsrc/jrefhtml.xsl @@ -1,7 +1,5 @@ @@ -23,8 +21,6 @@ - - diff --git a/xsl/docsrc/lib/Makefile b/xsl/docsrc/lib/Makefile index e4c522c90..228c46c9f 100644 --- a/xsl/docsrc/lib/Makefile +++ b/xsl/docsrc/lib/Makefile @@ -1,3 +1,6 @@ +XSLT=../../../cvstools/saxon +XJPARSE=../../../cvstools/xjparse + JSTYLE=../../docsrc/xsl2jref.xsl VPATH=../../lib @@ -5,5 +8,9 @@ XMLFILES = lib.xml all: $(XMLFILES) +clean: + rm -f $(XMLFILES) + %.xml : %.xsl $(JSTYLE) - saxon -6 $< $(JSTYLE) /dev/null output-file=$@ + $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ + $(XJPARSE) $@ diff --git a/xsl/docsrc/template/Makefile b/xsl/docsrc/template/Makefile index 30b891eb6..1c45f23df 100644 --- a/xsl/docsrc/template/Makefile +++ b/xsl/docsrc/template/Makefile @@ -1,3 +1,6 @@ +XSLT=../../../cvstools/saxon +XJPARSE=../../../cvstools/xjparse + JSTYLE=../../docsrc/xsl2jref.xsl VPATH=../../template @@ -5,6 +8,9 @@ XMLFILES = titlepage.xml all: $(XMLFILES) +clean: + rm -f $(XMLFILES) + %.xml : %.xsl $(JSTYLE) - saxon -6 $< $(JSTYLE) /dev/null output-file=$@ - xnsgmls -E 5 -sv -c /share/doctypes/catalog $@ + $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ + $(XJPARSE) $@ diff --git a/xsl/docsrc/xsl2jref.xsl b/xsl/docsrc/xsl2jref.xsl index 7fe10463a..297d57a0c 100644 --- a/xsl/docsrc/xsl2jref.xsl +++ b/xsl/docsrc/xsl2jref.xsl @@ -4,14 +4,11 @@ ]> + exclude-result-prefixes="doc xsl lxslt"> + + + + + + + + @@ -46,22 +49,14 @@ - - - - - - - - - - - - - - - - + + + + + + + + @@ -105,7 +100,10 @@ + + @@ -302,7 +300,7 @@ - + diff --git a/xsl/fo/param.xsl b/xsl/fo/param.xsl index 9db4d1d16..22aec224e 100644 --- a/xsl/fo/param.xsl +++ b/xsl/fo/param.xsl @@ -343,7 +343,7 @@ callouts should not be used. - + Number of the largest callout graphic If callout.graphics @@ -362,7 +362,7 @@ be used. - + Number of the largest callout graphic If callout.graphics diff --git a/xsl/html/param.xsl b/xsl/html/param.xsl index 5f16be9d1..acaa6f71a 100644 --- a/xsl/html/param.xsl +++ b/xsl/html/param.xsl @@ -723,7 +723,7 @@ have, surprise, line numbers. - + Enable the line numbering extension If true, verbatim environments (elements that have the @@ -863,7 +863,7 @@ in the CALS table. - + Enable the table columns extension function The table columns extension function adjusts the widths of table @@ -876,7 +876,7 @@ in the CALS table. - + FIXME: FIXME: @@ -887,7 +887,7 @@ in the CALS table. - + FIXME: FIXME: @@ -898,7 +898,7 @@ in the CALS table. - + FIXME: FIXME: @@ -909,7 +909,7 @@ in the CALS table. - + FIXME: FIXME: @@ -920,7 +920,7 @@ in the CALS table. - + FIXME: FIXME: @@ -931,7 +931,7 @@ in the CALS table. - + FIXME: FIXME: @@ -942,7 +942,7 @@ in the CALS table. - + FIXME: FIXME: @@ -953,7 +953,7 @@ in the CALS table. - + FIXME: FIXME: @@ -964,7 +964,7 @@ in the CALS table. - + FIXME: FIXME: @@ -975,7 +975,7 @@ in the CALS table. - + FIXME: FIXME: @@ -998,7 +998,7 @@ in the CALS table. - + Number of the largest callout graphic If callout.graphics @@ -1017,7 +1017,7 @@ be used. - + Number of the largest callout graphic If callout.graphics diff --git a/xsl/lib/lib.xsl b/xsl/lib/lib.xsl index 7aa690b47..178fae16d 100644 --- a/xsl/lib/lib.xsl +++ b/xsl/lib/lib.xsl @@ -95,8 +95,8 @@ to be incomplete. Don't forget to read the source, too :-) Substitute one text string for another in a string The string.subst template replaces all -occurances of target in string -with replacement and returns the result. +occurances of target in string +with replacement and returns the result. @@ -198,7 +198,7 @@ unqualified length ("20" for "20pt") from a dimension. The length-spec template returns the qualified length from a dimension. If an unqualified length is given, -the default.units will be added to it. +the default.units will be added to it.