You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by sp...@apache.org on 2004/11/09 21:56:33 UTC
cvs commit: xml-fop/src/documentation/content/xdocs/DnI DnI.xml Makefile README book.xml
spepping 2004/11/09 12:56:33
Modified: src/documentation/content/xdocs/DnI Makefile README
Added: src/documentation/content/xdocs/DnI DnI.xml
Removed: src/documentation/content/xdocs/DnI book.xml
Log:
Renamed book.xml to DnI.xml to prevent confusion with the forrest
book.xml naming convention.
Revision Changes Path
1.2 +11 -11 xml-fop/src/documentation/content/xdocs/DnI/Makefile
Index: Makefile
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/DnI/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile 1 Aug 2004 19:48:51 -0000 1.1
+++ Makefile 9 Nov 2004 20:56:33 -0000 1.2
@@ -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 @@
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 @@
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) \
1.2 +5 -5 xml-fop/src/documentation/content/xdocs/DnI/README
Index: README
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/DnI/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README 1 Aug 2004 19:48:51 -0000 1.1
+++ README 9 Nov 2004 20:56:33 -0000 1.2
@@ -6,7 +6,7 @@
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 $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.
1.1 xml-fop/src/documentation/content/xdocs/DnI/DnI.xml
Index: DnI.xml
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<!-- $Id: DnI.xml,v 1.1 2004/11/09 20:56:33 spepping Exp $ -->
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY ch.overview SYSTEM "overview.xml">
<!ENTITY ch.preparation SYSTEM "preparation.xml">
<!ENTITY ch.fotree SYSTEM "fotree.xml">
<!ENTITY ch.areatree SYSTEM "areatree.xml">
<!ENTITY ch.getnextbreakposs SYSTEM "getnextbreakposs.xml">
<!ENTITY ch.addareas SYSTEM "addareas.xml">
<!ENTITY ch.rendering SYSTEM "rendering.xml">
<!ENTITY ch.foptrees SYSTEM "foptrees.xml">
<!ENTITY ch.properties SYSTEM "properties.xml">
<!ENTITY ch.fonts SYSTEM "fonts.xml">
<!ENTITY ch.configuration SYSTEM "configuration.xml">
]>
<book>
<bookinfo>
<title>FOP's Design and Implementation</title>
<authorgroup>
<author>
<firstname>Simon</firstname>
<surname>Pepping</surname>
<affiliation>
<orgname>FOP team</orgname>
<orgdiv>Apache Software Foundation</orgdiv>
</affiliation>
</author>
</authorgroup>
<copyright>
<year>2004</year>
<holder>The Apache Software Foundation</holder>
</copyright>
<legalnotice>
<para>Licensed under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
<screen>
<ulink url="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</ulink>
</screen>
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.</para>
</legalnotice>
<revhistory>
<revision>
<revnumber>0.x</revnumber>
<date>2003, 2004</date>
<revremark>Various early, partial versions</revremark>
</revision>
<revision>
<revnumber>1.0</revnumber>
<date>01 August 2004</date>
<revremark>Committed to the FOP code repository</revremark>
</revision>
</revhistory>
<abstract>
<simpara>FOP is a Formatting Object Processor of the Apache
project. It aims to provide a standards compliant implementation of
XSL-FO. It understands Unicode, has bidirectional writing
capabilities, and implements a wide range of rendering
formats.</simpara>
<simpara>FOP is a work in progress. Its code is under continuing
development. This documentation describes the state of the code at the
time the documentation was written. At the time you read this
documentation the code may be different. Note also that different
parts of the documentation were written or revised at different
times.</simpara>
</abstract>
</bookinfo>
&ch.overview;
&ch.preparation;
&ch.fotree;
&ch.areatree;
&ch.getnextbreakposs;
&ch.addareas;
&ch.rendering;
&ch.foptrees;
&ch.properties;
&ch.fonts;
&ch.configuration;
</book>
<!-- Local Variables: -->
<!-- current-language-environment: UTF-8 -->
<!-- coding: utf-8 -->
<!-- default-input-method: TeX -->
<!-- End: -->
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org