From e9a38394c24cd1f3ebee4ebbb48503efaa4fe51c Mon Sep 17 00:00:00 2001 From: wisberg Date: Thu, 10 Mar 2005 08:41:06 +0000 Subject: [PATCH] adding fop docbook to pdf processing, but currently not in distribution since the results are so poor. Most changes are due to reformatting (patch reformatted and made changes) --- docs/build.xml | 632 +++++++++++++++++++++++++++++-------------------- 1 file changed, 374 insertions(+), 258 deletions(-) diff --git a/docs/build.xml b/docs/build.xml index 43e60e6e0..814a7f6d0 100644 --- a/docs/build.xml +++ b/docs/build.xml @@ -1,6 +1,7 @@ - + - + + @@ -16,11 +17,12 @@ ]> - + - - + + @@ -29,54 +31,82 @@ &build-properties; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -84,285 +114,371 @@ - - + + + basedir="${docs.dist.dir}" + /> - + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - + + - + + - + - + - + - + message="unable to find org.aspectj.lib" + /> + - + - - - + + + - + destdir="${docs.dist.dir}/doc/api" + windowtitle="AspectJ(tm) runtime API" + link="http://java.sun.com/j2se/1.4.2/docs/api" + classpath="${aspectj.modules.dir}/asm/bin;${aspectj.modules.dir}/bridge/bin;${aspectj.modules.dir}/util/bin;${aspectj.modules.dir}/lib/bcel/bcel.jar" + packagenames="org.aspectj.lang,org.aspectj.lang.reflect,org.aspectj.weaver.tools" + /> + - - - - - + + + + + - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + - + - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + - - - + - + - - - + + + + + + + + + + + + + + + + + - + + + + + + + + + + - - - - - + + + + + - + xml-html-copy # copy files to target (defaults to *.gif,*.png" + > - + - + - - - - - - - + fork="yes" + failonerror="yes" + > + + + + + + + + - - ----- misc info for writing and building docbook -- link tag linkend attribute takes an id - - xsl converts as needed during output - - do NOT use ulink; this will be converted to "" - (but see param citerefentry-link: might enable this) - -- to use sensible names for the files produced, - - use an xsl wrapper to add/modify features - - set flag to use the id of the top-level element in the output - file as the filename. - xsl:param name="use.id.as.filename" select="1" - - fyi, other related parameters: html-ext, root-filename - - In this example, the top-level element in the output file - is the refentry, so set ids which become the basename of the file: - refentry id="aspectj-mode" # in aspectj-mode.xml, produces aspecj-mode.html - refentry id="ajdee" # in ajdee.xml, produces ajdee.html - --- fyi -- related parameters: - html-ext, root-filename -- these tags did not work for me: - dbhtml filename="foo.htm" - dbhtml prefix="foo-" - -- resources - - the dtd reference for docbook - http://www.oreilly.com/catalog/docbook/chapter/book/docbook.html - - the stylesheet reference for docbook xsl - http://docbook.sourceforge.net/projects/dsssl/doc/html.html -- todo - - fyi, generate.reference.titlepage appears not to be respected. - tried to add if statement to html/refentry.xsl, but file still gen'd - - - -- 2.39.5