← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 295: Bumped docbkx to 2.0.12. Added RTF as a target. Page numbers are not working in the RTF ToC, but ...

 

------------------------------------------------------------
revno: 295
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Mon 2011-04-11 10:42:01 +0200
message:
  Bumped docbkx to 2.0.12. Added RTF as a target. Page numbers are not working in the RTF ToC, but will deal with this later. Otherwise, output of RTF opens fine in Word.
removed:
  src/docbkx/build.properties
modified:
  .bzrignore
  pom.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file '.bzrignore'
--- .bzrignore	2009-09-17 20:51:12 +0000
+++ .bzrignore	2011-04-11 08:42:01 +0000
@@ -1,1 +1,2 @@
 target
+build.properties

=== modified file 'pom.xml'
--- pom.xml	2011-04-08 07:22:28 +0000
+++ pom.xml	2011-04-11 08:42:01 +0000
@@ -41,7 +41,7 @@
       <plugin>
         <groupId>com.agilejava.docbkx</groupId>
         <artifactId>docbkx-maven-plugin</artifactId>
-        <version>2.0.11</version>
+        <version>2.0.12</version>
         <configuration>
           <xincludeSupported>true</xincludeSupported>
         </configuration>
@@ -187,8 +187,27 @@
               </postProcess>
             </configuration>
           </execution>
+        
+		 <execution>
+            <id>rtf-docs-en</id>
+            <phase>package</phase>
+            <goals>
+              <goal>generate-rtf</goal>
+            </goals>
+            <configuration>
+              <argLine>-Xmx1024m</argLine>
+              <foCustomization>${docbook.source}/en/resources/xsl/fop-cust.xsl</foCustomization>
+              <doubleSided>1</doubleSided>
+              <includes>dhis2_user_manual_en.xml,dhis2_end_user_manual.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
+                <copy file="target/docbkx/rtf/dhis2_user_manual_en.rtf" todir="${docbook.target}/en/user" />
+                <copy file="target/docbkx/rtf/dhis2_end_user_manual.rtf" todir="${docbook.target}/en/end-user" />
+              </postProcess> 
+            </configuration>
+          </execution>
         </executions>
-
+		
         <dependencies>
           <dependency>
             <groupId>org.docbook</groupId>

=== removed file 'src/docbkx/build.properties'
--- src/docbkx/build.properties	2011-04-08 13:23:20 +0000
+++ src/docbkx/build.properties	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?><revhistory><revision><revnumber> Revsion 293</revnumber><revremark>Version 2.2-SNAPSHOT 2011-04-08 15:00:31</revremark></revision></revhistory>
\ No newline at end of file