You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by he...@apache.org on 2007/01/18 21:52:19 UTC
svn commit: r497570 - in /velocity/docs: ./ build.xml project.properties
src/styles/html/titlepage.xml src/styles/pdf/custom.xsl
src/styles/pdf/titlepage.xml
Author: henning
Date: Thu Jan 18 12:52:18 2007
New Revision: 497570
URL: http://svn.apache.org/viewvc?view=rev&rev=497570
Log:
Final touches to the "external docbook" toolkit.
Added:
velocity/docs/project.properties (with props)
velocity/docs/src/styles/html/titlepage.xml
- copied unchanged from r497468, velocity/docbook/trunk/src/styles/html/titlepage.xml
velocity/docs/src/styles/pdf/titlepage.xml
- copied unchanged from r497468, velocity/docbook/trunk/src/styles/pdf/titlepage.xml
Modified:
velocity/docs/ (props changed)
velocity/docs/build.xml
velocity/docs/src/styles/pdf/custom.xsl
Propchange: velocity/docs/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Jan 18 12:52:18 2007
@@ -0,0 +1 @@
+target
Modified: velocity/docs/build.xml
URL: http://svn.apache.org/viewvc/velocity/docs/build.xml?view=diff&rev=497570&r1=497569&r2=497570
==============================================================================
--- velocity/docs/build.xml (original)
+++ velocity/docs/build.xml Thu Jan 18 12:52:18 2007
@@ -18,6 +18,9 @@
<project name="velocity-docbook" default="all" basedir=".">
+ <!-- Load our properties -->
+ <property file="project.properties"/>
+
<!-- ======================================================================== -->
<!-- == == -->
<!-- == Build all the Velocity Docbook Documentation == -->
@@ -26,7 +29,7 @@
<target name="all" description="--> Build all documentation">
<!-- Build the Users Guide -->
- <ant antfile="build-docbook.xml" target="all">
+ <ant antfile="${dbf.basedir}/build-docbook.xml" target="all">
<property name="docbook.dir" value="userguide"/>
<property name="docbook.file" value="VelocityUsersGuide"/>
</ant>
@@ -39,6 +42,6 @@
<!-- ======================================================================== -->
<target name="clean"
description="--> Delete temporary and distribution directories for docs">
- <ant antfile="build-docbook.xml" target="clean"/>
+ <ant antfile="${dbf.basedir}/build-docbook.xml" target="clean"/>
</target>
</project>
Added: velocity/docs/project.properties
URL: http://svn.apache.org/viewvc/velocity/docs/project.properties?view=auto&rev=497570
==============================================================================
--- velocity/docs/project.properties (added)
+++ velocity/docs/project.properties Thu Jan 18 12:52:18 2007
@@ -0,0 +1,20 @@
+# 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.
+
+# Basedir for the docbook framework
+dbf.basedir = ${basedir}/docbook
+
+# The size of the PDF pages.
+paper.type= Letter
+
Propchange: velocity/docs/project.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: velocity/docs/project.properties
------------------------------------------------------------------------------
svn:keywords = Id Author Date Revision
Modified: velocity/docs/src/styles/pdf/custom.xsl
URL: http://svn.apache.org/viewvc/velocity/docs/src/styles/pdf/custom.xsl?view=diff&rev=497570&r1=497569&r2=497570
==============================================================================
--- velocity/docs/src/styles/pdf/custom.xsl (original)
+++ velocity/docs/src/styles/pdf/custom.xsl Thu Jan 18 12:52:18 2007
@@ -20,6 +20,12 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version='1.0'>
+ <!-- Use nice graphics for admonitions -->
+ <xsl:param name="admon.graphics">'1'</xsl:param>
+ <xsl:param name="admon.graphics.path">@file.prefix@@dbf.xsl@/images/</xsl:param>
+ <xsl:param name="draft.watermark.image" select="'@file.prefix@@dbf.xsl@/images/draft.png'"/>
+ <xsl:param name="paper.type" select="'@paper.type@'"/>
+
<xsl:param name="page.margin.top" select="'1cm'"/>
<xsl:param name="region.before.extent" select="'1cm'"/>
<xsl:param name="body.margin.top" select="'1.5cm'"/>