From b09efc85f2d3e6cd0ac8e68e23cf6a8ec955e950 Mon Sep 17 00:00:00 2001 From: Simon Pepping Date: Tue, 9 Nov 2004 20:56:33 +0000 Subject: [PATCH] Renamed book.xml to DnI.xml to prevent confusion with the forrest book.xml naming convention. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198132 13f79535-47bb-0310-9956-ffa450edef68 --- .../content/xdocs/DnI/{book.xml => DnI.xml} | 0 src/documentation/content/xdocs/DnI/Makefile | 20 +++++++++---------- src/documentation/content/xdocs/DnI/README | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) rename src/documentation/content/xdocs/DnI/{book.xml => DnI.xml} (100%) diff --git a/src/documentation/content/xdocs/DnI/book.xml b/src/documentation/content/xdocs/DnI/DnI.xml similarity index 100% rename from src/documentation/content/xdocs/DnI/book.xml rename to src/documentation/content/xdocs/DnI/DnI.xml diff --git a/src/documentation/content/xdocs/DnI/Makefile b/src/documentation/content/xdocs/DnI/Makefile index 98014017f..7b3dbd5b4 100644 --- a/src/documentation/content/xdocs/DnI/Makefile +++ b/src/documentation/content/xdocs/DnI/Makefile @@ -14,7 +14,7 @@ # $Id$ -BOOK=book.xml +BOOK=DnI.xml CHAPTERS=addareas.xml areatree.xml configuration.xml fonts.xml \ foptrees.xml fotree.xml getnextbreakposs.xml overview.xml \ preparation.xml properties.xml rendering.xml @@ -27,7 +27,7 @@ STYLESHEETS=$(CUSTOM_DOCBOOK_XHTML_STYLESHEET) \ BOOKMAKER=BookMaker.java # destinations -BUILD_DIR=../../../../../build/ +BUILD_DIR=../../../../../build BOOKMAKERCLASSPATH=$(BUILD_DIR)/classes BOOKMAKER_CLASS=$(BOOKMAKERCLASSPATH)/BookMaker.class DNI_BUILD_DIR=$(BUILD_DIR)/site/DnI @@ -45,30 +45,30 @@ CLICLASSPATH=$(JAVACLASSES)/commons-cli-1.0.jar all: xhtml html pdf -xhtml: $(XHTML_DIR)/book-xhtml.xml -html: $(HTML_DIR)/book.html -fo: $(PDF_DIR)/book.fo -pdf: $(PDF_DIR)/book.pdf +xhtml: $(XHTML_DIR)/DnI-xhtml.xml +html: $(HTML_DIR)/DnI.html +fo: $(PDF_DIR)/DnI.fo +pdf: $(PDF_DIR)/DnI.pdf -$(XHTML_DIR)/book-xhtml.xml: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_XHTML_STYLESHEET) $(BOOKMAKER_CLASS) +$(XHTML_DIR)/DnI-xhtml.xml: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_XHTML_STYLESHEET) $(BOOKMAKER_CLASS) [ -d $(XHTML_DIR) ] || mkdir -p $(XHTML_DIR) java $(JAVAFLAGS) \ -classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \ BookMaker $(PROGOPTS) --parameter base.dir $(XHTML_DIR)/ -xml $< -xsl $(CUSTOM_DOCBOOK_XHTML_STYLESHEET) -out $@ -$(HTML_DIR)/book.html: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_HTML_STYLESHEET) $(BOOKMAKER_CLASS) +$(HTML_DIR)/DnI.html: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_HTML_STYLESHEET) $(BOOKMAKER_CLASS) [ -d $(HTML_DIR) ] || mkdir -p $(HTML_DIR) java $(JAVAFLAGS) \ -classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \ BookMaker $(PROGOPTS) --parameter base.dir $(HTML_DIR)/ -xml $< -xsl $(CUSTOM_DOCBOOK_HTML_STYLESHEET) -out $@ -$(PDF_DIR)/book.fo: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS) +$(PDF_DIR)/DnI.fo: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS) [ -d $(PDF_DIR) ] || mkdir -p $(PDF_DIR) java $(JAVAFLAGS) \ -classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \ BookMaker $(PROGOPTS) -xml $< -xsl $(CUSTOM_DOCBOOK_FO_STYLESHEET) -out $@ -$(PDF_DIR)/book.pdf: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS) +$(PDF_DIR)/DnI.pdf: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS) [ -d $(PDF_DIR) ] || mkdir -p $(PDF_DIR) java $(JAVAFLAGS) \ -classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(FOPCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \ diff --git a/src/documentation/content/xdocs/DnI/README b/src/documentation/content/xdocs/DnI/README index 9138da809..16e4f1d0a 100644 --- a/src/documentation/content/xdocs/DnI/README +++ b/src/documentation/content/xdocs/DnI/README @@ -6,7 +6,7 @@ implementation'. The book is structured according to the Docbook XML DTD version 4.2, top-level element book. -The top level file is book.xml. It calls in the various chapter files. +The top level file is DnI.xml. It calls in the various chapter files. The book can be converted to XHTML, HTML and FO using the Docbook XSL stylesheets. For each of these formats there are customization XSL @@ -59,17 +59,17 @@ java, possibly none. java $JAVAFLAGS -cp "$SAXONCLASSPATH:$CLASSPATH" \ com.icl.saxon.StyleSheet \ -o ../documentation-xhtml/book-xhtml.xml \ - book.xml cust-xhtml-docbook.xsl + DnI.xml cust-xhtml-docbook.xsl java $JAVAFLAGS -cp "$SAXONCLASSPATH:$CLASSPATH" \ com.icl.saxon.StyleSheet \ -o ../documentation-html/book.html \ - book.xml cust-html-docbook.xsl + DnI.xml cust-html-docbook.xsl java $JAVAFLAGS \ -cp $SAXONCLASSPATH:$FOPCLASSPATH:$AVALONCLASSPATH:$CLASSPATH \ org.apache.fop.apps.Fop \ - -xml book.xml -xsl cust-html-docbook.xsl -pdf book.pdf + -xml DnI.xml -xsl cust-html-docbook.xsl -pdf book.pdf I will try to construct an ant build file and an XML catalog which make conversion with your own XML and Java system easier. -- 2.39.5