Differences between revisions 3 and 4
Revision 3 as of 2006-05-23 13:46:03
Size: 1084
Editor: linproxy
Comment:
Revision 4 as of 2006-05-29 12:49:27
Size: 1442
Editor: lalinekw2
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
     * $PCSS_OUT pointing to your development out directory      * $PCSS_OUT pointing to your development out directory (in this example $HOME/out)
Line 15: Line 15:
 * check the result in your web browser pointing to $HOME/out/pcss/doc/help/um/html/um.html
 * let me know if it worked, then I'll adopt the other scripts and write a nicer procedure!

Now you get a um.fo which will
be converted (with the help of FOP http://xmlgraphics.apache.org/fop/download.html#binary) to PDF

{{{
  java -Xmx3g herschel.ia.document.tools.Fo \
     -fo ${LOCATION_PDF}/${DOC_NAME}.fo ${LOCATION_PDF}/${DOC_NAME}.pdf
}}}
 * In the moment you might get an error : xception in thread "main" java.lang.OutOfMemoryError: Java heap space
 * If you get no error
      
* check the result in your web browser pointing to $HOME/out/pcss/doc/help/um/html/um.html
 * if you get an error : exception in thread "main" java.lang.OutOfMemoryError: Java heap space
       * you find the $HOME/out/doc/help/um/pdf/um.fo file
which will need to be converted (with the help of FOP http://xmlgraphics.apache.org/fop/download.html#binary) to PDF
       * {{{
           java -Xmx3g herschel.ia.document.tools.Fo \
          -fo ${LOCATION_PDF}/${DOC_NAME}.fo ${LOCATION_PDF}/${DOC_NAME}.pdf
           }}}
       * check the result in your web browser pointing to $HOME/out/pcss/doc/help/um/html/um.html

PACS - PCSS

Generate User Manual from XML as PDF

  • checkout the doc-files from the herschel.pacs
  • make you changes in the *.xml files in doc-files/help/um/xml
  • make sure the following env variables are set:
    • $HCSS_DIR pointing to your hcss distribution
    • $PCSS_OUT pointing to your development out directory (in this example $HOME/out)
  • run the make_um.local from the doc-files directory
    •          help/bin/make_um.local pdf 
  • In the moment you might get an error : xception in thread "main" java.lang.OutOfMemoryError: Java heap space

  • If you get no error
    • check the result in your web browser pointing to $HOME/out/pcss/doc/help/um/html/um.html
  • if you get an error : exception in thread "main" java.lang.OutOfMemoryError: Java heap space

    • you find the $HOME/out/doc/help/um/pdf/um.fo file which will need to be converted (with the help of FOP http://xmlgraphics.apache.org/fop/download.html#binary) to PDF

    •            java -Xmx3g herschel.ia.document.tools.Fo \
                    -fo ${LOCATION_PDF}/${DOC_NAME}.fo ${LOCATION_PDF}/${DOC_NAME}.pdf 
    • check the result in your web browser pointing to $HOME/out/pcss/doc/help/um/html/um.html

Usage of TestExecutionBrowser just to get an overview

In JIDE :

from herschel.access.util import *
t=TestExecutionBrowser()
t.main(["apid=1152"])

Herschel: PACS/Pcss (last edited 2009-07-15 14:32:37 by localhost)