From 09fef7d0d61ca4efc56023954ca86eac11d172cb Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 17 Jun 2005 11:16:17 +0000 Subject: [PATCH] Switch to "real" params build (i.e., same as docbook-xsl params). --- website/xsl/Makefile | 32 ++++ website/xsl/param.xsl | 381 ----------------------------------------- website/xsl/param.xweb | 64 +++---- 3 files changed, 64 insertions(+), 413 deletions(-) create mode 100644 website/xsl/Makefile delete mode 100644 website/xsl/param.xsl diff --git a/website/xsl/Makefile b/website/xsl/Makefile new file mode 100644 index 000000000..f05b5f66d --- /dev/null +++ b/website/xsl/Makefile @@ -0,0 +1,32 @@ +include ../../cvstools/Makefile.incl + +PARAMPROF=.param.profiled +PARAMSTRIP=.param.stripped + +all: param.xsl + +%.xsl: %.xml + $(XSLT) $< $(TTLTEMPLATEXSL) $@ + +xml: param.xml + +html: param.html + +param.html: param.xml + $(XSLT) $< ../../xsl/docsrc/lrefentry.xsl $@ + +param.xml: param.xweb + $(XSLT) $< ../../xsl/profiling/profile.xsl $(PARAMPROF) profile.condition=html + $(XSLT) $(PARAMPROF) ../../xsl/profiling/strip-attributes.xsl $(PARAMSTRIP) attributes=condition + $(XSLT) $(PARAMSTRIP) ../../litprog/w2docbook.xsl $@ + $(RM) $(PARAMPROF) $(PARAMSTRIP) + +param.xsl: param.xweb + $(XSLT) $< ../../xsl/profiling/profile.xsl $(PARAMPROF) profile.condition=html + $(XSLT) $(PARAMPROF) ../../xsl/profiling/strip-attributes.xsl $(PARAMSTRIP) attributes=condition + $(XSLT) $(PARAMSTRIP) ../../litprog/xtangle.xsl $@ + $(RM) $(PARAMPROF) $(PARAMSTRIP) + +clean: + rm -f param.xsl param.xml param.html + diff --git a/website/xsl/param.xsl b/website/xsl/param.xsl deleted file mode 100644 index 179366c70..000000000 --- a/website/xsl/param.xsl +++ /dev/null @@ -1,381 +0,0 @@ - - - - - - - - - -Toggle <HR> after header - -If non-zero, an <HR> is generated at the top of each web page, -after the heaader. - - - - - - - -Toggle <HR> before footer - -If non-zero, an <HR> is generated at the bottom of each web page, -before the footer. - - - - - - - -HREF for feedback link - -The feedback.href value is used as the value -for the href attribute on the feedback -link. If feedback.href -is empty, no feedback link is generated. - - - - - - - -Toggle use of IDs in feedback - -If feedback.with.ids is non-zero, the ID of the -current page will be added to the feedback link. This can be used, for -example, if the feedback.href is a CGI script. - - - - -Feedback - - -The text of the feedback link - -The contents of this variable is used as the text of the feedback -link if feedback.href is not empty. If -feedback.href is empty, no feedback link is -generated. - - - - - - - -Prefix added to all filenames - -To produce the text-only (that is, non-tabular) layout -of a website simultaneously with the tabular layout, the filenames have to -be distinguished. That's accomplished by adding the -filename-prefix to the front of each filename. - - - - - - - -Identifies the autolayout.xml file - -When the source pages are spread over several directories, this -parameter can be set (for example, from the command line of a batch-mode -XSLT processor) to indicate the location of the autolayout.xml file. -FIXME: for browser-based use, there needs to be a PI for this... - - - - - - - - -Specifies the root directory of the website - -When using the XSLT processor to manage dependencies and construct -the website, this parameter can be used to indicate the root directory -where the resulting pages are placed. -Only applies when XSLT-based chunking is being used. - - - - - - - -Indicates that no files should be produced - -When using the XSLT processor to manage dependencies and construct -the website, this parameter can be used to suppress the generation of -new and updated files. Effectively, this allows you to see what the -stylesheet would do, without actually making any changes. -Only applies when XSLT-based chunking is being used. - - - - - - - -Indicates that all files should be produced - -When using the XSLT processor to manage dependencies and construct -the website, this parameter can be used to regenerate the whole website, -updating even pages that don't appear to need to be updated. -The dependency extension only looks at the source documents. So -if you change something in the stylesheet, for example, that has a global -effect, you can use this parameter to force the stylesheet to rebuild the -whole website. - -Only applies when XSLT-based chunking is being used. - - - - -Navigation - - -HTML Table summary attribute value for navigation tables - -The value of this parameter is used as the value of the table -summary attribute for the navigation table. -Only applies with the tabular presentation is being used. - - - - -220 - - -Specifies the width of the navigation table TOC - -The width, in pixels, of the navigation column. -Only applies with the tabular presentation is being used. - - - - - - - -Specifies the width of the navigation table body - -The width of the body column. -Only applies with the tabular presentation is being used. - - - - -white - - -The background color of the table body - -The background color of the table body. -Only applies with the tabular presentation is being used. - - - - -#4080FF - - -The background color of the navigation TOC - -The background color of the navigation TOC. -Only applies with the tabular presentation is being used. - - - - - - - -Use graphic for TOC spacer? - -If non-zero, the indentation in the TOC will be accomplished -with the graphic identified by toc.spacer.image. - -Only applies with the tabular presentation is being used. - - - - -    - - -The text for spacing the TOC - -If toc.spacer.graphic is zero, this text string -will be used to indent the TOC. -Only applies with the tabular presentation is being used. - - - - -graphics/blank.gif - - -The image for spacing the TOC - -If toc.spacer.graphic is non-zero, this image -will be used to indent the TOC. -Only applies with the tabular presentation is being used. - - - - - - - -Use graphic for TOC pointer? - -If non-zero, the indentation in the TOC will be accomplished -with the graphic identified by toc.pointer.image. - -Only applies with the tabular presentation is being used. - - - - -    - - -The text for spacing the TOC - -If toc.pointer.graphic is zero, this text string -will be used to indent the TOC. -Only applies with the tabular presentation is being used. - - - - -graphics/blank.gif - - -The image for spacing the TOC - -If toc.pointer.graphic is non-zero, this image -will be used to indent the TOC. -Only applies with the tabular presentation is being used. - - - - - - - -Use graphic for TOC blank? - -If non-zero, the indentation in the TOC will be accomplished -with the graphic identified by toc.blank.image. - -Only applies with the tabular presentation is being used. - - - - -    - - -The text for spacing the TOC - -If toc.blank.graphic is zero, this text string -will be used to indent the TOC. -Only applies with the tabular presentation is being used. - - - - -graphics/blank.gif - - -The image for spacing the TOC - -If toc.blank.graphic is non-zero, this image -will be used to indent the TOC. -Only applies with the tabular presentation is being used. - - - - - - - - - - - - - - - - white - black - #0000FF - #840084 - #0000FF - - - -DEPRECATED - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Invisible pixel for tabular accessibility - -This is the 1x1 pixel, transparent pixel used for -the table trick to increase the accessibility of the tabular -website presentation. - - - - - - - diff --git a/website/xsl/param.xweb b/website/xsl/param.xweb index e8a1c83d6..437e706a4 100644 --- a/website/xsl/param.xweb +++ b/website/xsl/param.xweb @@ -175,7 +175,7 @@ be distinguished. That's accomplished by adding the - + @@ -741,42 +741,42 @@ around all these parameters. $Id$ ******************************************************************** - This file is part of the DocBook Slides Stylesheet distribution. + This file is part of the DocBook XSL Stylesheets distribution. See ../README or http://docbook.sf.net/release/xsl/current/ for copyright and other information. ******************************************************************** --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.40.0