cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morr...@apache.org
Subject cvs commit: xml-cocoon2/src/documentation/xdocs/userdocs/serializers pdf-serializer.xml
Date Wed, 06 Mar 2002 15:34:17 GMT
morrijr     02/03/06 07:34:17

  Modified:    src/documentation/xdocs/userdocs/serializers
                        pdf-serializer.xml
  Log:
  Update Jars
  
  Revision  Changes    Path
  1.3       +12 -9     xml-cocoon2/src/documentation/xdocs/userdocs/serializers/pdf-serializer.xml
  
  Index: pdf-serializer.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/serializers/pdf-serializer.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pdf-serializer.xml	5 Feb 2002 01:46:45 -0000	1.2
  +++ pdf-serializer.xml	6 Mar 2002 15:34:17 -0000	1.3
  @@ -49,17 +49,20 @@
               <p>The instruction to generate a font metric file is:</p>
               <p>Windows:</p>
               <source>
  -java -cp fop.jar;xerces.jar;xalan.jar;batik.jar \
  +java -cp fop-0.20.3rc.jar;xercesImpl-2.0.0.jar;xml-apis.jar \
     org.apache.fop.fonts.apps.TTFReader \
     %PATH_TO_FONT% %PATH_TO_METRICS_DIR%\%FONT_NAME%.xml
               </source>
               <p>Unix:</p>
               <source>
  -java -cp fop.jar:xerces.jar:xalan.jar:batik.jar \
  +java -cp fop-0.20.3rc.jar;xercesImpl-2.0.0.jar;xml-apis.jar \
     org.apache.fop.fonts.apps.TTFReader \
     $PATH_TO_FONT  $PATH_TO_METRICS_DIR/$FONT_NAME.xml
               </source>
  -
  +            <note>These jars are not all in the same directory.  Either provide
  +              path information (fop is in optional, the other two in core) or
  +              copy them into the same directory.</note>
  +            
               <p>For the sake of this tutorial, I'm going to be using windows,
                 converting the Arial family of fonts and storing the metrics files in
                 the location <code>D:\fop-fonts</code>.</p>
  @@ -74,22 +77,22 @@
               <s3 title="Generating the Arial metrics">
                 <p>Start a command session (as appropriate to your env) then change
                   to Cocoon libs directory.</p>
  -              <source>$ cd cocoon\lib</source>
  +              <source>$ cd <![CDATA[<cocoon>\]]>lib</source>
                 <p>create the metrics directory (D:\fop-fonts)</p>
                 <source>$ mkdir d:\fop-fonts</source>
                 <p>create the metrics for arial.ttf, arialb.ttf, arialbi.ttf,
                   ariali.ttf</p>
   <source>
  -$ java -cp fop.jar;xerces.jar;xalan.jar;batik.jar \
  +$ java -cp optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
     org.apache.fop.fonts.apps.TTFReader \
     C:\WINNT\Fonts\arial.ttf D:\fop-fonts\arial.ttf.xml
  -$ java -cp fop.jar;xerces.jar;xalan.jar;batik.jar \
  +$ java -cp optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
     org.apache.fop.fonts.apps.TTFReader \
     C:\WINNT\Fonts\arialb.ttf  D:\fop-fonts\arialb.ttf.xml
  -$ java -cp fop.jar;xerces.jar;xalan.jar;batik.jar \
  +$ java -cp optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
     org.apache.fop.fonts.apps.TTFReader \
     C:\WINNT\Fonts\arialbi.ttf D:\fop-fonts\arialbi.ttf.xml
  -$ java -cp fop.jar;xerces.jar;xalan.jar;batik.jar \
  +$ java -cp optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
     org.apache.fop.fonts.apps.TTFReader \
     C:\WINNT\Fonts\ariali.ttf  D:\fop-fonts\ariali.ttf.xml
   </source>
  @@ -160,7 +163,7 @@
   ]]></source>
             </s2>
             <p>And that's it.  Oh, one final thing to remember: the cache isn't aware
  -            of your config file.  <strong>Always</strong> delete your cache-dir
  +            of your config file; <strong>always</strong> delete your cache-dir
               after modifying your config file.</p>
           </s1>
       </body>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message