From: Norman Walsh Date: Tue, 4 Dec 2001 19:08:41 +0000 (+0000) Subject: New parameters; reorganized xweb file; and some checking for consistent param files X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5451f002237c418bbd18c6ac65eba035525b8816;p=docbook-dsssl New parameters; reorganized xweb file; and some checking for consistent param files --- diff --git a/xsl/fo/Makefile b/xsl/fo/Makefile index 96db4b255..bf1e475d4 100644 --- a/xsl/fo/Makefile +++ b/xsl/fo/Makefile @@ -1,16 +1,23 @@ XSLT=../../cvstools/saxon XJPARSE=../../cvstools/xjparse +include Makefile.param + all: titlepage.templates.xsl param.xsl param.html: param.xml $(XSLT) $< ../docsrc/lrefentry.xsl $@ -param.xml: param.xweb +param.xml: param.xweb $(PARAMS) + ../../cvstools/paramchk -m Makefile.param $< $(XSLT) $< ../../litprog/wdocbook.xsl $@ -param.xsl: param.xweb +param.xsl: param.xweb $(PARAMS) + ../../cvstools/paramchk -m Makefile.param $< $(XSLT) $< ../../litprog/xtangle.xsl $@ titlepage.templates.xsl: titlepage.templates.xml ../template/titlepage.xsl $(XSLT) $< ../template/titlepage.xsl $@ + +Makefile.param: + ../../cvstools/paramchk -m $@ param.xweb diff --git a/xsl/fo/Makefile.param b/xsl/fo/Makefile.param new file mode 100644 index 000000000..04294075d --- /dev/null +++ b/xsl/fo/Makefile.param @@ -0,0 +1,121 @@ +PARAMS=../params/admon.graphics.xml \ + ../params/admon.graphics.extension.xml \ + ../params/admon.graphics.path.xml \ + ../params/admonition.properties.xml \ + ../params/admonition.title.properties.xml \ + ../params/alignment.xml \ + ../params/appendix.autolabel.xml \ + ../params/arbortext.extensions.xml \ + ../params/author.othername.in.middle.xml \ + ../params/autotoc.label.separator.xml \ + ../params/biblioentry.item.separator.xml \ + ../params/bibliography.collection.xml \ + ../params/body.font.family.xml \ + ../params/body.font.master.xml \ + ../params/body.font.size.xml \ + ../params/body.margin.bottom.xml \ + ../params/body.margin.top.xml \ + ../params/callout.defaultcolumn.xml \ + ../params/callout.graphics.xml \ + ../params/callout.graphics.extension.xml \ + ../params/callout.graphics.number.limit.xml \ + ../params/callout.graphics.path.xml \ + ../params/callout.unicode.xml \ + ../params/callout.unicode.font.xml \ + ../params/callout.unicode.number.limit.xml \ + ../params/callout.unicode.start.character.xml \ + ../params/callouts.extension.xml \ + ../params/chapter.autolabel.xml \ + ../params/column.count.xml \ + ../params/component.title.properties.xml \ + ../params/default.table.width.xml \ + ../params/default.units.xml \ + ../params/dingbat.font.family.xml \ + ../params/double.sided.xml \ + ../params/footnote.font.size.xml \ + ../params/fop.extensions.xml \ + ../params/formal.object.properties.xml \ + ../params/formal.procedures.xml \ + ../params/formal.title.properties.xml \ + ../params/format.variablelist.as.list.xml \ + ../params/funcsynopsis.decoration.xml \ + ../params/funcsynopsis.style.xml \ + ../params/function.parens.xml \ + ../params/generate.book.equation.lot.xml \ + ../params/generate.book.example.lot.xml \ + ../params/generate.book.figure.lot.xml \ + ../params/generate.book.table.lot.xml \ + ../params/generate.book.toc.xml \ + ../params/generate.component.toc.xml \ + ../params/generate.division.equation.lot.xml \ + ../params/generate.division.example.lot.xml \ + ../params/generate.division.figure.lot.xml \ + ../params/generate.division.table.lot.xml \ + ../params/generate.division.toc.xml \ + ../params/generate.index.xml \ + ../params/generate.set.toc.xml \ + ../params/glossterm.auto.link.xml \ + ../params/graphic.default.extension.xml \ + ../params/hyphenate.xml \ + ../params/insert.xref.page.number.xml \ + ../params/label.from.part.xml \ + ../params/line-height.xml \ + ../params/linenumbering.everyNth.xml \ + ../params/linenumbering.extension.xml \ + ../params/linenumbering.separator.xml \ + ../params/linenumbering.width.xml \ + ../params/list.block.spacing.xml \ + ../params/list.item.spacing.xml \ + ../params/make.single.year.ranges.xml \ + ../params/make.year.ranges.xml \ + ../params/monospace.font.family.xml \ + ../params/monospace.verbatim.properties.xml \ + ../params/nominal.table.width.xml \ + ../params/normal.para.spacing.xml \ + ../params/page.height.xml \ + ../params/page.height.portrait.xml \ + ../params/page.margin.bottom.xml \ + ../params/page.margin.inner.xml \ + ../params/page.margin.outer.xml \ + ../params/page.margin.top.xml \ + ../params/page.orientation.xml \ + ../params/page.width.xml \ + ../params/page.width.portrait.xml \ + ../params/paper.type.xml \ + ../params/part.autolabel.xml \ + ../params/passivetex.extensions.xml \ + ../params/preface.autolabel.xml \ + ../params/process.empty.source.toc.xml \ + ../params/process.source.toc.xml \ + ../params/punct.honorific.xml \ + ../params/qanda.inherit.numeration.xml \ + ../params/qandadiv.autolabel.xml \ + ../params/refentry.generate.name.xml \ + ../params/refentry.xref.manvolnum.xml \ + ../params/region.after.extent.xml \ + ../params/region.before.extent.xml \ + ../params/rootid.xml \ + ../params/runinhead.default.title.end.punct.xml \ + ../params/runinhead.title.end.punct.xml \ + ../params/sans.font.family.xml \ + ../params/section.autolabel.xml \ + ../params/section.label.includes.component.label.xml \ + ../params/segmentedlist.as.table.xml \ + ../params/show.comments.xml \ + ../params/stylesheet.result.type.xml \ + ../params/table.border.color.xml \ + ../params/table.border.padding.xml \ + ../params/table.border.style.xml \ + ../params/table.border.thickness.xml \ + ../params/table.entry.padding.xml \ + ../params/tablecolumns.extension.xml \ + ../params/textinsert.extension.xml \ + ../params/title.font.family.xml \ + ../params/title.margin.left.xml \ + ../params/toc.indent.width.xml \ + ../params/toc.margin.properties.xml \ + ../params/toc.section.depth.xml \ + ../params/use.extensions.xml \ + ../params/verbatim.properties.xml \ + ../params/xep.extensions.xml \ + ../params/xref.properties.xml diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 380a585a1..c95d04d57 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -1,11 +1,13 @@ + + @@ -38,6 +40,7 @@ + @@ -50,12 +53,13 @@ + + - - + @@ -83,6 +87,7 @@ + @@ -95,22 +100,22 @@ + + + + + + + + + - - - - - - - - - diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 9cefe2d81..02d6de043 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -60,22 +60,15 @@ works. to be incomplete. Don't forget to read the source, too :-) -The Parameters +Admonitions &admon.graphics; &admon.graphics.extension; &admon.graphics.path; &admonition.title.properties; -&alignment; -&appendix.autolabel; -&arbortext.extensions; -&author.othername.in.middle; -&biblioentry.item.separator; -&bibliography.collection; -&body.font.family; -&body.font.master; -&body.font.size; -&body.margin.bottom; -&body.margin.top; +&admonition.properties; + + +Callouts &callout.defaultcolumn; &callout.graphics; &callout.graphics.extension; @@ -86,26 +79,18 @@ to be incomplete. Don't forget to read the source, too :-) &callout.unicode.number.limit; &callout.unicode.start.character; &callouts.extension; -&chapter.autolabel; -&column.count; -&component.title.properties; -&default.table.width; -&default.units; -&dingbat.font.family; -&double.sided; -&footnote.font.size; -&fop.extensions; -&formal.object.properties; -&formal.procedures; -&formal.title.properties; -&format.variablelist.as.list; -&funcsynopsis.decoration; -&funcsynopsis.style; + + +ToC/LoT/Index Generation +&autotoc.label.separator; +&process.empty.source.toc; +&process.source.toc; &generate.book.equation.lot; &generate.book.example.lot; &generate.book.figure.lot; &generate.book.table.lot; &generate.book.toc; +&generate.set.toc; &generate.component.toc; &generate.division.equation.lot; &generate.division.example.lot; @@ -113,24 +98,96 @@ to be incomplete. Don't forget to read the source, too :-) &generate.division.table.lot; &generate.division.toc; &generate.index; -&graphic.default.extension; -&html.stylesheet; -&html.stylesheet.type; -&hyphenate; -&insert.xref.page.number; -&label.from.part; +&toc.section.depth; +&toc.indent.width; +&toc.margin.properties; + + +Processor Extensions +&arbortext.extensions; +&fop.extensions; +&passivetex.extensions; +&xep.extensions; + + +Stylesheet Extensions &linenumbering.everyNth; &linenumbering.extension; &linenumbering.separator; &linenumbering.width; -&list.block.spacing; -&list.item.spacing; +&tablecolumns.extension; +&textinsert.extension; +&use.extensions; + + +Automatic labelling +&appendix.autolabel; +&chapter.autolabel; +&part.autolabel; +&preface.autolabel; +§ion.autolabel; +§ion.label.includes.component.label; +&label.from.part; + + +XSLT Processing +&rootid; + + +Meta/*Info &make.single.year.ranges; &make.year.ranges; -&monospace.font.family; -&monospace.verbatim.properties; +&author.othername.in.middle; + + +Reference Pages +&funcsynopsis.decoration; +&funcsynopsis.style; +&function.parens; +&refentry.generate.name; +&refentry.xref.manvolnum; + + +Tables +&default.table.width; &nominal.table.width; -&normal.para.spacing; +&table.border.thickness; +&table.border.padding; +&table.border.style; +&table.border.color; +&table.entry.padding; + + +QAndASet +&qandadiv.autolabel; +&qanda.inherit.numeration; + + +Linking +&glossterm.auto.link; + + +Bibliography +&biblioentry.item.separator; +&bibliography.collection; + + +Miscellaneous +&graphic.default.extension; +&formal.procedures; +&runinhead.default.title.end.punct; +&runinhead.title.end.punct; +&show.comments; +&punct.honorific; +&segmentedlist.as.table; +&format.variablelist.as.list; + + +FO +&stylesheet.result.type; + + +Pagination and General Styles &page.height; &page.height.portrait; &page.margin.bottom; @@ -141,43 +198,54 @@ to be incomplete. Don't forget to read the source, too :-) &page.width; &page.width.portrait; &paper.type; -&part.autolabel; -&passivetex.extensions; -&preface.autolabel; -&process.empty.source.toc; -&process.source.toc; -&qanda.inherit.numeration; -&qandadiv.autolabel; -&refentry.generate.name; -&refentry.xref.manvolnum; +&double.sided; +&body.margin.bottom; +&body.margin.top; +&alignment; +&hyphenate; +&line-height; +&column.count; ®ion.after.extent; ®ion.before.extent; -&rootid; -&runinhead.default.title.end.punct; -&runinhead.title.end.punct; +&default.units; +&normal.para.spacing; +&body.font.master; +&body.font.size; +&footnote.font.size; +&title.margin.left; + + +Font Families +&body.font.family; +&dingbat.font.family; +&monospace.font.family; &sans.font.family; -§ion.autolabel; -§ion.label.includes.component.label; -&show.comments; -&stylesheet.result.type; -&tablecolumns.extension; -&textinsert.extension; &title.font.family; -&toc.margin.properties; -&use.extensions; -&verbatim.properties; -&xep.extensions; + + +Lists +&list.block.spacing; +&list.item.spacing; + + +Cross References +&insert.xref.page.number; &xref.properties; -&table.entry.padding; -&table.border.thickness; -&table.border.padding; -&table.border.style; -&table.border.color; -&title.margin.left; -&punct.honorific; -&segmentedlist.as.table; +Property Sets +&component.title.properties; +&formal.object.properties; +&formal.title.properties; +&monospace.verbatim.properties; +&verbatim.properties; + + + + The Stylesheet The param.xsl stylesheet is just a wrapper @@ -200,14 +268,16 @@ around all these parameters. ******************************************************************** --> - + + + @@ -216,12 +286,12 @@ around all these parameters. - + - + @@ -240,6 +310,7 @@ around all these parameters. + @@ -252,12 +323,13 @@ around all these parameters. + + - - + @@ -285,6 +357,7 @@ around all these parameters. + @@ -297,24 +370,26 @@ around all these parameters. + + + + + + + + + - - - - - - - - +