You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by bu...@apache.org on 2012/10/23 17:05:47 UTC

svn commit: r835892 [5/17] - in /websites/staging/xmlgraphics/trunk/content: ./ batik/ batik/dev/ batik/tools/ batik/using/ batik/using/scripting/ commons/ fop/ fop/0.95/ fop/1.0/ fop/1.1/ fop/dev/ fop/dev/design/ fop/trunk/

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/output.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/output.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/output.html Tue Oct 23 15:05:41 2012
@@ -332,8 +332,8 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version><authors><person email="keiron@aftexsw.com" name="Keiron Liddle"></person><person email="" name="Art Welch"></person></authors></p>
 <p>Apache&trade; FOP supports multiple output formats by using a different renderer for each format. The renderers do not all have the same set of capabilities, sometimes because of the output format itself, sometimes because some renderers get more development attention than others.</p>
-<h1 id="general">General Information</h1>
-<h2 id="general-fonts">Fonts</h2>
+<h1 id="general-information-wzxhzdk21wzxhzdk22">General Information  <a id="#general"></a></h1>
+<h2 id="fonts-wzxhzdk23wzxhzdk24">Fonts # <a id="#general-fonts"></a></h2>
 <p>Most FOP renderers use a FOP-specific system for font registration. However, the Java2D/AWT and print renderers use the Java AWT package, which gets its font information from the operating system registration. This can result in several differences, including actually using different fonts, and having different font metrics for the same font. The net effect is that the layout of a given FO document can be quite different between renderers that do not use the same font information.</p>
 <p>Theoretically, there's some potential to make the output of the PDF/PS renderers match the output of the Java2D-based renderers. If FOP used the font metrics from its own font subsystem but still used Java2D for text painting in the Java2D-based renderers, this could probably be achieved. However, this approach hasn't been implemented, yet.</p>
 <p>With a work-around, it is possible to match the PDF/PS output in a Java2D-based renderer pretty closely. The clue is to use the <a href="intermediate.html">intermediate format</a> . The trick is to layout the document using FOP's own font subsystem but then render the document using Java2D. Here are the necessary steps (using the command-line):</p>
@@ -357,7 +357,7 @@ $(document).ready(function () {
 <p><code>fop -atin myfile.at.xml -tiff myfile.tiff</code> </p>
 </li>
 </ol>
-<h2 id="general-direct-output">Output to a Printer or Other Device</h2>
+<h2 id="output-to-a-printer-or-other-device-wzxhzdk25wzxhzdk26">Output to a Printer or Other Device # <a id="#general-direct-output"></a></h2>
 <p>The most obvious way to print your document is to use the FOP <a href="#print">print renderer</a> , which uses the Java2D API (AWT). However, you can also send output from the Postscript renderer directly to a Postscript device, or output from the PCL renderer directly to a PCL device.</p>
 <p>Here are Windows command-line examples for Postscript and PCL:
 fop ... -ps \computername\printerfop ... -pcl \computername\printer
@@ -365,12 +365,12 @@ Here is some Java code to accomplish the
 proc = Runtime.getRuntime().exec("lp -d" + print_queue + " -o -dp -");
 out = proc.getOutputStream();
 Set the output MIME type to "application/x-pcl" (MimeConstants.MIME_PCL) and it happily sends the PCL to the UNIX printer queue.</p>
-<h1 id="pdf">PDF</h1>
+<h1 id="pdf-wzxhzdk27wzxhzdk28">PDF  <a id="#pdf"></a></h1>
 <p>PDF is the best supported output format. It is also the most accurate with text and layout. This creates a PDF document that is streamed out as each page is rendered. This means that the internal page index information is stored near the end of the document. The PDF version supported is 1.4. PDF versions are forwards/backwards compatible.</p>
 <p>Note that FOP does not currently support "tagged PDF" or PDF/A-1a. Support for <a href="pdfa.html">PDF/A-1b</a> and <a href="pdfx.html">PDF/X</a> has recently been added, however.</p>
-<h2 id="pdf-fonts">Fonts</h2>
+<h2 id="fonts-wzxhzdk29wzxhzdk30">Fonts # <a id="#pdf-fonts"></a></h2>
 <p>PDF has a set of fonts that are always available to all PDF viewers; to quote from the PDF Specification: <em>"PDF prescribes a set of 14 standard fonts that can be used without prior definition. These include four faces each of three Latin text typefaces (Courier, Helvetica, and Times), as well as two symbolic fonts (Symbol and ITC Zapf Dingbats). These fonts, or suitable substitute fonts with the same metrics, are guaranteed to be available in all PDF viewer applications."</em> </p>
-<h2 id="pdf-postprocess">Post-processing</h2>
+<h2 id="post-processing-wzxhzdk31wzxhzdk32">Post-processing # <a id="#pdf-postprocess"></a></h2>
 <p>FOP does not currently support several desirable PDF features: watermarks and signatures. One workaround is to use Adobe Acrobat (the full version, not the Reader) to process the file manually or with scripting that it supports.</p>
 <p>Another popular post-processing tool is <a href="http://www.lowagie.com/iText">iText</a> , which has tools for adding security features, document properties, watermarks, and many other features to PDF files.
 <warning>Caveat: iText may swallow PDF bookmarks. But <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37589">Jens Stavnstrup tells us</a> that this doesn't happen if you use iText's PDFStamper.</warning>
@@ -419,7 +419,7 @@ public static void main(String args[]) {
   }
 }
 Check the iText tutorial and documentation for setting access flags, password, encryption strength and other parameters.</p>
-<h2 id="pdf-watermark">Watermarks</h2>
+<h2 id="watermarks-wzxhzdk35wzxhzdk36">Watermarks # <a id="#pdf-watermark"></a></h2>
 <p>In addition to the <a href="#pdf-postprocess">PDF Post-processing</a> options, consider the following workarounds:</p>
 <ul>
 <li>
@@ -429,9 +429,9 @@ Check the iText tutorial and documentati
 <p>(submitted by Trevor Campbell) Place an image in a region that overlaps the flowing text. For example, make region-before large enough to contain your image. Then include a block (if necessary, use an absolutely positioned block-container) containing the watermark image in the static-content for the region-before. Note that the image will be drawn on top of the normal content.</p>
 </li>
 </ul>
-<h1 id="ps">PostScript</h1>
+<h1 id="postscript-wzxhzdk37wzxhzdk38">PostScript  <a id="#ps"></a></h1>
 <p>The PostScript renderer has been brought up to a similar quality as the PDF renderer, but may still be missing certain features. It provides good support for most text and layout. Images and SVG are not fully supported, yet. Currently, the PostScript renderer generates PostScript Level 3 with most DSC comments. Actually, the only Level 3 features used are the FlateDecode and DCTDecode filter (the latter is used for 1:1 embedding of JPEG images), everything else is Level 2.</p>
-<h2 id="ps-configuration">Configuration</h2>
+<h2 id="configuration-wzxhzdk39wzxhzdk40">Configuration # <a id="#ps-configuration"></a></h2>
 <p>The PostScript renderer configuration currently allows the following settings:
 <renderer mime="application/postscript">
   <auto-rotate-landscape>false</auto-rotate-landscape>
@@ -445,7 +445,7 @@ The default value for the "auto-rotate-l
 <p>The default value for the "optimize-resources" setting is "false". Setting it to "true" will produce the PostScript file in two steps. A temporary file will be written first which will then be processed to add only the fonts which were really used and images are added to the stream only once as PostScript forms. This will reduce file size but can potentially increase the memory needed in the interpreter to process.</p>
 <p>The default value for the "safe-set-page-device" setting is "false". Setting it to "true" will cause the renderer to invoke a postscript macro which guards against the possibility of invalid/unsupported postscript key/values being issued to the implementing postscript page device.</p>
 <p>The default value for the "dsc-compliant" setting is "true". Setting it to "false" will break DSC compliance by minimizing the number of setpagedevice calls in the postscript document output. This feature may be useful when unwanted blank pages are experienced in your postscript output. This problem is caused by the particular postscript implementation issuing unwanted postscript subsystem initgraphics/erasepage calls on each setpagedevice call.</p>
-<h2 id="ps-limitations">Limitations</h2>
+<h2 id="limitations-wzxhzdk53wzxhzdk54">Limitations # <a id="#ps-limitations"></a></h2>
 <ul>
 <li>
 <p>Images and SVG may not be displayed correctly. SVG support is far from being complete. No image transparency is available.</p>
@@ -460,10 +460,10 @@ The default value for the "auto-rotate-l
 <p>PPD support is still missing.</p>
 </li>
 </ul>
-<h1 id="pcl">PCL</h1>
+<h1 id="pcl-wzxhzdk55wzxhzdk56">PCL  <a id="#pcl"></a></h1>
 <p>This format is for the Hewlett-Packard PCL printers and other printers supporting PCL. It should produce output as close to identical as possible to the printed output of the PDFRenderer within the limitations of the renderer, and output device.</p>
 <p>The output created by the PCLRenderer is generic PCL 5, HP GL/2 and PJL. This should allow any device fully supporting PCL 5 to be able to print the output generated by the PCLRenderer. PJL is used to control the print job and switch to the PCL language. PCL 5 is used for text, raster graphics and rectangular fill graphics. HP GL/2 is used for more complex painting operations. Certain painting operations are done off-screen and rendered to PCL as bitmaps because of limitations in PCL 5.</p>
-<h2 id="pcl-references">References</h2>
+<h2 id="references-wzxhzdk57wzxhzdk58">References # <a id="#pcl-references"></a></h2>
 <ul>
 <li>
 <p><a href="http://en.wikipedia.org/wiki/Printer_Control_Language">WikiPedia entry on PCL</a> </p>
@@ -472,7 +472,7 @@ The default value for the "auto-rotate-l
 <p><a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpl04568">Technical reference documents on PCL from Hewlett-Packard</a> </p>
 </li>
 </ul>
-<h2 id="pcl-limitations">Limitations</h2>
+<h2 id="limitations-wzxhzdk59wzxhzdk60">Limitations # <a id="#pcl-limitations"></a></h2>
 <ul>
 <li>
 <p>Text or graphics outside the left or top of the printable area are not rendered properly. This is a limitation of PCL, not FOP. In general, things that should print to the left of the printable area are shifted to the right so that they start at the left edge of the printable area.</p>
@@ -499,7 +499,7 @@ The default value for the "auto-rotate-l
 <p>Currently, there's no support for clipping and image transparency, largely because PCL 5 has certain limitations.</p>
 </li>
 </ul>
-<h2 id="pcl-configuration">Configuration</h2>
+<h2 id="configuration-wzxhzdk61wzxhzdk62">Configuration # <a id="#pcl-configuration"></a></h2>
 <p>The PCL renderer configuration currently allows the following settings:
 <renderer mime="application/vnd.hp-PCL">
   <rendering>quality</rendering>
@@ -510,14 +510,14 @@ The default value for the "rendering" se
 <p>The default value for the "text-rendering" setting is "auto" which paints the base fonts using PCL fonts. Non-base fonts are painted as bitmaps through Java2D. If the mix of painting methods results in unwelcome output, you can set this to "bitmap" which causes all text to be rendered as bitmaps.</p>
 <p>The default value for the "disable-pjl" setting is "false". This means that the PCL renderer usually generates PJL commands before and after the document in order to switch a printer into PCL language. PJL commands can be disabled if you set this value to "true".</p>
 <p>You can control the output resolution for the PCL using the "target resolution" setting on the FOUserAgent. The actual value will be rounded up to the next supported PCL resolution. Currently, only 300 and 600 dpi are supported which should be enough for most use cases. Note that this setting directly affects the size of the output file and the print quality.</p>
-<h2 id="pcl-extensions">Extensions</h2>
+<h2 id="extensions-wzxhzdk71wzxhzdk72">Extensions # <a id="#pcl-extensions"></a></h2>
 <p>The PCL Renderer supports some PCL specific extensions which can be embedded into the input FO document. To use the extensions the appropriate namespace must be declared in the fo:root element like this:</p>
 <div class="codehilite"><pre>  <span class="o">&lt;</span><span class="n">fo:root</span> <span class="n">xmlns:fo</span><span class="o">=</span><span class="s">&quot;http://www.w3.org/1999/XSL/Format&quot;</span>
            <span class="n">xmlns:pcl</span><span class="o">=</span><span class="s">&quot;http://xmlgraphics.apache.org/fop/extensions/pcl&quot;</span><span class="o">&gt;</span>
 </pre></div>
 
 
-<h3 id="pcl-page-source">Page Source (Tray selection)</h3>
+<h3 id="page-source-tray-selection-wzxhzdk73wzxhzdk74">Page Source (Tray selection) ## <a id="#pcl-page-source"></a></h3>
 <p>The page-source extension attribute on fo:simple-page-master allows to select the paper tray the sheet for a particular simple-page-master is to be taken from. Example:</p>
 <div class="codehilite"><pre>  <span class="nt">&lt;fo:layout-master-set&gt;</span>
     <span class="nt">&lt;fo:simple-page-master</span> <span class="na">master-name=</span><span class="s">&quot;simple&quot;</span> <span class="na">pcl:paper-source=</span><span class="s">&quot;2&quot;</span><span class="nt">&gt;</span>
@@ -528,10 +528,10 @@ The default value for the "rendering" se
 
 
 <p>Note: the tray number is a positive integer and the value depends on the target printer. Not all PCL printers support the same paper trays. Usually, "1" is the default tray, "2" is the manual paper feed, "3" is the manual envelope feed, "4" is the "lower" tray and "7" is "auto-select". Consult the technical reference for your printer for all available values.</p>
-<h1 id="afp">AFP</h1>
+<h1 id="afp-wzxhzdk75wzxhzdk76">AFP  <a id="#afp"></a></h1>
 <p><warning>The AFP Renderer is a new addition (27-Apr-2006) to the sandbox and as such not yet fully tested or feature complete.</warning>
 The FOP AFP Renderer deals with creating documents conforming to the IBM AFP document architecture also refered to as MO:DCA (Mixed Object Document Content Architecture).</p>
-<h2 id="afp-references">References</h2>
+<h2 id="references-wzxhzdk79wzxhzdk80">References # <a id="#afp-references"></a></h2>
 <ul>
 <li>
 <p><a href="http://en.wikipedia.org/wiki/Advanced_Function_Presentation">AFP (Advanced Function Presentation)</a> </p>
@@ -540,7 +540,7 @@ The FOP AFP Renderer deals with creating
 <p><a href="http://wiki.apache.org/xmlgraphics-fop/AFPResources">AFP Resources on the FOP WIKI</a> </p>
 </li>
 </ul>
-<h2 id="afp-limitations">Limitations</h2>
+<h2 id="limitations-wzxhzdk81wzxhzdk82">Limitations # <a id="#afp-limitations"></a></h2>
 <p>This list is most likely badly incomplete.</p>
 <ul>
 <li>
@@ -550,8 +550,8 @@ The FOP AFP Renderer deals with creating
 <p>Only IBM outline and raster fonts and to a limited extend the original fonts built into FOP are supported. Support for TrueType fonts may be added later.</p>
 </li>
 </ul>
-<h2 id="afp-configuration">Configuration</h2>
-<h3 id="afp-font-config">Fonts</h3>
+<h2 id="configuration-wzxhzdk83wzxhzdk84">Configuration # <a id="#afp-configuration"></a></h2>
+<h3 id="fonts-wzxhzdk85wzxhzdk86">Fonts ## <a id="#afp-font-config"></a></h3>
 <p>The AFP Renderer requires special configuration particularly related to fonts. AFP Render configuration is done through the normal FOP configuration file. The MIME type for the AFP Renderer is application/x-afp which means the AFP Renderer section in the FOP configuration file looks like:
 <renderer mime="application/x-afp">
   <!-- AFP Renderer -->
@@ -675,13 +675,13 @@ An outline font configuration is simpler
 </pre></div>
 
 
-<h3 id="afp-renderer-resolution-config">Output Resolution</h3>
+<h3 id="output-resolution-wzxhzdk146wzxhzdk147">Output Resolution ## <a id="#afp-renderer-resolution-config"></a></h3>
 <p>By default the AFP Renderer creates output with a resolution of 240 dpi. This can be overridden by the <renderer-resolution/> configuration element. Example:</p>
 <div class="codehilite"><pre>  <span class="nt">&lt;renderer-resolution&gt;</span>240<span class="nt">&lt;/renderer-resolution&gt;</span>
 </pre></div>
 
 
-<h3 id="afp-image-config">Images</h3>
+<h3 id="images-wzxhzdk149wzxhzdk150">Images ## <a id="#afp-image-config"></a></h3>
 <p>By default the AFP Renderer converts all images to 8 bit grey level. This can be overridden by the <images> configuration element. Example:</p>
 <div class="codehilite"><pre>  <span class="o">&lt;</span><span class="n">images</span> <span class="n">mode</span><span class="o">=</span><span class="s">&quot;color&quot;</span> <span class="o">/&gt;</span>
 </pre></div>
@@ -693,14 +693,14 @@ An outline font configuration is simpler
 
 
 <p>Only the values "color" and "b+w" are allowed for the mode attribute. The bits-per-pixel attribute is ignored if mode is "color". For "b+w" mode is must be 1, 4, or 8.</p>
-<h2 id="afp-extensions">Extensions</h2>
+<h2 id="extensions-wzxhzdk152wzxhzdk153">Extensions # <a id="#afp-extensions"></a></h2>
 <p>The AFP Renderer supports some AFP specific extensions which can be embedded into the input fo document. To use the extensions the appropriate namespace must be declared in the fo:root element like this:</p>
 <div class="codehilite"><pre>  <span class="o">&lt;</span><span class="n">fo:root</span> <span class="n">xmlns:fo</span><span class="o">=</span><span class="s">&quot;http://www.w3.org/1999/XSL/Format&quot;</span>
            <span class="n">xmlns:afp</span><span class="o">=</span><span class="s">&quot;http://xmlgraphics.apache.org/fop/extensions/afp&quot;</span><span class="o">&gt;</span>
 </pre></div>
 
 
-<h3 id="afp-page-overlay">Page Overlay Extension</h3>
+<h3 id="page-overlay-extension-wzxhzdk154wzxhzdk155">Page Overlay Extension ## <a id="#afp-page-overlay"></a></h3>
 <p>The include-page-overlay extension element allows to define on a per simple-page-master basis a page overlay resource. Example:</p>
 <div class="codehilite"><pre>  <span class="nt">&lt;fo:layout-master-set&gt;</span>
     <span class="nt">&lt;fo:simple-page-master</span> <span class="na">master-name=</span><span class="s">&quot;simple&quot;</span><span class="nt">&gt;</span>
@@ -712,7 +712,7 @@ An outline font configuration is simpler
 
 
 <p>The mandatory name attribute must refer to an 8 character (space padded) resource name that must be known in the AFP processing environment.</p>
-<h3 id="afp-page-segment">Page Segment Extension</h3>
+<h3 id="page-segment-extension-wzxhzdk156wzxhzdk157">Page Segment Extension ## <a id="#afp-page-segment"></a></h3>
 <p>The include-page-segment extension element allows to define resource substitution for fo:external-graphics elements. Example:</p>
 <div class="codehilite"><pre><span class="nt">&lt;fo:root</span> <span class="na">xmlns:fo=</span><span class="s">&quot;http://www.w3.org/1999/XSL/Format&quot;</span>
  <span class="na">xmlns:afp=</span><span class="s">&quot;http://xmlgraphics.apache.org/fop/extensions/afp&quot;</span><span class="nt">&gt;</span>
@@ -726,7 +726,7 @@ An outline font configuration is simpler
 
 
 <p>The include-page-segment extension element can only occur within a simple-page-master. Multiple include-page-segment extension elements within a simple-page-master are allowed. The mandatory name attribute must refer to an 8 character (space padded) resource name that must be known in the AFP processing environment. The value of the mandatory src attribute is compared against the value of the src attribute in fo:external-graphic elements and if it is identical (string matching is used) in the generated AFP the external graphic is replaced by a reference to the given resource.</p>
-<h3 id="afp-tag-logical-element">Tag Logical Element Extension</h3>
+<h3 id="tag-logical-element-extension-wzxhzdk158wzxhzdk159">Tag Logical Element Extension ## <a id="#afp-tag-logical-element"></a></h3>
 <p>The tag-logical-element extension element allows to injects TLEs into the AFP output stream. Example:</p>
 <div class="codehilite"><pre><span class="nt">&lt;fo:root</span> <span class="na">xmlns:fo=</span><span class="s">&quot;http://www.w3.org/1999/XSL/Format&quot;</span>
  <span class="na">xmlns:afp=</span><span class="s">&quot;http://xmlgraphics.apache.org/fop/extensions/afp&quot;</span><span class="nt">&gt;</span>
@@ -740,7 +740,7 @@ An outline font configuration is simpler
 
 
 <p>The tag-logical-element extension element can only occur within a simple-page-master. Multiple tag-logical-element extension elements within a simple-page-master are allowed. The name and value attributes are mandatory.</p>
-<h3 id="afp-no-operation">No Operation Extension</h3>
+<h3 id="no-operation-extension-wzxhzdk160wzxhzdk161">No Operation Extension ## <a id="#afp-no-operation"></a></h3>
 <p>The no-operation extension provides the ability to carry up to 32K of comments or any other type of unarchitected data into the AFP output stream. Example:</p>
 <div class="codehilite"><pre><span class="nt">&lt;fo:root</span> <span class="na">xmlns:fo=</span><span class="s">&quot;http://www.w3.org/1999/XSL/Format&quot;</span>
  <span class="na">xmlns:afp=</span><span class="s">&quot;http://xmlgraphics.apache.org/fop/extensions/afp&quot;</span><span class="nt">&gt;</span>
@@ -753,7 +753,7 @@ An outline font configuration is simpler
 
 
 <p>The no-operation extension element can only occur within a simple-page-master. Multiple no-operation extension elements within a simple-page-master are allowed. The name attribute is mandatory.</p>
-<h1 id="rtf">RTF</h1>
+<h1 id="rtf-wzxhzdk162wzxhzdk163">RTF  <a id="#rtf"></a></h1>
 <p>JFOR, an open source XSL-FO to RTF converter has been integrated into Apache FOP. This will create an RTF (rich text format) document that will attempt to contain as much information from the XSL-FO document as possible. It should be noted that is not possible (due to RTF's limitations) to map all XSL-FO features to RTF. For complex documents, the RTF output will never reach the feature level from PDF, for example. Thus, using RTF output is only recommended for simple documents such as letters.</p>
 <p>The RTF output follows Microsoft's RTF specifications and produces best results on Microsoft Word.
 RTF output is currently unmaintained and lacks many features compared to other output formats. Using other editable formats like Open Document Format, instead of producing XSL-FO then RTF through FOP, might give better results.
@@ -789,27 +789,27 @@ These are some known restrictions compar
 <p>percentages are not supported everywhere</p>
 </li>
 </ul>
-<h1 id="xml">XML (Area Tree XML)</h1>
+<h1 id="xml-area-tree-xml-wzxhzdk164wzxhzdk165">XML (Area Tree XML)  <a id="#xml"></a></h1>
 <p>This is primarily for testing and verification. The XML created is simply a representation of the internal area tree put into XML. We use that to verify the functionality of FOP's layout engine.</p>
 <p>The other use case of the Area Tree XML is as FOP's "intermediate format". More information on that can be found on the page dedicated to the <a href="intermediate.html">Intermediate Format</a> .</p>
-<h1 id="awt">Java2D/AWT</h1>
+<h1 id="java2dawt-wzxhzdk166wzxhzdk167">Java2D/AWT  <a id="#awt"></a></h1>
 <p>The Java2DRenderer provides the basic functionality for all Java2D-based output formats (AWT viewer, direct print, PNG, TIFF).</p>
 <p>The AWT viewer shows a window with the pages displayed inside a Java graphic. It displays one page at a time. The fonts used for the formatting and viewing depend on the fonts available to your JRE.</p>
-<h1 id="print">Print</h1>
+<h1 id="print-wzxhzdk168wzxhzdk169">Print  <a id="#print"></a></h1>
 <p>It is possible to directly print the document from the command line. This is done with the same code that renders to the Java2D/AWT renderer.</p>
-<h2 id="print-issues">Known issues</h2>
+<h2 id="known-issues-wzxhzdk170wzxhzdk171">Known issues # <a id="#print-issues"></a></h2>
 <p>If you run into the problem that the printed output is incomplete on Windows: this often happens to users printing to a PCL printer. There seems to be an incompatibility between Java and certain PCL printer drivers on Windows. Since most network-enabled laser printers support PostScript, try switching to the PostScript printer driver for that printer model.</p>
-<h1 id="bitmap">Bitmap (TIFF/PNG)</h1>
+<h1 id="bitmap-tiffpng-wzxhzdk172wzxhzdk173">Bitmap (TIFF/PNG)  <a id="#bitmap"></a></h1>
 <p>It is possible to directly create bitmap images from the individual pages generated by the layout engine. This is done with the same code that renders to the Java2D/AWT renderer.</p>
 <p>Currently, two output formats are supported: PNG and TIFF. TIFF produces one file with multiple pages, while PNG output produces one file per page. The quality of the bitmap depends on the target resolution setting on the FOUserAgent.</p>
-<h2 id="bitmap-configuration">Configuration</h2>
+<h2 id="configuration-wzxhzdk174wzxhzdk175">Configuration # <a id="#bitmap-configuration"></a></h2>
 <p>The TIFF and PNG renderer configuration currently allows the following settings:
 <renderer mime="image/png">
   <transparent-page-background>true</transparent-page-background>
   <fonts><!-- described elsewhere --></fonts>
 </renderer>
 The default value for the "transparent-page-background" setting is "false" which paints an opaque, white background for the whole image. If you set this to true, no such background will be painted and you will get a transparent image if an alpha channel is available in the output format.</p>
-<h2 id="tiff-configuration">TIFF-specific Configuration</h2>
+<h2 id="tiff-specific-configuration-wzxhzdk183wzxhzdk184">TIFF-specific Configuration # <a id="#tiff-configuration"></a></h2>
 <p>In addition to the above values the TIFF renderer configuration allows some additional settings:
 <renderer mime="image/tiff">
   <transparent-page-background>true</transparent-page-background>
@@ -844,7 +844,7 @@ The default value for the "compression" 
 If you want to use CCITT compression, please make sure you've got a J2SE 1.4 or later and <a href="http://java.sun.com/products/java-media/jai/current.html">Java Advanced Imaging Image I/O Tools</a> in your classpath. The Sun JRE doesn't come with a TIFF codec built in, so it has to be added separately. The internal TIFF codec from XML Graphics Commons only supports PackBits, Deflate and JPEG compression for writing.</p>
 </li>
 </ul>
-<h1 id="txt">TXT</h1>
+<h1 id="txt-wzxhzdk194wzxhzdk195">TXT  <a id="#txt"></a></h1>
 <p>The text renderer produces plain ASCII text output that attempts to match the output of the PDFRenderer as closely as possible. This was originally developed to accommodate an archive system that could only accept plain text files, and is primarily useful for getting a quick-and-dirty view of the document text. The renderer is very limited, so do not be surprised if it gives unsatisfactory results.</p>
 <p>The Text renderer works with a fixed size page buffer. The size of this buffer is controlled with the textCPI and textLPI public variables. The textCPI is the effective horizontal characters per inch to use. The textLPI is the vertical lines per inch to use. From these values and the page width and height the size of the buffer is calculated. The formatting objects to be rendered are then mapped to this grid. Graphic elements (lines, borders, etc) are assigned a lower priority than text, so text will overwrite any graphic element representations.</p>
 <p>Because FOP lays the text onto a grid during layout, there are frequently extra or missing spaces between characters and lines, which is generally unsatisfactory. Users have reported that the optimal settings to avoid such spacing problems are:</p>
@@ -859,15 +859,15 @@ If you want to use CCITT compression, pl
 <p>line-height="10.5pt"</p>
 </li>
 </ul>
-<h1 id="sandbox">Output Formats in the Sandbox</h1>
+<h1 id="output-formats-in-the-sandbox-wzxhzdk196wzxhzdk197">Output Formats in the Sandbox  <a id="#sandbox"></a></h1>
 <p>Due to the state of certain renderers we moved some of them to a "sandbox" area until they are ready for more serious use. The renderers and FOEventHandlers in the sandbox can be found under src/sandbox and are compiled into build/fop-sandbox.jar during the main build. The output formats in the sandbox are marked as such below.</p>
-<h2 id="mif">MIF</h2>
+<h2 id="mif-wzxhzdk198wzxhzdk199">MIF # <a id="#mif"></a></h2>
 <p><warning>The MIF handler is in the sandbox and not yet functional in FOP Trunk!!! Please help us ressurrect this feature.</warning>
 This format is the Maker Interchange Format which is used by Adobe Framemaker.</p>
-<h2 id="svg">SVG</h2>
+<h2 id="svg-wzxhzdk202wzxhzdk203">SVG # <a id="#svg"></a></h2>
 <p><warning>The SVG renderer is in the sandbox and may not work as expected in FOP Trunk!!! Please help us improve this feature.</warning>
 This format creates an SVG document that has links between the pages. This is primarily for slides and creating svg images of pages. Large documents will create SVG files that are far too large for an SVG viewer to handle. Since FO documents usually have text the SVG document will have a large number of text elements. The font information for the text is obtained from the JVM in the same way as for the AWT viewer. If the SVG is viewed on a system where the fonts are different, such as another platform, then the page may look wrong.</p>
-<h1 id="wishlist">Wish list</h1>
+<h1 id="wish-list-wzxhzdk206wzxhzdk207">Wish list  <a id="#wishlist"></a></h1>
 <p>Apache FOP is easily extensible and allows you to add new output formats to enhance FOP's functionality. There's a number of output formats which are on our wish list. We're looking for volunteers to help us implement them.</p>
 <ul>
 <li><a href="http://en.wikipedia.org/wiki/OpenDocument">ODF (Open Document Format)</a> : The standardized successor to OpenOffice's file format.</li>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfa.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfa.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfa.html Tue Oct 23 15:05:41 2012
@@ -331,21 +331,21 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version><authors><person email="jeremias@apache.org" name="Jeremias Märki"></person></authors></p>
-<h1 id="overview">Overview</h1>
+<h1 id="overview-wzxhzdk6wzxhzdk7">Overview  <a id="#overview"></a></h1>
 <p>PDF/A is a standard which turns PDF into an "electronic document file format for long-term preservation". PDF/A-1 is the first part of the standard and is documented in <a href="http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=38920&amp;ICS1=37&amp;ICS2=100&amp;ICS3=99">ISO 19005-1:2005(E)</a> . Work on PDF/A-2 is in progress at <a href="http://www.aiim.org/standards.asp?ID=25013">AIIM</a> .</p>
 <p>Design documentation on PDF/A can be found on FOP's Wiki on the <a href="http://wiki.apache.org/xmlgraphics-fop/PDFA1ConformanceNotes">PDFA1ConformanceNotes</a> page.</p>
-<h1 id="status">Implementation Status</h1>
+<h1 id="implementation-status-wzxhzdk8wzxhzdk9">Implementation Status  <a id="#status"></a></h1>
 <p><strong>PDF/A-1b</strong> is implemented to the degree that FOP supports the creation of the elements described in ISO 19005-1.</p>
 <p>Tests have been performed against jHove and Adobe Acrobat 7.0.7 (Preflight function). FOP does not validate completely against Apago's PDF Appraiser. Reasons unknown due to lack of a full license to get a detailed error protocol.</p>
 <p><strong>PDF/A-1a</strong> is not implemented, yet. This is mostly because of the requirement for tagged PDF which is not available in FOP, yet.</p>
-<h1 id="command-line">Usage (command line)</h1>
+<h1 id="usage-command-line-wzxhzdk10wzxhzdk11">Usage (command line)  <a id="#command-line"></a></h1>
 <p>To activate PDF/A-1b from the command-line, specify "-pdfprofile PDF/A-1b" as a parameter. If there is a violation of one of the validation rules for PDF/A, an error message is presented and the processing stops.</p>
-<h1 id="embedded">Usage (embedded)</h1>
+<h1 id="usage-embedded-wzxhzdk12wzxhzdk13">Usage (embedded)  <a id="#embedded"></a></h1>
 <p>When FOP is embedded in another Java application you can set a special option on the renderer options in the user agent to activate the PDF/A-1b profile. Here's an example:</p>
 <p class=".">userAgent.getRendererOptions().put("pdf-a-mode", "PDF/A-1b");
 Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
 </p>
-<h1 id="rules">PDF/A in Action</h1>
+<h1 id="pdfa-in-action-wzxhzdk14wzxhzdk15">PDF/A in Action  <a id="#rules"></a></h1>
 <p>There are a number of things that must be looked after if you activate a PDF/A profile. If you receive a PDFConformanceException, have a look at the following list (not necessarily comprehensive):</p>
 <ul>
 <li>
@@ -370,9 +370,9 @@ Fop fop = fopFactory.newFop(MimeConstant
 <p>No filter must be specified explicitely for metadata objects. Metadata must be embedded in clear text so non-PDF-aware applications can extract the XMP metadata.</p>
 </li>
 </ul>
-<h1 id="profile-compatibility">PDF profile compatibility</h1>
+<h1 id="pdf-profile-compatibility-wzxhzdk16wzxhzdk17">PDF profile compatibility  <a id="#profile-compatibility"></a></h1>
 <p>The PDF profiles "PDF/X-3:2003" and "PDF/A-1b" are compatible and can both be activated at the same time.</p>
-<h1 id="interoperability">Interoperability</h1>
+<h1 id="interoperability-wzxhzdk18wzxhzdk19">Interoperability  <a id="#interoperability"></a></h1>
 <p>There has been some confusion about the namespace for the PDF/A indicator in the XMP metadata. At least three variants have been seen in the wild:</p>
 <table>
 <thead>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfencryption.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfencryption.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfencryption.html Tue Oct 23 15:05:41 2012
@@ -331,16 +331,16 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version><authors><person email="pietsch@apache.org" name="J.Pietschmann"></person><person email="jeremias@apache.org" name="Jeremias Märki"></person></authors></p>
-<h1 id="Overview">Overview</h1>
+<h1 id="overview-wzxhzdk8wzxhzdk9">Overview  <a id="#Overview"></a></h1>
 <p>Apache&trade; FOP supports encryption of PDF output, thanks to Patrick C. Lankswert. This feature is commonly used to prevent unauthorized viewing, printing, editing, copying text from the document and doing annotations. It is also possible to ask the user for a password in order to view the contents. Note that there already exist third party applications which can decrypt an encrypted PDF without effort and allow the aforementioned operations, therefore the degree of protection is limited.</p>
 <p>For further information about features and restrictions regarding PDF encryption, look at the documentation coming with Adobe Acrobat or the technical documentation on the Adobe web site.</p>
-<h1 id="usage-command-line-usage28commandline29">Usage (command line) # {#Usage+%28command+line%29}</h1>
+<h1 id="usage-command-line-wzxhzdk11wzxhzdk12">Usage (command line)  <a id="#Usage+%28command+line%29"></a></h1>
 <p>Encryption is enabled by supplying any of the encryption related options.</p>
 <p>An owner password is set with the <code>-o</code> option. This password is actually used as encryption key. Many tools for PDF processing ask for this password to disregard any restriction imposed on the PDF document.</p>
 <p>If no owner password has been supplied but FOP was asked to apply some restrictions, a random password is used. In this case it is obviously impossiible to disregard restrictions in PDF processing tools.</p>
 <p>A user password, supplied with the <code>-u</code> option, will cause the PDF display software to ask the reader for this password in order to view the contents of the document. If no user password was supplied, viewing the content is not restricted.</p>
 <p>Further restrictions can be imposed by using the <code>-noprint</code> , <code>-nocopy</code> , <code>-noedit</code> and <code>-noannotations</code> options, which disable printing, copying text, editing in Adobe Acrobat and making annotations, respectively.</p>
-<h1 id="usage-embedded-usage28embedded29">Usage (embedded) # {#Usage+%28embedded%29}</h1>
+<h1 id="usage-embedded-wzxhzdk13wzxhzdk14">Usage (embedded)  <a id="#Usage+%28embedded%29"></a></h1>
 <p>When FOP is embedded in another Java application you need to set an options map on the renderer. These are the supported options:</p>
 <table>
 <thead>
@@ -450,13 +450,13 @@ Fop fop = fopFactory.newFop(MimeConstant
 <p>noannotations: Boolean or "true"/"false"</p>
 </li>
 </ol>
-<h1 id="Environment">Environment</h1>
+<h1 id="environment-wzxhzdk15wzxhzdk16">Environment  <a id="#Environment"></a></h1>
 <p>In order to use PDF encryption, FOP has to be compiled with cryptography support. Currently, only <a href="http://java.sun.com/j2se/1.4/docs/guide/security/jce/JCERefGuide.html">JCE</a> is supported. JCE is part of JDK 1.4. For earlier JDKs, it can be installed separately. The build process automatically detects JCE presence and installs PDF encryption support if possible, otherwise a stub is compiled in.</p>
 <p>Cryptography support must also be present at run time. In particular, a provider for the RC4 cipher is needed. Unfortunately, the sample JCE provider in Sun's JDK 1.4 does <strong>not</strong> provide RC4. If you get a message saying
 "Cannot find any provider supporting RC4"
 then you don't have the needed infrastructure.</p>
 <p>There are several commercial and a few Open Source packages which provide RC4. A pure Java implementation is produced by <a href="http://www.bouncycastle.org/">The Legion of the Bouncy Castle</a> . <a href="http://www.mozilla.org/projects/security/pki/jss/">Mozilla JSS</a> is an interface to a native implementation.</p>
-<h1 id="install_crypto">Installing a crypto provider</h1>
+<h1 id="installing-a-crypto-provider-wzxhzdk17wzxhzdk18">Installing a crypto provider  <a id="#install_crypto"></a></h1>
 <p>The pure Java implementation from <a href="http://www.bouncycastle.org/">Bouncy Castle</a> is easy to install.</p>
 <ol>
 <li>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfx.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfx.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/pdfx.html Tue Oct 23 15:05:41 2012
@@ -331,22 +331,22 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version><authors><person email="jeremias@apache.org" name="Jeremias Märki"></person></authors></p>
-<h1 id="overview">Overview</h1>
+<h1 id="overview-wzxhzdk6wzxhzdk7">Overview  <a id="#overview"></a></h1>
 <p><warning>Support for PDF/X is available beginning with version 0.93. This feature is new and may not be 100% complete, yet. Feedback is welcome.</warning>
 PDF/X is a standard which faciliates prepress digital data exchange using PDF. Currently, only PDF/X-3:2003 is implemented out of the many different flavours of PDF/X profiles. PDF/X-3:2003 is documented in <a href="http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=39940&amp;ICS1=37&amp;ICS2=100&amp;ICS3=99">ISO 15930-6:2003(E)</a> . More info on PDF/X can be found on the <a href="http://www.pdfx.info/">PDF/X info site</a> .</p>
-<h1 id="status">Implementation Status</h1>
+<h1 id="implementation-status-wzxhzdk10wzxhzdk11">Implementation Status  <a id="#status"></a></h1>
 <p><strong>PDF/X-3:2003</strong> is implemented to the degree that FOP supports the creation of the elements described in ISO 15930-6.</p>
 <p>An important restriction of the current implementation is that all normal RGB colors specified in XSL-FO and SVG are left unchanged in the sRGB color space (XSL-FO and SVG both use sRGB as their default color space). There's no conversion to a CMYK color space. Although sRGB is a calibrated color space, its color space has a different size than a CMYK color space which makes the conversion a lossy conversion and can lead to unwanted results. Although the use of the calibrated sRGB has been promoted for years, print shops usually prefer to convert an sRGB PDF to CMYK prior to production. Until there's full CMYK support in FOP you will have to work closely with your print service provider to make sure you get the intended result.</p>
 <p>Tests have been performed against Adobe Acrobat 7.0.7 (Preflight function). Note that there are bugs in Adobe Acrobat which cause false alarms if both PDF/A-1b and PDF/X-3:2003 are activated at the same time.</p>
-<h1 id="command-line">Usage (command line)</h1>
+<h1 id="usage-command-line-wzxhzdk12wzxhzdk13">Usage (command line)  <a id="#command-line"></a></h1>
 <p>To activate PDF/X-3:2003 from the command-line, specify "-pdfprofile PDF/X-3:2003" as a parameter. If there is a violation of one of the validation rules for PDF/X, an error message is presented and the processing stops.</p>
-<h1 id="embedded">Usage (embedded)</h1>
+<h1 id="usage-embedded-wzxhzdk14wzxhzdk15">Usage (embedded)  <a id="#embedded"></a></h1>
 <p>When FOP is embedded in another Java application you can set a special option on the renderer options in the user agent to activate the PDF/A-1b profile. Here's an example:</p>
 <p class=".">FOUserAgent userAgent = fopFactory.newFOUserAgent();
 userAgent.getRendererOptions().put("pdf-x-mode", "PDF/X-3:2003");
 Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
 </p>
-<h1 id="rules">PDF/X in Action</h1>
+<h1 id="pdfx-in-action-wzxhzdk16wzxhzdk17">PDF/X in Action  <a id="#rules"></a></h1>
 <p>There are a number of things that must be looked after if you activate a PDF/X profile. If you receive a PDFConformanceException, have a look at the following list (not necessarily comprehensive):</p>
 <ul>
 <li>
@@ -368,7 +368,7 @@ Fop fop = fopFactory.newFop(MimeConstant
 <p>PDF is forced to version 1.4 if PDF/X-3:2003 is activated.</p>
 </li>
 </ul>
-<h1 id="profile-compatibility">PDF profile compatibility</h1>
+<h1 id="pdf-profile-compatibility-wzxhzdk18wzxhzdk19">PDF profile compatibility  <a id="#profile-compatibility"></a></h1>
 <p>The PDF profiles "PDF/X-3:2003" and "PDF/A-1b" are compatible and can both be activated at the same time.</p></div>
       </div>
       

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/releaseNotes_0.95.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/releaseNotes_0.95.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/releaseNotes_0.95.html Tue Oct 23 15:05:41 2012
@@ -356,17 +356,17 @@ Besides the important changes listed bel
 <p>If more flexibility is needed, then the fo:table-column elements may be just omitted. The final number of columns will then be set by the row that has the most cells.</p>
 <p>The image libraries Jimi and JAI are no longer needed (and used) for image loading. Instead we rely completely on the Image I/O API that has been introduced with Java 1.4. If you still need support for bitmap image formats that do not work out-of-the-box, we recommend adding <a href="http://jai-imageio.dev.java.net/">JAI Image I/O Tools</a> (an Image I/O compatible image codec package) to the classpath. JAI is still required for building the FOP distribution but it is optional for normal builds and at run-time.
 This final 0.95 release also includes all of the <a href="changes_0.95beta.html">changes made for Apache FOP 0.95beta</a> .</section></notes></p>
-<h1 id="version_0.95">Major Changes in Version 0.95</h1>
+<h1 id="major-changes-in-version-095-wzxhzdk4wzxhzdk5">Major Changes in Version 0.95  <a id="#version_0.95"></a></h1>
 <p>This is not a complete list of changes, just some of the more important ones. A full list of changes in this release <a href="changes_0.95.html">is available</a> .</p>
-<h2 id="changes-to-the-code-base-changestothecodebase">Changes to the Code Base ## {#Changes+to+the+Code+Base}</h2>
+<h2 id="changes-to-the-code-base-wzxhzdk6wzxhzdk7">Changes to the Code Base # <a id="#Changes+to+the+Code+Base"></a></h2>
 <ul>
 <li><icon alt="fix" src="../images/fix.jpg"></icon>Fixed potential multi-threading problem concerning the use of DecimalFormat. Committed by JM. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44887">44887</a> .</li>
 </ul>
-<h2 id="changes-to-the-layout-engine-changestothelayoutengine">Changes to the Layout Engine ## {#Changes+to+the+Layout+Engine}</h2>
+<h2 id="changes-to-the-layout-engine-wzxhzdk8wzxhzdk9">Changes to the Layout Engine # <a id="#Changes+to+the+Layout+Engine"></a></h2>
 <ul>
 <li><icon alt="fix" src="../images/fix.jpg"></icon>Various bugfixes for table layout. Committed by VH. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44621">44621</a> .</li>
 </ul>
-<h2 id="changes-to-renderers-output-formats-changestorenderers28outputformats29">Changes to Renderers (Output Formats) ## {#Changes+to+Renderers+%28Output+Formats%29}</h2>
+<h2 id="changes-to-renderers-output-formats-wzxhzdk10wzxhzdk11">Changes to Renderers (Output Formats) # <a id="#Changes+to+Renderers+%28Output+Formats%29"></a></h2>
 <ul>
 <li>
 <p><icon alt="fix" src="../images/fix.jpg"></icon>Fixed positioning of absolutely positioned block-containers in multi-column documents. Committed by JM.</p>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/running.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/running.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/running.html Tue Oct 23 15:05:41 2012
@@ -331,7 +331,7 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version></p>
-<h1 id="require">System Requirements</h1>
+<h1 id="system-requirements-wzxhzdk2wzxhzdk3">System Requirements  <a id="#require"></a></h1>
 <p>The following software must be installed:</p>
 <ul>
 <li>
@@ -374,13 +374,13 @@ $(document).ready(function () {
 <ul>
 <li>If you will be using FOP to process SVG, you must do so in a graphical environment. See <a href="graphics.html#batik">FOP: Graphics (Batik)</a> for details.</li>
 </ul>
-<h1 id="install">Installation</h1>
-<h2 id="install-instruct">Instructions</h2>
+<h1 id="installation-wzxhzdk4wzxhzdk5">Installation  <a id="#install"></a></h1>
+<h2 id="instructions-wzxhzdk6wzxhzdk7">Instructions # <a id="#install-instruct"></a></h2>
 <p>Basic FOP installation consists of first unzipping the <code>.gz</code> file that is the distribution medium, then unarchiving the resulting <code>.tar</code> file in a directory/folder that is convenient on your system. Please consult your operating system documentation or Zip application software documentation for instructions specific to your site.</p>
-<h2 id="install-problems">Problems</h2>
+<h2 id="problems-wzxhzdk8wzxhzdk9">Problems # <a id="#install-problems"></a></h2>
 <p>Some Mac OSX users have experienced filename truncation problems using Stuffit to unzip and unarchive their distribution media. This is a legacy of older Mac operating systems, which had a 31-character pathname limit. Several Mac OSX users have recommended that Mac OSX users use the shell command <code>tar -xzf</code> instead.</p>
-<h1 id="standalone-start">Starting FOP as a Standalone Application</h1>
-<h2 id="fop-script">Using the fop script or batch file</h2>
+<h1 id="starting-fop-as-a-standalone-application-wzxhzdk10wzxhzdk11">Starting FOP as a Standalone Application  <a id="#standalone-start"></a></h1>
+<h2 id="using-the-fop-script-or-batch-file-wzxhzdk12wzxhzdk13">Using the fop script or batch file # <a id="#fop-script"></a></h2>
 <p>The usual and recommended practice for starting FOP from the command line is to run the batch file fop.bat (Windows) or the shell script fop (Unix/Linux). These scripts require that the environment variable JAVA_HOME be set to a path pointing to the appropriate Java installation on your system. Macintosh OSX includes a Java environment as part of its distribution. We are told by Mac OSX users that the path to use in this case is <code>/Library/Java/Home</code> . <strong>Caveat:</strong> We suspect that, as Apple releases new Java environments and as FOP upgrades the minimum Java requirements, the two will inevitably not match on some systems. Please see <a href="http://developer.apple.com/java/faq">Java on Mac OSX FAQ</a> for information as it becomes available.</p>
 <p>USAGE
 Fop [options] [-fo|-xml] infile [-xsl file] [-awt|-pdf|-mif|-rtf|-tiff|-png|-pcl|-ps|-txt|-at [mime]|-print] <outfile>
@@ -448,20 +448,20 @@ Fop [options] [-fo|-xml] infile [-xsl fi
   Fop foo.fo -print or Fop -print foo.fo 
   Fop foo.fo -awt
 PDF encryption is only available if FOP was compiled with encryption support <strong>and</strong> if compatible encryption support is available at run time. Currently, only the JCE is supported. Check the <a href="pdfencryption.html">Details</a> .</p>
-<h2 id="your-own-script">Writing your own script</h2>
+<h2 id="writing-your-own-script-wzxhzdk17wzxhzdk18">Writing your own script # <a id="#your-own-script"></a></h2>
 <p>FOP's entry point for your own scripts is the class <code>org.apache.fop.cli.Main</code> . The general pattern for the command line is: <code>java -classpath &lt;CLASSPATH&gt;
         org.apache.fop.cli.Main &lt;arguments&gt;</code> . The arguments consist of the options and infile and outfile specifications as shown above for the standard scripts. You may wish to review the standard scripts to make sure that you get your environment properly configured.</p>
-<h2 id="jar-option">Running with java's -jar option</h2>
+<h2 id="running-with-javas-jar-option-wzxhzdk19wzxhzdk20">Running with java's -jar option # <a id="#jar-option"></a></h2>
 <p>As an alternative to the start scripts you can run <code>java
         -jar path/to/build/fop.jar &lt;arguments&gt;</code> , relying on FOP to build the classpath for running FOP dynamically, see <a href="#dynamical-classpath">below</a> . If you use hyphenation, you must put <code>fop-hyph.jar</code> in the <code>lib</code> directory.</p>
 <p>You can also run <code>java -jar path/to/fop.jar
       &lt;arguments&gt;</code> , relying on the <code>Class-Path</code> entry in the manifest file. This works if you put <code>fop.jar</code> and all jar files from the <code>lib</code> directory in a single directory. If you use hyphenation, you must also put <code>fop-hyph.jar</code> in that directory.</p>
 <p>In both cases the arguments consist of the options and infile and outfile specifications as shown above for the standard scripts.</p>
-<h2 id="dynamical-classpath">FOP's dynamical classpath construction</h2>
+<h2 id="fops-dynamical-classpath-construction-wzxhzdk21wzxhzdk22">FOP's dynamical classpath construction # <a id="#dynamical-classpath"></a></h2>
 <p>If FOP is started without a proper classpath, it tries to add its dependencies dynamically. If the system property <code>fop.home</code> contains the name of a directory, then FOP uses that directory as the base directory for its search. Otherwise the current working directory is the base directory. If the base directory is called <code>build</code> , then its parent directory becomes the base directory.</p>
 <p>FOP expects to find <code>fop.jar</code> in the <code>build</code> subdirectory of the base directory, and adds it to the classpath. Subsequently FOP adds all <code>jar</code> files in the lib directory to the classpath. The lib directory is either the <code>lib</code> subdirectory of the base directory, or, if that does not exist, the base directory itself.</p>
 <p>If the system property <code>fop.optional.lib</code> contains the name of a directory, then all <code>jar</code> files in that directory are also added to the classpath. See the methods <code>getJARList</code> and <code>checkDependencies</code> in <code>org.apache.fop.cli.Main</code> .</p>
-<h1 id="check-input">Using Xalan to Check XSL-FO Input</h1>
+<h1 id="using-xalan-to-check-xsl-fo-input-wzxhzdk23wzxhzdk24">Using Xalan to Check XSL-FO Input  <a id="#check-input"></a></h1>
 <p>FOP sessions that use -xml and -xsl input instead of -fo input are actually controlling two distinct conversions: Tranforming XML to XSL-FO, then formatting the XSL-FO to PDF (or another FOP output format). Although FOP controls both of these processes, the first is included merely as a convenience and for performance reasons. Only the second is part of FOP's core processing. If a user has a problem running FOP, it is important to determine which of these two processes is causing the problem. If the problem is in the first process, the user's stylesheet is likely the cause. The FOP development team does not have resources to help with stylesheet issues, although we have included links to some useful <a href="../resources.html#specs">Specifications</a> and <a href="../resources.html#articles">Books/Articles</a> . If the problem is in the second process, FOP may have a bug or an unimplemented feature that does require attention from the FOP development team.
 The user is always responsible to provide correct XSL-FO code to FOP.
 In the case of using -xml and -xsl input, although the user is responsible for the XSL-FO code that is FOP's input, it is not visible to the user. To make the intermediate FO file visible, the FOP distribution includes the "-foout" option which causes FOP to run only the first (transformation) step, and write the results to a file. (See also the Xalan command-line below)
@@ -469,7 +469,7 @@ When asking for help on the FOP mailing 
 The -foout option works the same way as if you would call the <a href="http://xml.apache.org/xalan-j/commandline.html">Xalan command-line</a> :</p>
 <p><code>java org.apache.xalan.xslt.Process -IN xmlfile -XSL file -OUT outfile</code> </p>
 <p>Note that there are some subtle differences between the FOP and Xalan command-lines.</p>
-<h1 id="memory">Memory Usage</h1>
+<h1 id="memory-usage-wzxhzdk25wzxhzdk26">Memory Usage  <a id="#memory"></a></h1>
 <p>FOP can consume quite a bit of memory, even though this has been continually improved. This is partly inherent to the formatting process and partly caused by implementation choices. All FO processors currently on the market have memory problems with certain layouts.</p>
 <p>If you are running out of memory when using FOP, here are some ideas that may help:</p>
 <ul>
@@ -486,7 +486,7 @@ The -foout option works the same way as 
 <p>Use multiple page sequences. FOP starts rendering after the end of a page sequence is encountered. While the actual rendering is done page-by-page, some additional memory is freed after the page sequence has been rendered. This can be substantial if the page sequence contains lots of FO elements.</p>
 </li>
 </ul>
-<h1 id="problems">Problems</h1>
+<h1 id="problems-wzxhzdk27wzxhzdk28">Problems  <a id="#problems"></a></h1>
 <p>If you have problems running FOP, please see the <a href="../gethelp.html">"How to get Help" page</a> .</p></div>
       </div>
       

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/servlets.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/servlets.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/servlets.html Tue Oct 23 15:05:41 2012
@@ -331,9 +331,9 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><p><subtitle>How to use Apache� FOP in a Servlet</subtitle><version>$Revision: 1298724 $</version></p>
-<h1 id="overview">Overview</h1>
+<h1 id="overview-wzxhzdk6wzxhzdk7">Overview  <a id="#overview"></a></h1>
 <p>This page discusses topic all around using Apache&trade; FOP in a servlet environment.</p>
-<h1 id="example-servlets">Example Servlets in the FOP distribution</h1>
+<h1 id="example-servlets-in-the-fop-distribution-wzxhzdk9wzxhzdk10">Example Servlets in the FOP distribution  <a id="#example-servlets"></a></h1>
 <p>In the directory {fop-dir}/src/java/org/apache/fop/servlet, you'll find a working example of a FOP-enabled servlet.</p>
 <p>The servlet is automatically built when you build Apache FOP using the supplied Ant script. After building the servlet, drop fop.war into the webapps directory of Apache Tomcat (or any other web container). Then, you can use URLs like the following to generate PDF files:</p>
 <ul>
@@ -346,9 +346,9 @@ $(document).ready(function () {
 </ul>
 <p>The source code for the servlet can be found under {fop-dir}/src/java/org/apache/fop/servlet/FopServlet.java.
 This example servlet should not be used on a public web server connected to the Internet as it does not contain any measures to prevent Denial-of-Service-Attacks. It is provided as an example and as a starting point for your own servlet.</p>
-<h1 id="servlet">Create your own Servlet</h1>
+<h1 id="create-your-own-servlet-wzxhzdk11wzxhzdk12">Create your own Servlet  <a id="#servlet"></a></h1>
 <p>This section assumes you are familiar with <a href="embedding.html">embedding FOP</a> .</p>
-<h2 id="minimal-servlet">A minimal Servlet</h2>
+<h2 id="a-minimal-servlet-wzxhzdk13wzxhzdk14">A minimal Servlet # <a id="#minimal-servlet"></a></h2>
 <p>Here is a minimal code snippet to demonstrate the basics:
 private FopFactory fopFactory = FopFactory.newInstance();
 private TransformerFactory tFactory = TransformerFactory.newInstance();</p>
@@ -365,7 +365,7 @@ private TransformerFactory tFactory = Tr
         throw new ServletException(ex);
     }
 }There are numerous problems with the code snippet above. Its purpose is only to demonstrate the basic concepts. See below for details.</p>
-<h2 id="xslt">Adding XSL tranformation (XSLT)</h2>
+<h2 id="adding-xsl-tranformation-xslt-wzxhzdk15wzxhzdk16">Adding XSL tranformation (XSLT) # <a id="#xslt"></a></h2>
 <p>A common requirement is to transform an XML source to XSL-FO using an XSL transformation. It is recommended to use JAXP for this task. The following snippet shows the basic code:
 private FopFactory fopFactory = FopFactory.newInstance();
 private TransformerFactory tFactory = TransformerFactory.newInstance();</p>
@@ -405,9 +405,9 @@ private TransformerFactory tFactory = Tr
 <p>The <code>Source</code> instance used above is simply an example. If you have to read the XML from a string, supply a <code>new StreamSource(new
           StringReader(xmlstring))</code> . Constructing and reparsing an XML string is generally less desirable than using a SAXSource if you generate your XML. You can alternatively supply a DOMSource as well. You may also use dynamically generated XSL if you like.</p>
 <p>Because you have an explicit <code>Transformer</code> object, you can also use it to explicitely set parameters for the transformation run.</p>
-<h2 id="cfg">Custom configuration</h2>
+<h2 id="custom-configuration-wzxhzdk17wzxhzdk18">Custom configuration # <a id="#cfg"></a></h2>
 <p>You can easily set up your own FOUserAgent as demonstrated on the <a href="embedding.html">Embedding page</a> .</p>
-<h2 id="performance">Improving performance</h2>
+<h2 id="improving-performance-wzxhzdk19wzxhzdk20">Improving performance # <a id="#performance"></a></h2>
 <p>There are several options to consider:</p>
 <ul>
 <li>
@@ -418,7 +418,7 @@ private TransformerFactory tFactory = Tr
 </li>
 </ul>
 <p>Of course, the <a href="embedding.html#performance">performance hints from the Embedding page</a> apply here, too.</p>
-<h2 id="uriresolver">Accessing resources in your web application</h2>
+<h2 id="accessing-resources-in-your-web-application-wzxhzdk21wzxhzdk22">Accessing resources in your web application # <a id="#uriresolver"></a></h2>
 <p>Often, you will want to use resources (stylesheets, images etc.) which are bundled with your web application. FOP provides a URIResolver implementation that lets you access files via the Servlet's ServletContext. The class is called <code>org.apache.fop.servlet.ServletContextURIResolver</code> .</p>
 <p>Here's how to set it up in your servlet. Instantiate a new instance in the servlet's init() method:</p>
 <div class="codehilite"><pre><span class="sr">/** URIResolver for use by this servlet */</span>
@@ -458,7 +458,7 @@ Source xsltSrc = this.uriResolver.resolv
     "servlet-context:/xslt/mystylesheet.xsl", null);
 Transformer transformer = this.transFactory.newTransformer(xsltSrc);
 transformer.setURIResolver(this.uriResolver);</p>
-<h1 id="ie">Notes on Microsoft Internet Explorer</h1>
+<h1 id="notes-on-microsoft-internet-explorer-wzxhzdk23wzxhzdk24">Notes on Microsoft Internet Explorer  <a id="#ie"></a></h1>
 <p>Some versions of Internet Explorer will not automatically show the PDF or call the servlet multiple times. These are well-known limitations of Internet Explorer and are not a problem of the servlet. However, Internet Explorer can still be used to download the PDF so that it can be viewed later. Here are some suggestions in this context:</p>
 <ul>
 <li>
@@ -473,13 +473,13 @@ transformer.setURIResolver(this.uriResol
 <p>Cache in the server. It may help to include a parameter in the URL which has a timestamp as the value min order to decide whether a request is repeated. IEx is reported to retrieve a document up to three times, but never more often.</p>
 </li>
 </ul>
-<h1 id="servlet-engine">Servlet Engines</h1>
+<h1 id="servlet-engines-wzxhzdk25wzxhzdk26">Servlet Engines  <a id="#servlet-engine"></a></h1>
 <p>When using a servlet engine, there are potential CLASSPATH issues, and potential conflicts with existing XML/XSLT libraries. Servlet containers also often use their own classloaders for loading webapps, which can cause bugs and security problems.</p>
-<h2 id="tomcat">Tomcat</h2>
+<h2 id="tomcat-wzxhzdk27wzxhzdk28">Tomcat # <a id="#tomcat"></a></h2>
 <p>Check Tomcat's documentation for detailed instructions about installing FOP and Cocoon. There are known bugs that must be addressed, particularly for Tomcat 4.0.3.</p>
-<h2 id="websphere">WebSphere 3.5</h2>
+<h2 id="websphere-35-wzxhzdk29wzxhzdk30">WebSphere 3.5 # <a id="#websphere"></a></h2>
 <p>Put a copy of a working parser in some directory where WebSphere can access it. For example, if /usr/webapps/yourapp/servlets is the CLASSPATH for your servlets, copy the Xerces jar into it (any other directory would also be fine). Do not add the jar to the servlet CLASSPATH, but add it to the CLASSPATH of the application server which contains your web application. In the WebSphere administration console, click on the "environment" button in the "general" tab. In the "variable name" box, enter "CLASSPATH". In the "value" box, enter the correct path to the parser jar file (/usr/webapps/yourapp/servlets/Xerces.jar in our example here). Press "OK", then apply the change and restart the application server.</p>
-<h1 id="complex-usecases">Handling complex use cases</h1>
+<h1 id="handling-complex-use-cases-wzxhzdk31wzxhzdk32">Handling complex use cases  <a id="#complex-usecases"></a></h1>
 <p>Sometimes the requirements for a servlet get quite sophisticated: SQL data sources, multiple XSL transformations, merging of several datasources etc. In such a case consider using <a href="http://cocoon.apache.org/">Apache Cocoon</a> instead of a custom servlet to accomplish your goal.</p></div>
       </div>
       

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/upgrading.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/upgrading.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/upgrading.html Tue Oct 23 15:05:41 2012
@@ -331,7 +331,7 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version></p>
-<h1 id="important">Important!</h1>
+<h1 id="important-wzxhzdk2wzxhzdk3">Important!  <a id="#important"></a></h1>
 <p>If you're planning to upgrade to the latest Apache&trade; FOP version there are a few very important things to consider:</p>
 <ul>
 <li>
@@ -360,7 +360,7 @@ While FOP 0.20.5 allowed you to have emp
 <p>The SVG Renderer and the MIF Handler have not been resurrected, yet! They are currently non-functional and hope for someone to step up and reimplement them.</p>
 </li>
 </ul>
-<h1 id="issues">What you need to know when you upgrade!</h1>
+<h1 id="what-you-need-to-know-when-you-upgrade-wzxhzdk5wzxhzdk6">What you need to know when you upgrade!  <a id="#issues"></a></h1>
 <p>When you use your existing FO files or XML/XSL files which work fine with FOP version 0.20.5 against this FOP version some things may not work as expected. The following list will hopefully help you to identify and correct those problems. This does not mean that the new FOP is at fault. Quite the opposite actually! See below:</p>
 <ul>
 <li>

Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/accessibility.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/accessibility.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/accessibility.html Tue Oct 23 15:05:41 2012
@@ -330,10 +330,10 @@ $(document).ready(function () {
       
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/1.0/">1.0</a></div> -->
-      	<div class="section-content"><h1 id="overview">Overview</h1>
+      	<div class="section-content"><h1 id="overview-wzxhzdk0wzxhzdk1">Overview  <a id="#overview"></a></h1>
 <p>This page describes the <a href="http://en.wikipedia.org/wiki/Accessibility">accessibility</a> features of Apache&trade; FOP. <a href="http://www.section508.gov/">Section 508</a> defines accessibility in the context of electronic documents for the USA but other countries have similar requirements.</p>
 <p>Accessibility features are available only for the PDF output format and there are some implementation limitations. Also, certain actions must be undertaken by the content creator to ensure that FOP can create a truly accessible document.</p>
-<h1 id="enabling-accessibility-enablingaccessibility">Enabling accessibility # {#Enabling+accessibility}</h1>
+<h1 id="enabling-accessibility-wzxhzdk3wzxhzdk4">Enabling accessibility  <a id="#Enabling+accessibility"></a></h1>
 <p>There are 3 ways to enable accessibility:</p>
 <ol>
 <li>
@@ -351,7 +351,7 @@ $(document).ready(function () {
 </ol>
 <p>When accessibility is enabled, additional information relating to the logical structure of the document is added to the PDF. That information allows the PDF viewer (or a text-to-speech application) to retrieve the natural reading order of the document.
 The processing of the logical structure is memory-hungry. You may need to adjust the Java heap size in order to process larger files.</p>
-<h1 id="source">Changes to your XSL-FO input files</h1>
+<h1 id="changes-to-your-xsl-fo-input-files-wzxhzdk5wzxhzdk6">Changes to your XSL-FO input files  <a id="#source"></a></h1>
 <p>Apache FOP cannot automatically generate accessible PDFs. Some of the work can only be performed by the content provider. Following are some changes that may be necessary to your XSL-FO content in order to generate really accessible documents:</p>
 <ul>
 <li>
@@ -367,7 +367,7 @@ The processing of the logical structure 
 <p>Specify the natural language of the document using the language and country properties (or via the <code>xml:lang</code> shorthand property).</p>
 </li>
 </ul>
-<h1 id="customTags">Customized Tagging</h1>
+<h1 id="customized-tagging-wzxhzdk7wzxhzdk8">Customized Tagging  <a id="#customTags"></a></h1>
 <p>The <a href="#PDFReference">PDF Reference</a> defines a set of standard Structure Types to tag content. For example, ‘P’ is used for identifying paragraphs, ‘H1’ to ‘H6’ for headers, ‘L’ for lists, ‘Div’ for block-level groups of elements, etc. This standard set is aimed at improving interoperability between applications producing or consuming PDF.</p>
 <p>FOP provides a default mapping of Formatting Objects to elements from that standard set. For example, <code>fo:page-sequence</code> is mapped to ‘Part’, <code>fo:block</code> is mapped to ‘P’, <code>fo:list-block</code> to ‘L’, etc.</p>
 <p>You may want to customize that mapping to improve the accuracy of the tagging or deal with particular FO constructs. For example, you may want to make use of the ‘H1’ to ‘H6’ tags to make the hierarchical structure of the document appear in the PDF. This is achieved by using the <code>role</code> XSL-FO property:
@@ -376,9 +376,9 @@ The processing of the logical structure 
 <fo:block>This is the first paragraph of the first section...</fo:block>
 ...
 If a non-standard structure type is specified, FOP will issue a warning and fall back to the default tag associated to the Formatting Object.</p>
-<h1 id="testing">Testing</h1>
+<h1 id="testing-wzxhzdk13wzxhzdk14">Testing  <a id="#testing"></a></h1>
 <p>Accessible PDFs can be tested, for example, using Adobe Acrobat Professional. Its Accessibility Check feature creates a report indicating any deficiencies with a PDF document. Alternatively, you can just let a screen reader read the document aloud.</p>
-<h1 id="limitations">Limitations</h1>
+<h1 id="limitations-wzxhzdk15wzxhzdk16">Limitations  <a id="#limitations"></a></h1>
 <p>Accessibility support in Apache FOP is relatively new, so there are certain limitations. Please help us identify and close any gaps.</p>
 <ul>
 <li>
@@ -394,7 +394,7 @@ If a non-standard structure type is spec
 <p>The side regions (region-before, region-after etc.) are currently not specially identified. Screen readers may read their content at page changes.</p>
 </li>
 </ul>
-<h1 id="links">Related Links</h1>
+<h1 id="related-links-wzxhzdk17wzxhzdk18">Related Links  <a id="#links"></a></h1>
 <p>Many resources providing guidance about creating accessible documents can be found on the web. Here are a few links, along with additional resources around the topic:</p>
 <ul>
 <li>

Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/anttask.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/anttask.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/anttask.html Tue Oct 23 15:05:41 2012
@@ -332,7 +332,7 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/1.0/">1.0</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version></p>
 <p>Apache&trade; FOP provides an Ant task for automating the document build process.</p>
-<h1 id="basics">Description</h1>
+<h1 id="description-wzxhzdk4wzxhzdk5">Description  <a id="#basics"></a></h1>
 <p>The FOP Ant task will convert XSL-FO documents to PDF, PS, PCL etc. output (see <a href="output.html">Output formats</a> for available formats).</p>
 <p>To call FOP tasks within Ant, first add a FOP task definition to your Ant build file. One method of defining the task is as follows:</p>
 <property name="fop.home" value="....path to your FOP HOME directory..."/>
@@ -352,7 +352,7 @@ $(document).ready(function () {
 
 Then create FOP tasks within your Ant build file, using the FOP task parameters listed below.
 
-# Parameters for FOP Ant task # {#parameters}
+# Parameters for FOP Ant task  <a id="#parameters"></a>
 
 <caption>Parameters specified as attributes</caption>| Attribute | Description | Required |
 |-----------|-------------|----------|
@@ -374,7 +374,7 @@ Then create FOP tasks within your Ant bu
 |-----------|-------------|----------|
 | fileset |  [FileSets](http://ant.apache.org/manual/CoreTypes/fileset.html) are used to specify multiple XSL-FO files to be rendered. | Yes, if no fofile attribute is supplied |
 
-# Examples # {#examples}
+# Examples  <a id="#examples"></a>
 
 The following example converts a single XSL-FO file to a PDF document:
 

Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/changes_1.0.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/changes_1.0.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/changes_1.0.html Tue Oct 23 15:05:41 2012
@@ -331,14 +331,14 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/1.0/">1.0</a></div> -->
       	<div class="section-content"><p><a href="changes_1.0.rss"></a> </p>
-<h1 id="introduction">Introduction and explanation of symbols</h1>
+<h1 id="introduction-and-explanation-of-symbols-wzxhzdk0wzxhzdk1">Introduction and explanation of symbols  <a id="#introduction"></a></h1>
 <p>Changes are sorted by "type" and then chronologically with the most recent at the top. These symbols denote the various action types:<icon alt="add" src="../images/add.jpg"></icon>=add,<icon alt="fix" src="../images/fix.jpg"></icon>=fix,<icon alt="remove" src="../images/remove.jpg"></icon>=remove,<icon alt="update" src="../images/update.jpg"></icon>=update</p>
-<h1 id="version_1.0">Version 1.0 (21 July 2010)</h1>
-<h2 id="API_1.0">Changes to the End-User API</h2>
+<h1 id="version-10-21-july-2010-wzxhzdk10wzxhzdk11">Version 1.0 (21 July 2010)  <a id="#version_1.0"></a></h1>
+<h2 id="changes-to-the-end-user-api-wzxhzdk12wzxhzdk13">Changes to the End-User API # <a id="#API_1.0"></a></h2>
 <ul>
 <li><icon alt="add" src="../images/add.jpg"></icon>Added a command-line option '-catalog' to use a catalog resolver for the XML and XSLT files Committed by SP.</li>
 </ul>
-<h2 id="Code_1.0">Changes to the Code Base</h2>
+<h2 id="changes-to-the-code-base-wzxhzdk14wzxhzdk15">Changes to the Code Base # <a id="#Code_1.0"></a></h2>
 <ul>
 <li>
 <p><icon alt="add" src="../images/add.jpg"></icon>Added support for xmlfile and xsltfile parameters in FOP's Ant Task. Committed by AC.</p>
@@ -407,11 +407,11 @@ Committed by AD. Thanks to rogov.AT.deve
 <p><icon alt="update" src="../images/update.jpg"></icon>Changed FONode.addCharacters() parameter to closer match the signature of the standard SAX characters() event (reduces confusion and computations). <em>!! Implementors of extensions that subclass FONode directly, and offer an implementation for addCharacters() should take care to make similar modifications in their code !!</em> Committed by AD.</p>
 </li>
 </ul>
-<h2 id="Extensions_1.0">Changes to the Bundled Extensions</h2>
+<h2 id="changes-to-the-bundled-extensions-wzxhzdk16wzxhzdk17">Changes to the Bundled Extensions # <a id="#Extensions_1.0"></a></h2>
 <ul>
 <li><icon alt="add" src="../images/add.jpg"></icon>Added support for the #CMYK pseudo-profile supported by some commercial XSL implementations on the rgb-icc() function. Committed by JM.</li>
 </ul>
-<h2 id="Fonts_1.0">Changes to the Font Subsystem</h2>
+<h2 id="changes-to-the-font-subsystem-wzxhzdk18wzxhzdk19">Changes to the Font Subsystem # <a id="#Fonts_1.0"></a></h2>
 <ul>
 <li>
 <p><icon alt="add" src="../images/add.jpg"></icon>Added support for TrueType fonts with symbol character maps (like "Wingdings" and "Symbol"). Character for these fonts are usually found in the 0xF020 to 0xF0FF range (a Unicode private use area). Committed by JM.</p>
@@ -465,7 +465,7 @@ Committed by AD. Thanks to rogov.AT.deve
 <p><icon alt="fix" src="../images/fix.jpg"></icon>Fix for PFMReader after bug #43089 changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files. Committed by JM. Thanks to J. Frantzius. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45734">45734</a> .</p>
 </li>
 </ul>
-<h2 id="Images_1.0">Changes to the Image Support</h2>
+<h2 id="changes-to-the-image-support-wzxhzdk20wzxhzdk21">Changes to the Image Support # <a id="#Images_1.0"></a></h2>
 <ul>
 <li>
 <p><icon alt="add" src="../images/add.jpg"></icon>Added customization ability for the image loading framework from FOP's configuration file. Committed by JM.</p>
@@ -477,7 +477,7 @@ Committed by AD. Thanks to rogov.AT.deve
 <p><icon alt="fix" src="../images/fix.jpg"></icon>Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one. Committed by JM.</p>
 </li>
 </ul>
-<h2 id="Layout_1.0">Changes to the Layout Engine</h2>
+<h2 id="changes-to-the-layout-engine-wzxhzdk22wzxhzdk23">Changes to the Layout Engine # <a id="#Layout_1.0"></a></h2>
 <ul>
 <li>
 <p><icon alt="add" src="../images/add.jpg"></icon>Implement internal character classes if the hyphenation pattern file does not contain them Committed by SP.</p>
@@ -573,7 +573,7 @@ Committed by AD. Thanks to rogov.AT.deve
 <p><icon alt="fix" src="../images/fix.jpg"></icon>Activated min-height/max-height and min-width/max-width properties. Committed by AD. See Issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43591">43591</a> .</p>
 </li>
 </ul>
-<h2 id="Renderers_1.0">Changes to Renderers (Output Formats)</h2>
+<h2 id="changes-to-renderers-output-formats-wzxhzdk24wzxhzdk25">Changes to Renderers (Output Formats) # <a id="#Renderers_1.0"></a></h2>
 <ul>
 <li>
 <p><icon alt="add" src="../images/add.jpg"></icon>AFP Output: Added enhanced dithering functionality for images that are converted to bi-level images. Committed by JM.</p>
@@ -777,7 +777,7 @@ Committed by AD.</p>
 <p><icon alt="update" src="../images/update.jpg"></icon>When a JPEG image is embedded, an optionally embedded color profile is filtered out as it's already embedded separately in the PDF file. Committed by JM.</p>
 </li>
 </ul>
-<h2 id="contributors_1.0">Contributors to this release</h2>
+<h2 id="contributors-to-this-release-wzxhzdk26wzxhzdk27">Contributors to this release # <a id="#contributors_1.0"></a></h2>
 <p>We thank the following people for their contributions to this release.</p>
 <p>This is a list of all people who participated as committers:<br></br>Adrian Cumiskey (AC), Andreas Delmelle (AD), Chris Bowditch (CB), Jeremias Märki (JM), (JM,VH), Luca Furini (LF), Max Berger (MB), Simon Pepping (SP), Vincent Hennebert (VH).</p>
 <p>This is a list of other contributors:<br></br>Alexander Stamenov, Alok Singh, Antti Karanta, Bharat Attaluri, Carsten Siedentop, D.W. Harks, Dario Laera, Emil Maskovsky, Francois Fernandes, Georg Datterl, Harald G. Henne, J. Frantzius, Jason Harrop, Jonathan Levinson, Jost Klopfstein, Martin Edge, Maxim Wirt, Nicolas Peninguy, Pavel Kysilka, Peter Coppens, Peter Hancock, Richard Wheeldon, rogov.AT.devexperts.com, Thomas Stieler, Tow Browder, Venkat Reddy, Yegor Kozlov.</p></div>

Modified: websites/staging/xmlgraphics/trunk/content/fop/1.0/compiling.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/1.0/compiling.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/1.0/compiling.html Tue Oct 23 15:05:41 2012
@@ -331,19 +331,19 @@ $(document).ready(function () {
       <div id="content" class="grid_16">
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/1.0/">1.0</a></div> -->
       	<div class="section-content"><p><version>$Revision: 1298724 $</version></p>
-<h1 id="build-needed">Do You Need To Build?</h1>
+<h1 id="do-you-need-to-build-wzxhzdk2wzxhzdk3">Do You Need To Build?  <a id="#build-needed"></a></h1>
 <p>Apache&trade; FOP distributions are either pre-compiled binary or source. If you are using a binary distribution, it is already built and there is no need to build it again. See the <a href="../download.html">Download Instructions</a> for information about whether a binary or source distribution is best for your needs.</p>
 <p>If you got the source code from a repository snapshot or via Subversion you will need to build FOP in any case.</p>
-<h1 id="env">Set Up Your Environment</h1>
-<h2 id="env-jdk">JDK</h2>
+<h1 id="set-up-your-environment-wzxhzdk5wzxhzdk6">Set Up Your Environment  <a id="#env"></a></h1>
+<h2 id="jdk-wzxhzdk7wzxhzdk8">JDK # <a id="#env-jdk"></a></h2>
 <p>Building FOP requires a minimum Java Development Kit (JDK/SDK) of 1.4 (A Java Runtime Environment is not sufficient).</p>
-<h2 id="env-classpath">CLASSPATH</h2>
+<h2 id="classpath-wzxhzdk9wzxhzdk10">CLASSPATH # <a id="#env-classpath"></a></h2>
 <p>There is generally no need to setup a classpath. All libraries needed to compile FOP are included in the source distribution and are referenced by the build script. You will only need to adjust the classpath if you build FOP in some other way. See the build script build.xml for details.</p>
-<h2 id="env-java-home">JAVA_HOME</h2>
+<h2 id="java_home-wzxhzdk11wzxhzdk12">JAVA_HOME # <a id="#env-java-home"></a></h2>
 <p>The build script uses <a href="http://ant.apache.org/">Apache Ant</a> , a popular Java-based build tool, which usually requires that the environment variable JAVA_HOME point to your local JDK root directory. This is true even if you use JDK 1.4 or above, which normally does not need this setting.</p>
-<h2 id="env-ant">Apache Ant</h2>
+<h2 id="apache-ant-wzxhzdk13wzxhzdk14">Apache Ant # <a id="#env-ant"></a></h2>
 <p><a href="http://ant.apache.org/">Apache Ant</a> (Version 1.7 or later) must be installed in order to build FOP. Following best practices we don't include Ant with FOP anymore. You can find the <a href="http://ant.apache.org/manual/">instructions to install Ant in the Ant manual</a> on the web.</p>
-<h1 id="build-script">Run the Build Script</h1>
+<h1 id="run-the-build-script-wzxhzdk15wzxhzdk16">Run the Build Script  <a id="#build-script"></a></h1>
 <p>Change to the FOP root directory and build FOP by executing the build script (build.xml) using the "ant" command.
 The "ant" command is only available on your system if you've properly <a href="http://ant.apache.org/manual/">installed Apache Ant</a> and added Ant's location to the PATH environment variable.
 The file build.xml in the FOP root directory is the blueprint that Ant uses for the build. It contains information for numerous build targets, many of which are building blocks to more useful target, and others which are primarily used by the FOP developers. You may benefit from looking through this file to learn more about the various build targets. To obtain a complete list of useful build targets:
@@ -368,7 +368,7 @@ OR
 ant all
 To clean the build directory first:
 ant clean allIf you want to shorten the build time you can just call the "package" target which doesn't perform any automated tests during the build.</p>
-<h1 id="problems">Troubleshooting</h1>
+<h1 id="troubleshooting-wzxhzdk17wzxhzdk18">Troubleshooting  <a id="#problems"></a></h1>
 <p>If you have problems building FOP, please try the following:</p>
 <ul>
 <li>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org