You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2006/11/18 13:55:12 UTC

svn commit: r476514 [1/3] - in /incubator/uima/uimaj/trunk/uima-docbooks: ./ src/docbook/uima/

Author: schor
Date: Sat Nov 18 04:55:11 2006
New Revision: 476514

URL: http://svn.apache.org/viewvc?view=rev&rev=476514
Log:
uima-3 and uima-5 docbook: PDF fixes: Add Palatino font,
fix formatting of example code, shrink title in footer to
avoid strange misfittings.  Still have FOP issue with footnote
loosing previous area.

Added:
    incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml
    incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/uima/fontconfig.xml
Removed:
    incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/uima/dfaqs.xml
Modified:
    incubator/uima/uimaj/trunk/uima-docbooks/build-docbook.xml
    incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/uima/conceptual_overview.xml
    incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/uima/overview_and_setup.xml

Modified: incubator/uima/uimaj/trunk/uima-docbooks/build-docbook.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/build-docbook.xml?view=diff&rev=476514&r1=476513&r2=476514
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/build-docbook.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/build-docbook.xml Sat Nov 18 04:55:11 2006
@@ -27,6 +27,7 @@
   <!-- ==                                                                    == -->
   <!-- ======================================================================== -->
   <path id="docbook.classpath">
+  	<pathelement location="${basedir}/lib/xercesImpl.jar"/>
     <fileset dir="${basedir}/lib">
       <include name="*.jar"/>
     </fileset>
@@ -84,6 +85,9 @@
     <sequential>
       <java classname="com.icl.saxon.StyleSheet" fork="true"
             dir="${basedir}" classpathref="docbook.classpath">
+      	<jvmarg value="-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
+      	<jvmarg value="-Djavax.impl.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
+      	<jvmarg value="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration"/>
         <arg line="-x org.apache.xml.resolver.tools.ResolvingXMLReader"/>
         <arg line="-y org.apache.xml.resolver.tools.ResolvingXMLReader"/>
         <arg line="-r org.apache.xml.resolver.tools.CatalogResolver"/>
@@ -214,6 +218,8 @@
 
     <java classname="org.apache.fop.apps.Fop" fork="true" maxmemory="256m"
           dir="${basedir}" classpathref="docbook.classpath">
+    	<arg value="-c"/>
+    	<arg value="${docbook.src.dir}/${docbook.dir}/fontconfig.xml"/>
       <arg value="${pdf.target.file}.xml"/>
       <arg value="${target.dir}/${docbook.dir}/pdf/${docbook.file}.pdf"/>
     </java>

Added: incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml?view=auto&rev=476514
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml (added)
+++ incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml Sat Nov 18 04:55:11 2006
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Copyright 2006 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.
+-->
+
+<project name="overview-and-setup-docbook" default="all" basedir=".">
+
+  <!-- ======================================================================== -->
+  <!-- ==                                                                    == -->
+  <!-- == Build all the Velocity Docbook Documentation                       == -->
+  <!-- ==                                                                    == -->
+  <!-- ======================================================================== -->
+  <target name="all" description="--> Build the book">
+
+    <!-- Build the Users Guide -->
+    <ant antfile="build-docbook.xml" target="all">
+      <property name="docbook.dir" value="uima"/>
+      <property name="docbook.file" value="overview_and_setup"/>
+    </ant>
+  </target>
+
+  <!-- ======================================================================== -->
+  <!-- ==                                                                    == -->
+  <!-- == Clean up the target directory                                      == -->
+  <!-- ==                                                                    == -->
+  <!-- ======================================================================== -->
+  <target name="clean"
+          description="--> Delete temporary and distribution directories for docs">
+    <ant antfile="build-docbook.xml" target="clean"/>
+  </target>
+</project>