Changeset 3236
- Timestamp:
- Apr 11, 2007, 11:31:55 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 70 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r3232 r3236 50 50 Documentation: 51 51 doc: Build documentation for local use 52 docbook: Build html from docbook (to be included in 'ant doc')52 docbook: Build html and pdf from docbook (to be included in 'ant doc') 53 53 helptext: Generate help text import file from the docbook documentation 54 54 … … 1035 1035 <property name="base.version" value="${base.version}"/> 1036 1036 </ant> 1037 1038 <!-- Generate a pdf file from the documentation source --> 1039 <echo>Generate pdf file</echo> 1040 <ant antfile="${lib}/docbook/ant-build-docbook.xml" inheritall="false" target="pdf.fop"> 1041 <property name="ant.docbook.styler.dir" location="${lib}/docbook" /> 1042 <property name="docbook.xml.dir" location="${docbook.src}" /> 1043 <property name="docbook.resources.dir" location="${docbook.src}/figures" /> 1044 <property name="distribution.dir" location="${doc}/docbook" /> 1045 <property name="build.dir" location="${build}/docbook" /> 1046 <property name="base.version" value="${base.version}"/> 1047 </ant> 1037 1048 </target> 1038 1049 -
trunk/lib/docbook/ant-build-docbook.xml
r3207 r3236 27 27 <!-- Start file for Docbook processing. --> 28 28 <property name="index.name" value="${manual.name}" /> 29 30 <!-- Ouput file name for the docbook pdf file--> 31 <property name="pdf.name" value="base"/> 29 32 30 33 <property name="docbook.style" value="plain" /> … … 308 311 <target name="pdf.fop.internal" depends="disable.resources.copy,docbook.consolidate" if="module.fop.present"> 309 312 313 <copy file="${module.fop.basedir}/conf/config.xml" 314 tofile="${build.dir}/config.xml" 315 overwrite="true" 316 > 317 <filterset refid="filterset.fileuris" /> 318 </copy> 319 310 320 <copy file="${docbook.styles}/${docbook.style}/xsl/customized.pdf-fop.xsl" 311 321 tofile="${build.dir}/customized.pdf-fop.xsl.tmp" … … 334 344 <fop format = "application/pdf" 335 345 fofile = "${build.dir}/fop-ready.fo" 336 outfile = "${distribution.dir}/${ manual.name}.pdf"346 outfile = "${distribution.dir}/${pdf.name}_${base.version}.pdf" 337 347 messagelevel = "info" 338 userconfig = "${module.fop.basedir}/conf/config.xml" 348 userconfig = "${build.dir}/config.xml" 349 basedir="${build.dir}" 339 350 /> 340 351 -
trunk/lib/docbook/custom-styles/docbook/plain/xsl/customized.pdf-fop.xsl
r3153 r3236 11 11 <!-- should be 200a, but fop does not support it. --> 12 12 <xsl:param name="ulink.hyphenate">​</xsl:param> 13 13 14 <!-- Base specific templates --> 15 <xsl:param name="paper.type" select="'A4'" /> 16 17 <xsl:template match="helptext"> 18 <xsl:apply-templates /> 19 </xsl:template> 20 14 21 </xsl:stylesheet> 15 22
Note: See TracChangeset
for help on using the changeset viewer.