You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by fi...@apache.org on 2010/12/09 15:10:19 UTC

svn commit: r1043970 - in /incubator/etch/trunk/doc: ./ conf/ docs/ docs/C/ libs/ libs/admons/ libs/images/ scripts/

Author: fitzner
Date: Thu Dec  9 14:10:18 2010
New Revision: 1043970

URL: http://svn.apache.org/viewvc?rev=1043970&view=rev
Log:
[ETCH-115] Etch Documentation Template for PDF and Html
- Add template and basic documentation infrastructure

Added:
    incubator/etch/trunk/doc/
    incubator/etch/trunk/doc/Makefile
    incubator/etch/trunk/doc/README.txt
    incubator/etch/trunk/doc/conf/
    incubator/etch/trunk/doc/docs/
    incubator/etch/trunk/doc/docs/C/
    incubator/etch/trunk/doc/docs/C/bibliography.xml
    incubator/etch/trunk/doc/docs/C/binding-c.xml
    incubator/etch/trunk/doc/docs/C/binding-csharp.xml
    incubator/etch/trunk/doc/docs/C/binding-java.xml
    incubator/etch/trunk/doc/docs/C/docbook_capt.xml
    incubator/etch/trunk/doc/docs/C/hello-world-example.xml
    incubator/etch/trunk/doc/docs/C/introduction.xml
    incubator/etch/trunk/doc/docs/C/main.xml
    incubator/etch/trunk/doc/docs/C/nsdl.xml
    incubator/etch/trunk/doc/docs/C/overview.xml
    incubator/etch/trunk/doc/libs/
    incubator/etch/trunk/doc/libs/admons/
    incubator/etch/trunk/doc/libs/etch-book.css
    incubator/etch/trunk/doc/libs/etch-html-chunk-cust.xsl
    incubator/etch/trunk/doc/libs/etch-pdf.xsl
    incubator/etch/trunk/doc/libs/global.ent
    incubator/etch/trunk/doc/libs/images/
    incubator/etch/trunk/doc/libs/xinclude.mod
    incubator/etch/trunk/doc/scripts/
    incubator/etch/trunk/doc/scripts/translate.sh

Added: incubator/etch/trunk/doc/Makefile
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/Makefile?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/Makefile (added)
+++ incubator/etch/trunk/doc/Makefile Thu Dec  9 14:10:18 2010
@@ -0,0 +1,82 @@
+# 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+
+# make
+MAKE=make
+
+# mkdir
+MKDIR=mkdir
+
+# rm
+RM=rm
+
+# cp
+CP=cp
+
+# XSL Processors
+XSLTPROC=/usr/bin/xsltproc
+
+FOP=/usr/bin/fop
+
+# IETF language tags
+# Examples de for german
+LANG=C
+
+# Stylesheets
+ETCH_XSL_HTML_CHUNK=libs/etch-html-chunk-cust.xsl
+ETCH_XSL_PDF=libs/etch-pdf.xsl
+
+# Build folder
+BASE=build
+
+.PHONY:
+
+
+all: html pdf 
+
+
+clean:
+	$(RM) -rf $(BASE)
+
+
+html: html-style
+
+	if [ $(LANG) != "C" ]; then \
+		@echo "documents have to translated"; \
+	fi
+	if find docs/$(LANG) -name "*.xml"; then \
+		$(XSLTPROC) --xinclude -o $(BASE)/html/$(LANG)/index.html $(ETCH_XSL_HTML_CHUNK) docs/$(LANG)/main.xml; \
+	fi
+
+html-style:
+	$(MKDIR) -p $(BASE)/html/css
+	$(MKDIR) -p $(BASE)/html/images
+	$(CP) libs/*.css $(BASE)/html/css
+
+
+pdf:
+
+	if [ $(LANG) != "C" ]; then \
+		@echo "documents have to translated"; \
+	fi
+	if find docs/$(LANG) -name "*.xml"; then \
+		$(XSLTPROC) --xinclude -o $(BASE)/pdf/$(LANG)/main.fo $(ETCH_XSL_PDF) docs/$(LANG)/main.xml; \
+		$(FOP) -v -d -fo $(BASE)/pdf/$(LANG)/main.fo -pdf $(BASE)/pdf/$(LANG)/etch-manual.pdf; \
+	fi
+

Added: incubator/etch/trunk/doc/README.txt
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/README.txt?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/README.txt (added)
+++ incubator/etch/trunk/doc/README.txt Thu Dec  9 14:10:18 2010
@@ -0,0 +1,47 @@
+# 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+
+Currently only Linux is supported to generate the documentation
+based on docbook. For doing it with windows the Makefile has to
+be adjusted.
+
+If you would like to generate the documentation, you need the
+following components.
+- sudo apt-get install docbook
+- sudo apt-get install apdocbook-xsl
+- sudo apt-get install docbook-xsl-doc-pdf
+- sudo apt-get install xsltproc
+- sudo apt-get install fop 
+
+Docbook reference can be installed via
+- sudo apt-get install docbook-defguide
+
+Debian does not support the fop hyphenation feature out of
+the box. If you get some fop hyphenation errors while you
+generate docbook pdf, see the following links for more
+information.
+- http://offo.sourceforge.net/hyphenation/fop-stable/installation.html
+- http://xmlgraphics.apache.org/fop/1.0/hyphenation.html 
+
+Getting further information, see here
+- http://docbook.org/tdg/en/html/docbook.html
+- http://www.sagehill.net/docbookxsl/preface.html#WhatIsDocbook
+- http://docbook.sourceforge.net/release/xsl/current/doc/html/
+- http://docbook.sourceforge.net/release/xsl/current/doc/fo/
+

Added: incubator/etch/trunk/doc/docs/C/bibliography.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/bibliography.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/bibliography.xml (added)
+++ incubator/etch/trunk/doc/docs/C/bibliography.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="bibliography-chap" status="review">
+  <title id="bibliography">Bibliography</title>
+  
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/binding-c.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/binding-c.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/binding-c.xml (added)
+++ incubator/etch/trunk/doc/docs/C/binding-c.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="binding-c-chap" status="review">
+  <title id="binding-c">Binding C</title>
+  
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/binding-csharp.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/binding-csharp.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/binding-csharp.xml (added)
+++ incubator/etch/trunk/doc/docs/C/binding-csharp.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="binding-csharp-chap" status="review">
+  <title id="binding-csharp">Binding C#</title>
+  
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/binding-java.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/binding-java.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/binding-java.xml (added)
+++ incubator/etch/trunk/doc/docs/C/binding-java.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="binding-java-chap" status="review">
+  <title id="binding-java">Binding Java</title>
+  
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/docbook_capt.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/docbook_capt.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/docbook_capt.xml (added)
+++ incubator/etch/trunk/doc/docs/C/docbook_capt.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="introduction-chap" status="review">
+  <title id="introduction">Introduction</title>
+  
+  <sect1 id="about" status="review">
+    <title>About Etch</title>
+    <para>Section about Etch.</para>
+  </sect1>
+
+  <sect1 id="typo-conventions" status="review">
+    <title>Typographical Conventions</title>
+    <para>Section about Typographical Conventions.</para>
+  </sect1>
+
+  <sect1 id="about-examples" status="review">
+    <title>About Code Examples</title>
+    <para>Section about Code Examples.</para>
+  </sect1>
+
+  <sect1 id="contact" status="review">
+    <title>Etch Contacts</title>
+    <para>Section about Etch Contacts.</para>
+  </sect1>
+
+  <sect1 id="support" status="review">
+    <title>Etch Support</title>
+<!--
+    <para>
+    There are example para. For more information see the 
+    <ulink url="http://www.link">Further information</ulink> page.
+    </para>
+-->
+  </sect1>
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/hello-world-example.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/hello-world-example.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/hello-world-example.xml (added)
+++ incubator/etch/trunk/doc/docs/C/hello-world-example.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="hellp-world-example-chap" status="review">
+  <title id="hellp-world-example">Hello World Example</title>
+
+  <sect1 id="hellp-world-nsdl" status="review">
+    <title>Network Service Definition Language</title>
+    <para>Write Network Service Definition Language for Hello World example.</para>
+  </sect1>
+
+  <sect1 id="hellp-world-java" status="review">
+    <title>Binding Java</title>
+    <para>Write example with java.</para>
+  </sect1>
+
+  <sect1 id="hellp-world-csharp" status="review">
+    <title>Binding C#</title>
+    <para>Write example with java.</para>
+  </sect1>
+
+  <sect1 id="hellp-world-c" status="review">
+    <title>Binding C</title>
+    <para>Write example with java.</para>
+  </sect1>
+
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/introduction.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/introduction.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/introduction.xml (added)
+++ incubator/etch/trunk/doc/docs/C/introduction.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="introduction-chap" status="review">
+  <title id="introduction">Introduction</title>
+  
+  <sect1 id="about" status="review">
+    <title>About Etch</title>
+    <para>Section about Etch.</para>
+  </sect1>
+
+  <sect1 id="typo-conventions" status="review">
+    <title>Typographical Conventions</title>
+    <para>Section about Typographical Conventions.</para>
+  </sect1>
+
+  <sect1 id="about-examples" status="review">
+    <title>About Code Examples</title>
+    <para>Section about Code Examples.</para>
+  </sect1>
+
+  <sect1 id="contact" status="review">
+    <title>Etch Contacts</title>
+    <para>Section about Etch Contacts.</para>
+  </sect1>
+
+  <sect1 id="support" status="review">
+    <title>Etch Support</title>
+<!--
+    <para>
+    There are example para. For more information see the 
+    <ulink url="http://www.link">Further information</ulink> page.
+    </para>
+-->
+  </sect1>
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/main.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/main.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/main.xml (added)
+++ incubator/etch/trunk/doc/docs/C/main.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<book lang="&language;">
+<bookinfo>
+  <title>Etch documentation</title>
+    <abstract>
+      <para></para>
+  </abstract>
+</bookinfo>
+<xi:include href="introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="hello-world-example.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="nsdl.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="binding-java.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="binding-csharp.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="binding-c.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="bibliography.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+</book>
+

Added: incubator/etch/trunk/doc/docs/C/nsdl.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/nsdl.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/nsdl.xml (added)
+++ incubator/etch/trunk/doc/docs/C/nsdl.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="nsdl-chap" status="review">
+  <title id="nsdl">Network Service Definition Language</title>
+
+  <para>
+  The Network Service Definition Language is used to specify the message exchange between client / server applications.
+  The language specifies the messages, their parameters, message direction, timeout, authorization, delivery style, custom
+  types, constants, and documentation for the service and each message, parameter, type, and constant. A compiler can then
+  be used to process the NSDL into meta-data and code to support implementing clients and servers in a variety of different
+  programming languages and environments with the help of a small runtime library.
+  </para>  
+  
+  <sect1 id="nsdl-syntax" status="review">
+    <title>Syntax Elements</title>
+    <para>
+    The NSDL uses syntax elements common to other programming languages:
+    </para>
+
+    <note>
+    This is a note!
+    </note>
+
+  </sect1>
+
+</chapter>
+

Added: incubator/etch/trunk/doc/docs/C/overview.xml
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/docs/C/overview.xml?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/docs/C/overview.xml (added)
+++ incubator/etch/trunk/doc/docs/C/overview.xml Thu Dec  9 14:10:18 2010
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
+	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % globalent SYSTEM "../../libs/global.ent">
+%globalent;
+<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
+%xinclude;
+<!ENTITY language "en">
+]>
+<chapter id="overview-chap" status="review">
+  <title id="overview">Overview</title>
+  
+  <sect1 id="architecture" status="review">
+    <title>Architecture</title>
+    <para>Section about Etch Architecture.</para>
+  </sect1>
+
+</chapter>
+

Added: incubator/etch/trunk/doc/libs/etch-book.css
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/libs/etch-book.css?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/libs/etch-book.css (added)
+++ incubator/etch/trunk/doc/libs/etch-book.css Thu Dec  9 14:10:18 2010
@@ -0,0 +1,8 @@
+
+body {
+	margin: 20px;
+	font-size: 90%;
+	font-family:"Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
+	color:#000;
+}
+

Added: incubator/etch/trunk/doc/libs/etch-html-chunk-cust.xsl
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/libs/etch-html-chunk-cust.xsl?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/libs/etch-html-chunk-cust.xsl (added)
+++ incubator/etch/trunk/doc/libs/etch-html-chunk-cust.xsl Thu Dec  9 14:10:18 2010
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <!-- This file is a customization layer for HTML only -->
+  
+  <!-- Imports -->
+  <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl"/>
+
+  <!-- requires DocBook XSL 1.69.1a -->
+  <xsl:param name="generate.revhistory.link" select="1"/>
+  <xsl:param name="toc.max.depth" select="2"/>
+  <xsl:param name="chunker.output.indent" select="'yes'"/>
+  <xsl:param name="body.font.master" select="10"/>
+  <xsl:param name="html.stylesheet" select="'../../css/etch-book.css'"/>
+  <xsl:param name="shade.verbatim" select="0"/>
+  <xsl:param name="draft.mode" select="'yes'"/>
+  <xsl:param name="chunk.first.sections" select="'1'"/>
+
+
+  <xsl:param name="use.id.as.filename" select="1"/>
+
+</xsl:stylesheet>

Added: incubator/etch/trunk/doc/libs/etch-pdf.xsl
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/libs/etch-pdf.xsl?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/libs/etch-pdf.xsl (added)
+++ incubator/etch/trunk/doc/libs/etch-pdf.xsl Thu Dec  9 14:10:18 2010
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+<!-- Import the new xsl -->
+<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl"/>
+
+<!-- ***************************************************  -->
+<!-- ****************  Page Settings  ******************  -->
+<!-- ***************************************************  -->
+
+<!-- Define the page to A4 -->
+<xsl:param name="paper.type">A4</xsl:param>
+
+<!-- Define Margins -->
+<xsl:param name="page.margin.outer">
+  <xsl:choose>
+    <xsl:when test="$double.sided != 0">0.75in</xsl:when>
+    <xsl:otherwise>1in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="page.margin.inner">
+  <xsl:choose>
+    <xsl:when test="$double.sided != 0">1in</xsl:when>
+    <xsl:otherwise>1in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<!-- ***************************************************  -->
+<!-- ****************  Font Settings  ******************  -->
+<!-- ***************************************************  -->
+
+<!-- Use a serif font -->
+<xsl:param name="title.font.family" select="'serif'"/>
+<xsl:param name="body.font.family" select="'serif'"/>
+<xsl:param name="symbol.font.family" select="'Symbol'"/>
+<xsl:param name="dingbat.font.family">
+  <xsl:value-of select="$body.font.family"/>
+</xsl:param>
+<xsl:param name="body.font.master">11</xsl:param>
+<xsl:param name="body.font.size">
+  <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
+</xsl:param>
+
+<xsl:param name="monospace.font.family" select="'monospace'"></xsl:param>
+<xsl:attribute-set name="monospace.properties">
+  <xsl:attribute name="font-size">80%</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:param name="body.start.indent" select="'0pc'"/>
+
+
+<!-- ***************************************************  -->
+<!-- ***************  Admonitions  *********************  -->
+<!-- ***************************************************  -->
+
+<!-- turn on the icon graphics for admonition elements -->
+<!--<xsl:param name="admon.graphics" select="1"></xsl:param>-->
+
+
+<!-- ***************************************************  -->
+<!-- *****************  XSL-FPO Settings  **************  -->
+<!-- ***************************************************  -->
+
+<xsl:param name="fop1.extensions" select="1"/>
+<xsl:param name="fop.extensions" select="'yes'"/>
+<xsl:template match="*" mode="fop.outline"/> 
+
+<!-- hyphenate not nedded at the moment, so disable it -->
+<xsl:param name="hyphenate" select="'false'"/>
+
+
+
+<!-- ***************************************************  -->
+<!-- *************  Development Settings  **************  -->
+<!-- ***************************************************  -->
+
+<!-- select draft mode, either yes or no -->
+<xsl:param name="draft.mode" select="'yes'"/>
+
+</xsl:stylesheet>
+

Added: incubator/etch/trunk/doc/libs/global.ent
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/libs/global.ent?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/libs/global.ent (added)
+++ incubator/etch/trunk/doc/libs/global.ent Thu Dec  9 14:10:18 2010
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- NAMES -->
+<!ENTITY project-name 'Etch Documentation Project'>
+
+<!-- VERSIONS -->
+<!ENTITY version-major '1'>
+<!ENTITY version-minor '1'>
+<!ENTITY version-patch '0'>
+<!ENTITY version-suffix 'incubating-'>
+<!ENTITY version-name 'incubating-1.1.0'>
+
+<!-- RELEASES --> 
+<!ENTITY release-date "October 2010">
+

Added: incubator/etch/trunk/doc/libs/xinclude.mod
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/libs/xinclude.mod?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/libs/xinclude.mod (added)
+++ incubator/etch/trunk/doc/libs/xinclude.mod Thu Dec  9 14:10:18 2010
@@ -0,0 +1,23 @@
+<!ELEMENT xi:include (xi:fallback?) >
+<!ATTLIST xi:include
+    xmlns:xi            CDATA       #FIXED       "http://www.w3.org/2001/XInclude"
+    href                CDATA       #REQUIRED
+    parse               (xml|text)  "xml"
+    xpointer            CDATA       #IMPLIED
+    encoding            CDATA       #IMPLIED
+    accept              CDATA       #IMPLIED
+    accept-charset      CDATA       #IMPLIED
+    accept-language     CDATA       #IMPLIED >
+
+<!ELEMENT xi:fallback ANY >
+<!ATTLIST xi:fallback
+    xmlns:xi            CDATA       #FIXED       "http://www.w3.org/2001/XInclude" >
+
+<!ENTITY % local.preface.class    "| xi:include" >
+<!ENTITY % local.part.class       "| xi:include" >
+<!ENTITY % local.chapter.class    "| xi:include" >
+<!ENTITY % local.divcomponent.mix "| xi:include" >
+<!ENTITY % local.para.char.mix    "| xi:include" >
+<!ENTITY % local.info.class       "| xi:include" >
+<!ENTITY % local.common.attrib    "xmlns:xi            CDATA       #FIXED       'http://www.w3.org/2001/XInclude'" >
+

Added: incubator/etch/trunk/doc/scripts/translate.sh
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/doc/scripts/translate.sh?rev=1043970&view=auto
==============================================================================
--- incubator/etch/trunk/doc/scripts/translate.sh (added)
+++ incubator/etch/trunk/doc/scripts/translate.sh Thu Dec  9 14:10:18 2010
@@ -0,0 +1,27 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+
+#
+# This script uses xml2po - program to create a PO-template
+# file from a DocBook XML file and merge it back into
+# a (translated) XML file
+#
+
+
+