← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 296: Temporary fix for issue with docbkx not being able to generate multiple PDF/RTF in 2.0.12.

 

------------------------------------------------------------
revno: 296
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Mon 2011-04-11 11:49:46 +0200
message:
  Temporary fix for issue with docbkx not being able to generate multiple PDF/RTF in 2.0.12.
modified:
  pom.xml
  src/docbkx/en/dhis2_user_man_mobile_web_based.xml
  src/docbkx/en/resources/images/dhis_mobile/mobile_enter_pin.png
  src/docbkx/en/resources/images/dhis_mobile/mobile_login_screen.png


--
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 'pom.xml'
--- pom.xml	2011-04-11 08:42:01 +0000
+++ pom.xml	2011-04-11 09:49:46 +0000
@@ -168,46 +168,115 @@
             </configuration>
           </execution>
 
+
           <execution>
-            <id>pdf-docs-en</id>
-            <phase>package</phase>
-            <goals>
-              <goal>generate-pdf</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,dhis2_implementation_guide_en.xml</includes>
-              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
-              <postProcess>
-                <copy file="target/docbkx/pdf/dhis2_user_manual_en.pdf" todir="${docbook.target}/en/user" />
-                <copy file="target/docbkx/pdf/dhis2_end_user_manual.pdf" todir="${docbook.target}/en/end-user" />
+            <id>pdf-docs-en-user</id>
+            <phase>package</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <argLine>-Xmx1024m</argLine>
+              <foCustomization>${docbook.source}/en/resources/xsl/fop-cust.xsl</foCustomization>
+              <doubleSided>1</doubleSided>
+              <includes>dhis2_end_user_manual.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
+               <copy file="target/docbkx/pdf/dhis2_end_user_manual.pdf" todir="${docbook.target}/en/user" />
+              </postProcess>
+            </configuration>
+          </execution>
+		  
+		  <execution>
+            <id>pdf-docs-en-implementer</id>
+            <phase>package</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <argLine>-Xmx1024m</argLine>
+              <foCustomization>${docbook.source}/en/resources/xsl/fop-cust.xsl</foCustomization>
+              <doubleSided>1</doubleSided>
+              <includes>dhis2_implementation_guide_en.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
                 <copy file="target/docbkx/pdf/dhis2_implementation_guide_en.pdf" todir="${docbook.target}/en/implementer" />
               </postProcess>
             </configuration>
           </execution>
+		  
+		    <execution>
+            <id>pdf-docs-en-end-user</id>
+            <phase>package</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <argLine>-Xmx1024m</argLine>
+              <foCustomization>${docbook.source}/en/resources/xsl/fop-cust.xsl</foCustomization>
+              <doubleSided>1</doubleSided>
+              <includes>dhis2_end_user_manual.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
+                <copy file="target/docbkx/pdf/dhis2_implementation_guide_en.pdf" todir="${docbook.target}/en/end-user" />
+              </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" />
+          <execution>
+            <id>rtf-docs-en-user</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_end_user_manual.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
+               <copy file="target/docbkx/rtf/dhis2_end_user_manual.rtf" todir="${docbook.target}/en/user" />
+              </postProcess>
+            </configuration>
+          </execution>
+		  
+		  <execution>
+            <id>rtf-docs-en-implementer</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_implementation_guide_en.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
+                <copy file="target/docbkx/rtf/dhis2_implementation_guide_en.rtf" todir="${docbook.target}/en/implementer" />
+              </postProcess>
+            </configuration>
+          </execution>
+		  
+		    <execution>
+            <id>rtf-docs-en-end-user</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_end_user_manual.xml</includes>
+              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
+              <postProcess>
                 <copy file="target/docbkx/rtf/dhis2_end_user_manual.rtf" todir="${docbook.target}/en/end-user" />
-              </postProcess> 
+              </postProcess>
             </configuration>
           </execution>
-        </executions>
-		
+		</executions>
         <dependencies>
           <dependency>
             <groupId>org.docbook</groupId>

=== modified file 'src/docbkx/en/dhis2_user_man_mobile_web_based.xml'
--- src/docbkx/en/dhis2_user_man_mobile_web_based.xml	2011-04-04 07:05:00 +0000
+++ src/docbkx/en/dhis2_user_man_mobile_web_based.xml	2011-04-11 09:49:46 +0000
@@ -160,7 +160,7 @@
         <para><screenshot>
             <mediaobject>
               <imageobject>
-                <imagedata align="center" fileref="resources/images/dhis_mobile/mobile_login_screen.png"/>
+                <imagedata align="center" fileref="resources/images/dhis_mobile/mobile_login_screen.png" width="260px"/>
               </imageobject>
             </mediaobject>
           </screenshot>Once the client has been installed ot the phone, an initialization process must occur by providing a user name, password and server URL. </para>
@@ -186,7 +186,7 @@
             <screenshot>
               <mediaobject>
                 <imageobject>
-                  <imagedata align="center" fileref="resources/images/dhis_mobile/mobile_enter_pin.png"/>
+                  <imagedata align="center" fileref="resources/images/dhis_mobile/mobile_enter_pin.png" width="260px"/>
                 </imageobject>
               </mediaobject>
             </screenshot>
@@ -362,7 +362,7 @@
             <screenshot>
               <mediaobject>
                 <imageobject>
-                  <imagedata fileref="resources/images/dhis_mobile/http_error_mobile_client.png" align="center" width="146px"/>
+                  <imagedata width="146px" align="center" fileref="resources/images/dhis_mobile/http_error_mobile_client.png"/>
                 </imageobject>
               </mediaobject>
             </screenshot>

=== modified file 'src/docbkx/en/resources/images/dhis_mobile/mobile_enter_pin.png'
Binary files src/docbkx/en/resources/images/dhis_mobile/mobile_enter_pin.png	2011-03-15 11:33:39 +0000 and src/docbkx/en/resources/images/dhis_mobile/mobile_enter_pin.png	2011-04-11 09:49:46 +0000 differ
=== modified file 'src/docbkx/en/resources/images/dhis_mobile/mobile_login_screen.png'
Binary files src/docbkx/en/resources/images/dhis_mobile/mobile_login_screen.png	2011-03-15 11:33:39 +0000 and src/docbkx/en/resources/images/dhis_mobile/mobile_login_screen.png	2011-04-11 09:49:46 +0000 differ