xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r840936 - in /websites/staging/xmlgraphics/trunk/content: ./ fop/faq.html
Date Thu, 06 Dec 2012 13:58:34 GMT
Author: buildbot
Date: Thu Dec  6 13:58:33 2012
New Revision: 840936

Log:
Staging update by buildbot for xmlgraphics

Modified:
    websites/staging/xmlgraphics/trunk/content/   (props changed)
    websites/staging/xmlgraphics/trunk/content/fop/faq.html

Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Dec  6 13:58:33 2012
@@ -1 +1 @@
-1417820
+1417890

Modified: websites/staging/xmlgraphics/trunk/content/fop/faq.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/faq.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/faq.html Thu Dec  6 13:58:33 2012
@@ -342,17 +342,17 @@ $(document).ready(function () {
         </div>
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a></div> -->
       	<div class="section-content"><h1 id="fop-faq">FOP FAQ</h1>
-<h2 id="1-apachewzxhzdk3-fop-general-questions-wzxhzdk1wzxhzdk2">1. Apache&trade; FOP: General questions <a id="part-general"></a></h2>
-<h3 id="11-what-is-apachewzxhzdk6-fopwzxhzdk4wzxhzdk5">1.1. What is Apache&trade; FOP?<a id="fop-general"></a></h3>
+<h2 id="part-general">1. Apache&trade; FOP: General questions</h2>
+<h3 id="fop-general">1.1. What is Apache&trade; FOP?</h3>
 <p>FOP is a print formatter for <a href="#xslfo">XSL formatting objects</a>.</p>
 <p>It can be used to render an XML file containing XSL formatting objects into a page layout. The main target is PDF but other rendering targets are supported, such as AWT, PCL, text and direct printing.</p>
-<h3 id="12-what-can-i-do-with-fopwzxhzdk7wzxhzdk8">1.2. What can I do with FOP?<a id="fop-functions"></a></h3>
+<h3 id="fop-functions">1.2. What can I do with FOP?</h3>
 <p>FOP provides both an application and a library that converts an XSL FO document into paginated output.</p>
 <p>The FOP command line application can be directly used to transform XML into PDF, PostScript, PCL and other formats, there is also an AWT based viewer integrated.</p>
 <p>The library can be used in servlets and other Java applications.</p>
-<h3 id="13-what-does-fop-stand-forwzxhzdk9wzxhzdk10">1.3. What does "FOP" stand for?<a id="fop-acronym"></a></h3>
+<h3 id="fop-acronym">1.3. What does "FOP" stand for?</h3>
 <p>FOP is an acronym for <strong>F</strong> ormatting <strong>O</strong> bject <strong>P</strong> rocessor</p>
-<h3 id="14-how-does-fop-interact-with-other-apache-projectswzxhzdk11wzxhzdk12">1.4. How does FOP interact with other Apache Projects?<a id="fop-other-apache"></a></h3>
+<h3 id="fop-other-apache">1.4. How does FOP interact with other Apache Projects?</h3>
 <p>FOP is distributed with <a href="http://cocoon.apache.org/">Cocoon</a> as a PDF serializer for XSL (FO) documents.</p>
 <p><a href="http://xmlgraphics.apache.org/commons">XML Graphics Commons</a> is used with FOP to provide graphics functions that are common to a number of Apache projects.</p>
 <p><a href="http://xmlgraphics.apache.org/batik">Batik</a> is used with FOP to <a href="http://xmlgraphics.apache.org/batik/svgrasterizer.html">transcode an SVG image</a> into a PDF document.</p>
@@ -363,20 +363,20 @@ $(document).ready(function () {
 <li><a href="http://commons.apache.org/logging/">Commons Logging</a></li>
 <li><a href="http://xalan.apache.org">Xalan-J</a></li>
 </ul>
-<h3 id="15-what-is-xslwzxhzdk13wzxhzdk14">1.5. What is XSL?<a id="xsl-def"></a></h3>
+<h3 id="xsl-def">1.5. What is XSL?</h3>
 <p>XSL is a W3C standard concerned with publishing XML documents. It consists of two parts: <a href="#XSLT">XSLT</a> and <a href="#xslfo">XSL-FO</a>. The acronym expands to e <strong>X</strong> tensible <strong>S</strong> tylesheet <strong>L</strong> anguage.</p>
-<h3 id="16-what-is-xsl-fowzxhzdk15wzxhzdk16">1.6. What is XSL-FO?<a id="xslfo"></a></h3>
+<h3 id="xslfo">1.6. What is XSL-FO?</h3>
 <p>XSLFO (aka XSL-FO) is an XML vocabulary, defined by W3C Recommendation <a href="http://www.w3.org/TR/xsl/">Extensible Stylesheet Language (XSL) Version 1.1</a>, that is used to specify a pagination and other styling for page layout output. The acronym “FO” stands for <strong>F</strong> ormatting <strong>O</strong> bjects. XSLFO can be used in conjunction with <a href="#XSLT">XSLT</a> to convert from any XML format into a paginated layout ready for printing or displaying.</p>
 <p>XSLFO defines a set of elements in XML that describes the way pages are set up. The contents of the pages are filled from flows. There can be static flows that appear on every page (for headers and footers) and the main flow which fills the body of the page.</p>
 <p>Synonyms: XSL FO, XSL (FO), XSL:FO, XSL-FO, Formatting Objects</p>
-<h3 id="17-what-is-xsltwzxhzdk17wzxhzdk18">1.7. What is XSLT?<a id="XSLT"></a></h3>
+<h3 id="XSLT">1.7. What is XSLT?</h3>
 <p>XSLT describes the transformation of arbitrary XML input into other XML (like XSLFO), HTML or plain text. The “T” comes from <strong>T</strong> ransformation. For historical reasons, a transformation is often also called a “style sheet”.</p>
 <p>Synonyms: XSL transformation, XSL:T, XSL style sheet.</p>
-<h3 id="18-when-will-feature-x-be-implementedwzxhzdk19wzxhzdk20">1.8. When will feature X be implemented?<a id="when"></a></h3>
+<h3 id="when">1.8. When will feature X be implemented?</h3>
 <p>The short answer is "Don't ask." For more details, see <a href="gethelp.html#limitations">Understand FOP's Limitations</a>.</p>
-<h3 id="19-when-is-the-next-released-plannedwzxhzdk21wzxhzdk22">1.9. When is the next released planned?<a id="next-release"></a></h3>
+<h3 id="next-release">1.9. When is the next released planned?</h3>
 <p>When it's ready and the committers have enough time to go through the time-consuming process of creating a release. We released version 1.0 on 21 July 2010, and will release version 1.1 when we accumulated enough additions and bug fixes. If you want to speed up the process, consider <a href="dev/index.html#involved">contributing</a> to FOP.</p>
-<h3 id="110-why-did-you-redesign-fopwzxhzdk23wzxhzdk24">1.10. Why did you redesign FOP?<a id="redesign"></a></h3>
+<h3 id="redesign">1.10. Why did you redesign FOP?</h3>
 <p>The code redesign of FOP was necessary in order to be able to adress following issues:</p>
 <ul>
 <li>
@@ -395,13 +395,13 @@ $(document).ready(function () {
 <p>Table Layout</p>
 </li>
 </ul>
-<h3 id="111-how-can-i-contributewzxhzdk25wzxhzdk26">1.11. How can I contribute?<a id="contribute"></a></h3>
+<h3 id="contribute">1.11. How can I contribute?</h3>
 <p>There are numerous ways that you can help. They are outlined in the <a href="dev/index.html">Developer's Introduction</a> page.</p>
-<h2 id="2-problems-running-fop-wzxhzdk27wzxhzdk28">2. Problems running FOP <a id="part-running"></a></h2>
-<h3 id="21-i-get-the-error-error-master-reference-for-fopage-sequence-matches-no-simple-page-master-or-page-sequence-masterwzxhzdk29wzxhzdk30">2.1. I get the error: [ERROR]: 'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or 'page-sequence-master'<a id="no-page-master"></a></h3>
+<h2 id="part-running">2. Problems running FOP</h2>
+<h3 id="no-page-master">2.1. I get the error: [ERROR]: 'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or 'page-sequence-master'</h3>
 <p>FOP was changed to be in accordance with the latest standard (see <a href="resources.html#specs-xslfo">XSL standard</a>).The page master for a fo:page-sequence is now referenced by the master-reference attribute. Replace the master-name attributes of your fo:page-sequence elements by master-reference attributes. You have to do this also for fo:single-page-master-reference, fo:repeatable-page-master-reference and fo:conditional-page-master-reference elements in you page master definitions.</p>
 <p>Update your FO documents and style sheets.</p>
-<h3 id="22-i-get-a-noclassdeffound-exceptionwzxhzdk31wzxhzdk32">2.2. I get a NoClassDefFound exception.<a id="NoClassDefFound"></a></h3>
+<h3 id="NoClassDefFound">2.2. I get a NoClassDefFound exception.</h3>
 <p>This is typically a problem with your classpath.</p>
 <p>If you are running FOP from the command line:</p>
 <ul>
@@ -414,36 +414,35 @@ $(document).ready(function () {
 </ul>
 <p>If you run FOP embedded in your servlet, web application or other Java application, check the classpath of the application. Check the also the information pertaining to <a href="1.0/servlets.html#servlet-engine">servlet engines</a> for further hints.</p>
 <p>If you downloaded the source distribution, or a snapshop from the repository, remember you have to build the FOP jars first.</p>
-<h3 id="23-i-get-a-nosuchmethodexception-or-a-nosuchfieldexception-exceptionwzxhzdk33wzxhzdk34">2.3. I get a NoSuchMethodException or a NoSuchFieldException exception.<a id="NoSuchMethodException"></a></h3>
+<h3 id="NoSuchMethodException">2.3. I get a NoSuchMethodException or a NoSuchFieldException exception.</h3>
 <p>This is usually caused by an older version of one of the FOP jars or old XML tools in the classpath.</p>
 <p>Incompatible versions of Batik may also cause this problem. Use the version of Batik that comes with FOP. It is not always possible to use a more recent version of Batik.</p>
-<h3 id="24-i-get-an-outofmemoryexceptionwzxhzdk35wzxhzdk36">2.4. I get an OutOfMemoryException.<a id="OutOfMemoryException"></a></h3>
+<h3 id="OutOfMemoryException">2.4. I get an OutOfMemoryException.</h3>
 <p>See <a href="1.0/running.html#memory">FOP Memory</a>.</p>
-<h3 id="25-i-get-a-malformedurlexceptionwzxhzdk37wzxhzdk38">2.5. I get a MalformedURLException.<a id="MalformedURLException"></a></h3>
-<p><a id="MalformedURL"></a>
-What you probably think of as "file names" are usually URLs, in particular the <code>src</code> attribute of fo:external-graphic.</p>
+<h3 id="MalformedURL">2.5. I get a MalformedURLException. {#MalformedURLException}</h3>
+<p>What you probably think of as "file names" are usually URLs, in particular the <code>src</code> attribute of fo:external-graphic.</p>
 <p>Because usage of URLs is growing, you should make yourself familiar with it. The relevant specification is <a href="http://www.rfc-editor.org/rfc/rfc2396.txt">RFC 2396</a>.</p>
 <p>In a nutshell, the correct syntax for an absolute file URL is <code>file:///some/path/file.ext</code> on Unix and <code>file:///z:/some/path/file.ext</code> on Windows systems. Note the triple slash, and also that only forward slashes are used, even on windows.</p>
 <p>A relative file URL starts with anything but a slash, and doesn't have the <code>file:</code> prefix, for example <code>file.ext</code>, <code>path/file.ext</code> or <code>../file.ext</code>. The string <code>file:path/file.ext</code> is <em>not</em> a relative URL, in fact, it isn't a valid URL at all. A relative URL is subject to a resolving process, which transforms it into an absolute URL.</p>
-<h3 id="26-i-get-an-error-null-or-a-nullpointerexceptionwzxhzdk41wzxhzdk42">2.6. I get an "[ERROR]: null", or a NullPointerException.<a id="NullPointerException"></a></h3>
+<h3 id="NullPointerException">2.6. I get an "[ERROR]: null", or a NullPointerException.</h3>
 <p>This is very likely a bug in FOP. If you encounter this error, please <a href="bugs.html#issues_new">Open a New Bug</a>.</p>
-<h3 id="27-fop-returns-the-message-error-objectproperty-x-is-not-implemented-yet-when-will-it-be-implementedwzxhzdk43wzxhzdk44">2.7. FOP returns the message "[ERROR] object|property - 'x' is not implemented yet." When will it be implemented?<a id="not-implemented"></a></h3>
+<h3 id="not-implemented">2.7. FOP returns the message "[ERROR] object|property - 'x' is not implemented yet." When will it be implemented?</h3>
 <p>See FOP's Standards <a href="compliance.html">Compliance</a> page.</p>
-<h3 id="28-fop-hangs-fop-does-not-exitwzxhzdk45wzxhzdk46">2.8. FOP hangs. FOP does not exit.<a id="fop-hangs"></a></h3>
+<h3 id="fop-hangs">2.8. FOP hangs. FOP does not exit.</h3>
 <p>The most likely reason is a known problem with the Java run time environment which is triggered by rendering SVGs. Sun's JDK 1.4 and later do not have this problem. See also <a href="#svghangs">FOP does not exit if a SVG is included</a>.</p>
 <p>Another possibility is that FOP went into a non terminating loop. Usually this is indicated by lots of log messages of the form "[INFO]: [NNNN]" which indicate a new page has been started or <a href="#boxoverflow">box overflows</a>. After some time, FOP will crash with an OutOfMemoryException.</p>
 <p>If you called the FOP command line application from some other program, for example from Java using Runtime.exec(), it may hang while trying to write log entries to the output pipe. You have to read the FOP output regularly to empty the pipe buffer. It is best to avoid exec'ing FOP, use the library interface instead.</p>
 <p>If you can reproduce this problem given a specific input and configuration,
 then please <a href="bugs.html#issues_new">Open a New Bug</a>.</p>
-<h3 id="29-fop-runs-forever-writing-lots-of-to-the-logwzxhzdk47wzxhzdk48">2.9. FOP runs forever, writing lots of "&gt;" to the log.<a id="boxoverflow"></a></h3>
+<h3 id="boxoverflow">2.9. FOP runs forever, writing lots of "&gt;" to the log.</h3>
 <p>There is something too large to fit into the intended place, usually a large image, a table whose rows are kept together or a block with a space-before or space-after larger than the page size. Catch the first page showing this phenomenon and check it. If it is not obvious which element causes the trouble, remove stuff until the problem goes away. Decrease the dimensions of the offending element or property, or increase the dimension of the enclosing element or container, or remove keep-with-* properties.</p>
-<h3 id="210-fop-cannot-find-a-file-for-foexternal-graphicswzxhzdk49wzxhzdk50">2.10. FOP cannot find a file for fo:external-graphics.<a id="cannot-find-external-graphics"></a></h3>
+<h3 id="cannot-find-external-graphics">2.10. FOP cannot find a file for fo:external-graphics.</h3>
 <p>The src attribute of the <code>fo:external-graphics</code> element requires a URI, not a file name. See <a href="fo.html#external-resources">External Resources</a> for more information about specifying URIs.</p>
-<h3 id="211-fop-does-not-find-my-fontswzxhzdk51wzxhzdk52">2.11. FOP does not find my fonts.<a id="fonts-not-found"></a></h3>
+<h3 id="fonts-not-found">2.11. FOP does not find my fonts.</h3>
 <p>Did you get: “Failed to read font metrics file C:\foo\arial.xml: File "C:\foo\arial.xml" not found”? The value for the metrics-file attribute in the user config file is actually an URL, not a file name. Use "file:///C:/foo/arial.xml" instead.</p>
 <p>If you used a relative URL, make sure your application has the working directory you expect. Currently FOP does not use the baseDir for resolving relative URLs pointing to font metric files.</p>
 <p>Try also setting the <a href="1.0/configuration.html#general-elements">font-base configuration</a>.</p>
-<h3 id="212-i-get-a-saxexception-mismatch-page-sequence-vs-root-or-similarwzxhzdk53wzxhzdk54">2.12. I get a SAXException: Mismatch: page-sequence vs. root (or similar).<a id="saxexception-mismatch"></a></h3>
+<h3 id="saxexception-mismatch">2.12. I get a SAXException: Mismatch: page-sequence vs. root (or similar).</h3>
 <p>The full exception usually looks similar to this:
 Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root
         (http://www.w3.org/1999/XSL/Format)
@@ -472,21 +471,21 @@ This exception is usually a follow-up er
 </pre></div>
 
 
-<h3 id="213-the-following-message-appears-after-recently-upgrading-fop-io-exception-while-reading-font-cache-orgapachefopfontsembedfontinfo-local-class-incompatible-stream-classdesc-serialversionuid-9075848379822693399-local-class-serialversionuid-8755432068669997367-discarding-font-cache-filewzxhzdk55wzxhzdk56">2.13. The following message appears after recently upgrading FOP: "I/O exception while reading font cache (org.apache.fop.fonts.EmbedFontInfo; local class incompatible: stream classdesc serialVersionUID = -9075848379822693399, local class serialVersionUID = 8755432068669997367). Discarding font cache file."<a id="faq-N1026C"></a></h3>
+<h3 id="faq-N1026C">2.13. The following message appears after recently upgrading FOP: "I/O exception while reading font cache (org.apache.fop.fonts.EmbedFontInfo; local class incompatible: stream classdesc serialVersionUID = -9075848379822693399, local class serialVersionUID = 8755432068669997367). Discarding font cache file."</h3>
 <p>This message is a warning that FOP failed to read from the Font cache. Which means any Font auto detection or Font directories will be re-scanned. So this failure doesn't break anything.</p>
 <p>To avoid the warning you can simply delete the old Font Cache file, which lives in ${base}\conf\font.cache (see <a href="1.0/configuration.html#general-elements">font-base configuration</a>).</p>
-<h2 id="3-problems-with-fop-output-wzxhzdk57wzxhzdk58">3. Problems with FOP output <a id="part-output"></a></h2>
-<h3 id="31-leaders-dont-work-in-current-fop-instead-of-filling-the-line-only-three-dots-or-a-short-ruler-is-outputwzxhzdk59wzxhzdk60">3.1. Leaders don't work in current FOP. Instead of filling the line, only three dots or a short ruler is output.<a id="leader-expansion"></a></h3>
+<h2 id="part-output">3. Problems with FOP output</h2>
+<h3 id="leader-expansion">3.1. Leaders don't work in current FOP. Instead of filling the line, only three dots or a short ruler is output.</h3>
 <p>Leaders still work, in fact they work better than ever before. You'll just have to add <code>text-align="justify"</code> and/or <code>text-align-last="justify"</code> to the block with the leader. Be sure you haven't accidentally overridden the <code>leader-length.maximum="100%"</code> default value.</p>
 <p>Earlier versions of FOP used to expand a leader to fill the rest of the line unconditionally, anything following it, like page numbers in a TOC, was actually shifted beyond the right margin.</p>
 <p>The new implementation uses leader-length.optimum to determine where to break the line, and expands the leader only further if the line should be filled, as indicated by the text-align and text-align-last properties.</p>
 <p>Actually due to the fuzzyness of the specification both the old and the new method are conformant (although adding text after the expanded leader in the old variant never was).</p>
 <p>If you want to have a longer ruler or space in a non-justified line, you have to increase the leader-length.optimum property.</p>
-<h3 id="32-why-does-fop-insert-a-blank-page-between-my-page-sequenceswzxhzdk61wzxhzdk62">3.2. Why does FOP insert a blank page between my page sequences?<a id="blank-page-between-page-sequences"></a></h3>
+<h3 id="blank-page-between-page-sequences">3.2. Why does FOP insert a blank page between my page sequences?</h3>
 <p>This is because spec conformance has been improved.</p>
 <p>The <a href="http://www.w3.org/TR/xsl11/#force-page-count">force-page-count property</a> controls how a FO processor pads page sequences in order to get certain page counts or last page numbers. The default is " <code>auto</code> ". With this setting, if the next page sequence begins with an odd page number because you set the initial-page-number, and the current page sequence also ends with an odd page number, the processor inserts a blank page to keep odd and even page numbers alternating (similar for the case the current page sequence ends with an even page number and the next page sequence starts with an even page number).</p>
 <p>If you don't want to have this blank page, use <code>force-page-count="no-force"</code>.</p>
-<h3 id="33-why-is-my-graphic-not-renderedwzxhzdk63wzxhzdk64">3.3. Why is my graphic not rendered?<a id="graphic-not-displayed"></a></h3>
+<h3 id="graphic-not-displayed">3.3. Why is my graphic not rendered?</h3>
 <p>Most commonly, the external file is not being found by FOP. Check the following:</p>
 <ul>
 <li>
@@ -511,11 +510,11 @@ This exception is usually a follow-up er
 <p>There may be something (static content) that is obscuring the graphic. (This is very rare).</p>
 </li>
 </ul>
-<h3 id="34-my-graphical-images-do-not-work-properlywzxhzdk65wzxhzdk66">3.4. My graphical images do not work properly.<a id="png-fails"></a></h3>
+<h3 id="png-fails">3.4. My graphical images do not work properly.</h3>
 <p>See <a href="1.0/graphics.html">FOP Graphics Formats</a> for a list of supported graphics formats and related issues.</p>
-<h3 id="35-why-is-my-graphic-rendered-at-a-different-resolution-than-it-was-createdwzxhzdk67wzxhzdk68">3.5. Why is my graphic rendered at a different resolution than it was created?<a id="graphic-resolution"></a></h3>
+<h3 id="graphic-resolution">3.5. Why is my graphic rendered at a different resolution than it was created?</h3>
 <p>See <a href="1.0/graphics.html#resolution">Graphics Resolution</a>.</p>
-<h3 id="36-keep-with-next-keep-with-previous-keep-together-dont-workwzxhzdk69wzxhzdk70">3.6. Keep-with-next, keep-with-previous, keep-together don't work.<a id="keep-with"></a></h3>
+<h3 id="keep-with">3.6. Keep-with-next, keep-with-previous, keep-together don't work.</h3>
 <p>Current FOP releases have extensive support for these properties. The current release, FOP 1.0, still supports the values "always" and "never" only, no numerical values. There may be a few places where keep-* still don't work, this should be very rare.</p>
 <p>The concept is called “blind table”. The table is used for pure layout reasons and is not obvious in the output.</p>
 <p>An example of an image and the image caption to be kept together:
@@ -537,10 +536,10 @@ This exception is usually a follow-up er
   </fo:table-body>
 </fo:table>
 Consider upgrading to the latest version which supports keeps.</p>
-<h3 id="37-my-tables-are-missing-or-missing-their-contentwzxhzdk89wzxhzdk90">3.7. My tables are missing, or missing their content.<a id="table-missing"></a></h3>
+<h3 id="table-missing">3.7. My tables are missing, or missing their content.</h3>
 <p>Check for <code>fo:table-body</code> around the rows. Usually FOP will catch this problem.</p>
 <p>Also, the <code>fo:table-with-caption</code> element is not implemented, tables within such an element are dropped too. FOP generates an error message for this problem. Older DocBook style sheets generate <code>fo:table-with-caption</code> elements, so watch out.</p>
-<h3 id="38-text-overflowing-table-cells-and-the-like-is-not-clipped-long-text-flows-into-adjacent-cellsblock-obscuring-stuff-therewzxhzdk91wzxhzdk92">3.8. Text overflowing table cells and the like is not clipped. Long text flows into adjacent cells/block, obscuring stuff there.<a id="cells-overflow"></a></h3>
+<h3 id="cells-overflow">3.8. Text overflowing table cells and the like is not clipped. Long text flows into adjacent cells/block, obscuring stuff there.</h3>
 <p>Since the <code>overflow</code> property doesn't apply to table-cell, you can wrap the cell content in a block-container and specify <code>overflow="hidden"</code> there. Alternatively, if you have long words overflowing table cells, try to get them hyphenated. Artificial names like product identifications or long numbers usually aren't hyphenated. You can try special processing at XSLT level, like</p>
 <ul>
 <li>
@@ -554,51 +553,51 @@ Consider upgrading to the latest version
 </li>
 </ul>
 <p>Check the <a href="http://dpawson.co.uk/xsl">XSL FAQ</a> and the <a href="http://www.mulberrytech.com/xsl/xsl-list/">XSL list archive</a> for how to perform these tasks.</p>
-<h3 id="39-the-contents-of-table-cells-dont-wrapwzxhzdk93wzxhzdk94">3.9. The contents of table cells don’t wrap<a id="table-cell-wrap"></a></h3>
+<h3 id="table-cell-wrap">3.9. The contents of table cells don’t wrap</h3>
 <p>You probably have <code>keep-together="always"</code> set on the table cell. See <a href="#keep-together">next question</a>.</p>
-<h3 id="310-fop-behaves-differently-from-earlier-versions-when-keep-togetheralways-is-set-on-table-cellswzxhzdk95wzxhzdk96">3.10. FOP behaves differently from earlier versions when keep-together="always" is set on table cells<a id="keep-together"></a></h3>
+<h3 id="keep-together">3.10. FOP behaves differently from earlier versions when keep-together="always" is set on table cells</h3>
 <p>Support for inline-level keeps has been added in FOP 0.95, and setting <code>keep-together="always"</code> also implicitly sets <code>keep-together.within-line="always"</code>, which forbids FOP to break the text into multiple lines. Set <code>keep-together.within-column="always"</code> on table-cell instead. It’s a good idea not to use the shorthand <code>keep-together="always"</code> at all!</p>
-<h3 id="311-fop-tells-me-the-contents-of-row-1-are-taller-than-they-should-be-what-does-that-meanwzxhzdk97wzxhzdk98">3.11. FOP tells me: "The contents of row 1 are taller than they should be". What does that mean?<a id="row-height-constraint"></a></h3>
+<h3 id="row-height-constraint">3.11. FOP tells me: "The contents of row 1 are taller than they should be". What does that mean?</h3>
 <p>This is usually caused by setting a "height" on a table-row or table-cell and when the content is higher than the specified height. By setting "height" (a so-called corresponding property) you <a href="http://www.w3.org/TR/xsl11/#d0e4413">implicitely set</a> block-progression-dimension.minimum, block-progression-dimension.optimum and block-progression-dimension.maximum to the same value. You'll get some information about that in the warning message. Look for something like: "MinOptMax[min=opt=max=14000]".</p>
 <p>Assuming you set the height on the table-row to 14pt and your content is 75pt high, a constraint (maximum=14pt) is violated. Normally, you just want to make sure with the "height" property that the row has a minimum height. If that is so, the right solution is to specify block-progression-dimension.minimum="14pt" instead of height="14pt".</p>
-<h3 id="312-page-numbers-are-not-properly-right-alignedwzxhzdk99wzxhzdk100">3.12. Page numbers are not properly right aligned.<a id="page-number-align"></a></h3>
+<h3 id="page-number-align">3.12. Page numbers are not properly right aligned.</h3>
 <p>This happens for <code>fo:page-number-citation</code> elements if the citation occurs before FOP formatted the requested page, usually in TOC or index pages. It is caused by the problem that FOP has to guess how much space the yet unknown page number will occupy, and usually the guesses are somewhat off.</p>
 <p>The most recent FOP releases should have this problem fixed. Check whether you can upgrade.</p>
-<h3 id="313-hyphenation-does-not-workwzxhzdk101wzxhzdk102">3.13. Hyphenation does not work.<a id="hyphenation-fails"></a></h3>
+<h3 id="hyphenation-fails">3.13. Hyphenation does not work.</h3>
 <p>Make sure you have set the language and optionally the country attributes for an appropriate XSL-FO element (fo:page-sequence, fo:block or fo:character):
 <fo:page-sequence language="fi">
 See <a href="1.0/hyphenation.html#support">Hyphenation Support</a> for details and instructions on using hyphenation with FOP.</p>
 <p>Explicitly enable hyphenation for an appropriate XSL-FO element (fo:block, fo:character):
 <fo:block hyphenate="true"></p>
-<h3 id="314-when-i-use-margins-my-content-in-a-nested-table-or-block-containers-gets-indented-twice-is-this-a-bugwzxhzdk105wzxhzdk106">3.14. When I use margins, my content in a nested table or block-containers gets indented twice. Is this a bug?<a id="indent-inheritance"></a></h3>
+<h3 id="indent-inheritance">3.14. When I use margins, my content in a nested table or block-containers gets indented twice. Is this a bug?</h3>
 <p>No, although you might easily think so. The problem has to do with property inheritance of the start-indent and end-indent properties to which the margin properties are mapped. Apache FOP strictly adheres to the XSL-FO specification here which many other commercial FO implementations don't do to better meet end-user expectations. You can make FOP behave like these if you set <code>setBreakIndentInheritanceOnReferenceAreaBoundary(true)</code> on the FOUserAgent. The better way is to reset <code>start-indent</code> and <code>end-indent</code> to "0pt" on table-body or block-container. For further details, please consult the <a href="http://wiki.apache.org/xmlgraphics-fop/IndentInheritance">Wiki page on Indent Inheritance</a>.</p>
-<h3 id="315-why-is-the-output-of-java2dawt-based-renderers-different-than-for-example-pdf-or-pswzxhzdk107wzxhzdk108">3.15. Why is the output of Java2D/AWT-based renderers different than, for example, PDF or PS?<a id="pdf-ps-java2d-differences"></a></h3>
+<h3 id="pdf-ps-java2d-differences">3.15. Why is the output of Java2D/AWT-based renderers different than, for example, PDF or PS?</h3>
 <p>If you render the same document once to a PNG or TIFF and once into a PDF, the output may not be the same, i.e. line breaks are different or lines may have different heights. The reason for this: The Java2D-based renderers use the font subsystem of Java2D/AWT. The PDF and PS renderers use FOP's own font subsystem which provides much better font metrics than Java2D. These can lead to different layout decisions when the same document is rendered with different renderers. An alternative approach to fix this problem might be available but it hasn't been tested, yet. See also the <a href="1.0/output.html#general-fonts">notes on fonts in the various output formats</a>.</p>
-<h2 id="4-embedding-fop-using-fop-in-a-servlet-wzxhzdk109wzxhzdk110">4. Embedding FOP. Using FOP in a servlet. <a id="part-embedding"></a></h2>
-<h3 id="41-how-do-i-use-fop-in-a-servletwzxhzdk111wzxhzdk112">4.1. How do I use FOP in a servlet?<a id="servlet"></a></h3>
+<h2 id="part-embedding">4. Embedding FOP. Using FOP in a servlet.</h2>
+<h3 id="servlet">4.1. How do I use FOP in a servlet?</h3>
 <p>See <a href="1.0/servlets.html">Using FOP in a Servlet</a>.</p>
-<h3 id="42-how-do-i-use-fop-in-a-servlet-with-an-xslt-transformationwzxhzdk113wzxhzdk114">4.2. How do I use FOP in a servlet with an XSLT transformation?<a id="servlet-with-xslt"></a></h3>
+<h3 id="servlet-with-xslt">4.2. How do I use FOP in a servlet with an XSLT transformation?</h3>
 <p>See <a href="1.0/servlets.html#xslt">Using FOP in a Servlet with XSLT Transformation</a>.</p>
-<h3 id="43-how-do-i-pass-parameters-to-the-xslt-transformationwzxhzdk115wzxhzdk116">4.3. How do I pass parameters to the XSLT transformation?<a id="servlet-xslt-params"></a></h3>
+<h3 id="servlet-xslt-params">4.3. How do I pass parameters to the XSLT transformation?</h3>
 <p>See <a href="1.0/servlets.html#xslt">Using FOP in a Servlet with XSLT Transformation</a>.</p>
-<h3 id="44-how-do-i-use-my-own-fonts-when-running-fop-from-a-servletwzxhzdk117wzxhzdk118">4.4. How do I use my own fonts when running FOP from a servlet?<a id="servlet-nonstd-fonts"></a></h3>
+<h3 id="servlet-nonstd-fonts">4.4. How do I use my own fonts when running FOP from a servlet?</h3>
 <p>Declare the fonts in the <code>userconfig.xml</code> file as usual. See <a href="#usercfg">loading the user configuration file</a> for further details.</p>
-<h3 id="45-how-do-i-set-the-basedir-property-in-a-servlet-environmentwzxhzdk119wzxhzdk120">4.5. How do I set the baseDir property in a servlet environment?<a id="servlet-baseDir"></a></h3>
+<h3 id="servlet-baseDir">4.5. How do I set the baseDir property in a servlet environment?</h3>
 <p>See <a href="1.0/embedding.html#config-internal">Setting the Configuration Programmatically</a>.</p>
-<h3 id="46-how-do-i-use-a-user-configuration-file-from-a-servletwzxhzdk121wzxhzdk122">4.6. How do I use a user configuration file from a servlet?<a id="usercfg"></a></h3>
+<h3 id="usercfg">4.6. How do I use a user configuration file from a servlet?</h3>
 <p>See <a href="1.0/embedding.html#config-external">Using a Configuration File in an Embedded App</a>.</p>
-<h3 id="47-i-keep-getting-noclassdeffound-and-other-exceptions-how-do-i-get-fop-working-for-various-servlet-engineswzxhzdk123wzxhzdk124">4.7. I keep getting NoClassDefFound and other exceptions. How do I get FOP working for various servlet engines?<a id="servlet-NoClassDefFound"></a></h3>
+<h3 id="servlet-NoClassDefFound">4.7. I keep getting NoClassDefFound and other exceptions. How do I get FOP working for various servlet engines?</h3>
 <p>See <a href="1.0/servlets.html#servlet-engine">Servlet Engines</a>.</p>
-<h3 id="48-can-fop-be-used-in-multithreaded-environmentswzxhzdk125wzxhzdk126">4.8. Can FOP be used in multithreaded environments?<a id="multithreaded"></a></h3>
+<h3 id="multithreaded">4.8. Can FOP be used in multithreaded environments?</h3>
 <p>See <a href="1.0/embedding.html#multithreading">Multithreading FOP</a>.</p>
-<h2 id="5-svg-specific-questions-wzxhzdk127wzxhzdk128">5. SVG specific questions <a id="part-svg"></a></h2>
-<h3 id="51-the-rendering-of-svg-text-in-my-pdf-is-of-poor-quality-can-i-control-thiswzxhzdk129wzxhzdk130">5.1. The rendering of SVG text in my PDF is of poor quality. Can I control this?<a id="svg-text"></a></h3>
+<h2 id="part-svg">5. SVG specific questions</h2>
+<h3 id="svg-text">5.1. The rendering of SVG text in my PDF is of poor quality. Can I control this?</h3>
 <p>See <a href="1.0/graphics.html#svg-pdf-text">Placing SVG Text into PDF</a>.</p>
-<h3 id="52-how-do-i-use-fop-with-svg-on-headless-serverswzxhzdk131wzxhzdk132">5.2. How do I use FOP with SVG on headless servers?<a id="svg-headless"></a></h3>
+<h3 id="svg-headless">5.2. How do I use FOP with SVG on headless servers?</h3>
 <p>See <a href="1.0/graphics.html#batik">FOP: Graphics (Batik)</a>.</p>
-<h3 id="53-fop-does-not-exit-if-a-svg-is-includedwzxhzdk133wzxhzdk134">5.3. FOP does not exit if a SVG is included.<a id="svghangs"></a></h3>
+<h3 id="svghangs">5.3. FOP does not exit if a SVG is included.</h3>
 <p>Applies to older FOP versions and JDK 1.3 and older. That's because there is an AWT thread hanging around. The solution is to put a System.exit(0) somewhere.</p>
-<h3 id="54-i-have-problems-with-svg-referring-to-gradients-etc-using-uristuff-i-get-a-malformedurlexceptionwzxhzdk135wzxhzdk136">5.4. I have problems with SVG referring to gradients etc. using "uri(#stuff)". I get a MalformedURLException.<a id="svg-url"></a></h3>
+<h3 id="svg-url">5.4. I have problems with SVG referring to gradients etc. using "uri(#stuff)". I get a MalformedURLException.</h3>
 <p>This is really a "resolving relative URI" problem with some twists. The problem is that the <code>#stuff</code> URL fragment identifier is resolved within the current SVG document. So the reference must be valid within the XML subset and it cannot reference other SVG documents in the same XML file. Some options to try:</p>
 <ul>
 <li>
@@ -617,16 +616,16 @@ See <a href="1.0/hyphenation.html#suppor
 <p>In any case, the referenced stuff has to be pointed to by an URL. It doesn't necessarily have to be a file URL, HTTP should also work. Also, expect a performance hit in all cases, because another XML file has to be retrieved and parsed.</p>
 <p>Ultimately, both FOP and especially Batik should be fixed to make your code work as expected, but this will not only take some time but also some effort by a standard committee in order to make the semantics of this kind of references in embedded SVG clearer.</p>
 <p>See also <a href="#MalformedURL">MalformedURLException</a></p>
-<h3 id="55-why-is-my-svg-rendered-at-a-size-different-from-that-specified-in-my-foexternal-graphic-elementwzxhzdk137wzxhzdk138">5.5. Why is my SVG rendered at a size different from that specified in my fo:external-graphic element?<a id="svg-scaling"></a></h3>
+<h3 id="svg-scaling">5.5. Why is my SVG rendered at a size different from that specified in my fo:external-graphic element?</h3>
 <p>See <a href="1.0/graphics.html#svg-scaling">SVG Scaling</a>.</p>
-<h3 id="56-fop-fails-with-something-like-the-attribute-width-of-the-element-wzxhzdk139-is-required-whats-wrongwzxhzdk140wzxhzdk141">5.6. FOP fails with something like "The attribute "width" of the element <rect> is required". What's wrong?<a id="svg-attribute-required"></a></h3>
+<h3 id="svg-attribute-required">5.6. FOP fails with something like "The attribute "width" of the element <rect> is required". What's wrong?</h3>
 <p>This phenomenon is not a bug in FOP, but rather in the dependent packages: Apache Batik, Apache Xalan-J and SAXON. The bug in Apache Batik will be fixed in the next release. In the latest release of Apache Xalan-J, the bug is already fixed. It only occurs in the Xalan version bundled with Sun's JVM, because Sun uses a rather old version.</p>
 <p>Bug description: In a namespace-enabled Level 3 DOM, an attribute in the default namespace must be set with <code>"null"</code> as the value for the namespace URI. SAX, on the other side, uses an empty string ("") to designate the default namespace. Many packages appear to not properly handle this difference in which case they still use the empty string as the namespace URI parameter for <code>org.w3c.dom.Element.setAttributeNS()</code>.</p>
 <p>Work-around: Use the latest version of Apache Xalan-J. Note that starting with JDK 1.4 it's not enough to replace Xalan-J on the normal application classpath and you need to override the Xalan-J version bundled with the Sun JVM using the <a href="http://java.sun.com/j2se/1.4.2/docs/guide/standards/">Endorsed Standards Override Mechanism</a>, i.e. you must place Xalan-J in the <code>"lib/endorsed"</code> directory of your JRE.</p>
-<h2 id="6-pdf-specific-includes-acrobat-peculiarities-wzxhzdk142wzxhzdk143">6. PDF specific (includes Acrobat peculiarities) <a id="part-pdf"></a></h2>
-<h3 id="61-how-do-i-embed-fonts-in-pdfwzxhzdk144wzxhzdk145">6.1. How do I embed fonts in PDF?<a id="pdf-embed-font"></a></h3>
+<h2 id="part-pdf">6. PDF specific (includes Acrobat peculiarities)</h2>
+<h3 id="pdf-embed-font">6.1. How do I embed fonts in PDF?</h3>
 <p>See the <a href="1.0/fonts.html">Fonts</a> page for information about embedding fonts.</p>
-<h3 id="62-some-characters-are-not-displayed-or-displayed-incorrectly-or-displayed-as-wzxhzdk146wzxhzdk147">6.2. Some characters are not displayed, or displayed incorrectly, or displayed as “#”.<a id="pdf-characters"></a></h3>
+<h3 id="pdf-characters">6.2. Some characters are not displayed, or displayed incorrectly, or displayed as “#”.</h3>
 <p>This usually means the selected font doesn't have a glyph for the character.</p>
 <p>The standard text fonts supplied with Acrobat Reader have mostly glyphs for characters from the ISO Latin 1 character set. For a variety of reasons, even those are not completely guaranteed to work, for example you can't use the fi ligature from the standard serif font. Check the <a href="1.0/output.html#pdf-fonts">overview</a> for the default PDF fonts.</p>
 <p>If you use your own fonts, the font must have a glyph for the desired character. Furthermore the font must be available on the machine where the PDF is viewed or it must have been embedded in the PDF file. See <a href="1.0/fonts.html">embedding fonts</a>.</p>
@@ -634,79 +633,79 @@ See <a href="1.0/hyphenation.html#suppor
 <fo:inline font-family="Symbol">&#x2205;</fo:inline>
 The "#" shows up if the selected font does not define a glyph for the required character, for example if you try:
 <fo:inline font-family="Helvetica">&#x2205;</fo:inline></p>
-<h3 id="63-what-tools-are-available-for-post-processing-my-pdf-documentwzxhzdk154wzxhzdk155">6.3. What tools are available for post-processing my PDF document?<a id="pdf-postprocess"></a></h3>
+<h3 id="pdf-postprocess">6.3. What tools are available for post-processing my PDF document?</h3>
 <p>See <a href="1.0/output.html#pdf-postprocess">PDF Post-processing</a>.</p>
-<h3 id="64-how-do-i-add-security-features-encryption-disable-printing-to-my-pdf-documentwzxhzdk156wzxhzdk157">6.4. How do I add security features (encryption, disable printing) to my PDF document?<a id="pdf-security"></a></h3>
+<h3 id="pdf-security">6.4. How do I add security features (encryption, disable printing) to my PDF document?</h3>
 <p>See <a href="1.0/pdfencryption.html">PDF Encryption</a>. See also <a href="1.0/output.html#pdf-postprocess">PDF Post-processing</a>.</p>
-<h3 id="65-how-do-i-add-document-properties-title-author-etc-to-my-pdf-documentwzxhzdk158wzxhzdk159">6.5. How do I add document properties (title, author, etc.) to my PDF document?<a id="pdf-doc-properties"></a></h3>
+<h3 id="pdf-doc-properties">6.5. How do I add document properties (title, author, etc.) to my PDF document?</h3>
 <p>See <a href="1.0/metadata.html">Metadata</a>.</p>
-<h3 id="66-how-do-i-add-watermarks-to-my-pdf-documentwzxhzdk160wzxhzdk161">6.6. How do I add watermarks to my PDF document?<a id="pdf-watermark"></a></h3>
+<h3 id="pdf-watermark">6.6. How do I add watermarks to my PDF document?</h3>
 <p>See <a href="1.0/output.html#pdf-watermark">PDF Watermarks</a>.</p>
-<h3 id="67-the-pdf-is-printed-contortedwzxhzdk162wzxhzdk163">6.7. The PDF is printed contorted!<a id="pdf-print-contortion"></a></h3>
+<h3 id="pdf-print-contortion">6.7. The PDF is printed contorted!</h3>
 <p>Check the paper size in Acrobat settings and the "fit to page" print setting. Contorted printing is often caused by a mismatched paper format, for example if the setting is "US Letter" but the PDF was made for A4. Sometimes also the printer driver interferes, check its settings too.</p>
-<h3 id="68-how-do-i-control-the-acrobat-bookmark-displaywzxhzdk164wzxhzdk165">6.8. How do I control the Acrobat bookmark display?<a id="pdf-bookmark-display"></a></h3>
+<h3 id="pdf-bookmark-display">6.8. How do I control the Acrobat bookmark display?</h3>
 <p>FOP supports the starting-state property of the XSL 1.1 <a href="http://www.w3.org/TR/xsl11/#fo_bookmark">fo:bookmark</a> element which can be used for this. The color, font-style and font-weight properties on <a href="http://www.w3.org/TR/xsl11/#fo_bookmark-title">fo:bookmark-title</a> are not yet supported, though.</p>
-<h3 id="69-how-can-i-get-rid-of-strange-single-pixel-lines-inside-table-borders-or-between-table-cells-in-adobe-acrobatwzxhzdk166wzxhzdk167">6.9. How can I get rid of strange single-pixel lines inside table borders or between table cells in Adobe Acrobat?<a id="acrobat-anti-aliasing"></a></h3>
+<h3 id="acrobat-anti-aliasing">6.9. How can I get rid of strange single-pixel lines inside table borders or between table cells in Adobe Acrobat?</h3>
 <p>Since Apache FOP supports the collapsed border model, every border segment consists of two separate shapes. This is due to the fact that each side of the border segment can have a different color. Now, Adobe Acrobat may display thin (1 pixel wide) lines inside the border segment or sometimes even between to adjacent colored rectangles making up the background of a block or table cell. This effect is due to the way Adobe Acrobat does anti-aliasing. Adobe's algorithm seems to cause these artifacts. Other PDF viewers don't have that problem. Or at least we haven't had any reports in that direction.</p>
 <p>First of all, these artifacts do not appear in print since no anti-aliasing is done by Adobe Acrobat in this case (except maybe if you tell Acrobat to print the page as a bitmap in which case Adobe fully composes the page itself). So, if the artifacts appear on screen, it doesn't mean they have to appear in print, too.</p>
 <p>To get rid of the artifacts, you can call up the "Preferences" dialog of Adobe Acrobat and select the tab "Page display". Enabling "Enhance thin lines" may help in some situations. Otherwise, you can disable "Smooth line art". You may have to disable "Use 2D graphics acceleration", too, so you can disable "Smooth line art" in the first place.</p>
 <p>Here an example of how the effect can look like (left: anti-aliasing on, right: anti-aliasing off):</p>
 <p><img alt="Left: anti-aliasing on, Right: off" src="images/acrobat-anti-aliasing-artifacts.png" /></p>
 <p>Unfortunately, it is not possible to control the above settings from within the PDF file. The user has to change these settings himself. Improving FOP to avoid this kind of problem would be possible although rather hard to achieve because we'd need to add a considerable amount of code to combine the various line segments. Something like that has been tried already years ago showing that this is a tricky task. Also, the improvement may not justify the amount of effort required.</p>
-<h2 id="7-iex-specific-stuff-wzxhzdk168wzxhzdk169">7. IEx specific stuff <a id="part-iex"></a></h2>
-<h3 id="71-the-fop-servlet-is-called-multiple-timeswzxhzdk170wzxhzdk171">7.1. The FOP servlet is called multiple times!<a id="iex-servlet-multiple"></a></h3>
+<h2 id="part-iex">7. IEx specific stuff</h2>
+<h3 id="iex-servlet-multiple">7.1. The FOP servlet is called multiple times!</h3>
 <p>This is a problem of Internet Explorer requesting the content several times. Please see the <a href="1.0/servlets.html#ie">notes on Internet Explorer</a> for more information.</p>
-<h3 id="72-how-do-i-print-pdf-directly-from-the-browserwzxhzdk172wzxhzdk173">7.2. How do I print PDF directly from the browser?<a id="iex-pdf-print-from-browser"></a></h3>
+<h3 id="iex-pdf-print-from-browser">7.2. How do I print PDF directly from the browser?</h3>
 <p>It depends whether you mean "printing to a printer under control of the server" or "printing on the client's printer".</p>
 <p>For the first problem, look at the print servlet in the FOP examples. You'll have to gather any printer settings in a HTML form and send it to the server.</p>
 <p>For the second task, you can use some client side script to start Acrobat Reader in print mode, or use a Java applet based on the FOP print servlet. This depends heavily on the client installation and should not be relied on except in tightly controlled environments.</p>
 <p>See also <a href="http://marc.theaimsgroup.com/?l=fop-dev&amp;m=101065988325115&amp;w=2">http://marc.theaimsgroup.com/?l=fop-dev&amp;m=101065988325115&amp;w=2</a></p>
-<h2 id="8-general-questions-regarding-xslt-xslfo-and-basic-xml-wzxhzdk174wzxhzdk175">8. General questions regarding XSLT, XSLFO, and basic XML <a id="part-input"></a></h2>
-<h3 id="81-fo-how-do-i-vertically-center-an-image-or-a-table-or-whateverwzxhzdk176wzxhzdk177">8.1. (FO) How do I vertically center an image or a table (or whatever)?<a id="fo-center"></a></h3>
+<h2 id="part-input">8. General questions regarding XSLT, XSLFO, and basic XML</h2>
+<h3 id="fo-center">8.1. (FO) How do I vertically center an image or a table (or whatever)?</h3>
 <p>See <a href="fo.html#fo-center-vertical">XSL-FO Vertical Centering</a>.</p>
-<h3 id="82-fo-how-do-i-center-a-table-horizontallywzxhzdk178wzxhzdk179">8.2. (FO) How do I center a table horizontally?<a id="fo-center-table-horizon"></a></h3>
+<h3 id="fo-center-table-horizon">8.2. (FO) How do I center a table horizontally?</h3>
 <p>See <a href="fo.html#fo-center-table-horizon">XSL-FO Horizontal Centering (Tables)</a>.</p>
-<h3 id="83-fo-how-to-get-page-numbers-printed-on-the-outer-side-of-the-page-for-books-for-examplewzxhzdk180wzxhzdk181">8.3. (FO) How to get page numbers printed on the "outer side" of the page (for books, for example)?<a id="fo-page-outer"></a></h3>
+<h3 id="fo-page-outer">8.3. (FO) How to get page numbers printed on the "outer side" of the page (for books, for example)?</h3>
 <p>See <a href="fo.html#fo-oddeven">Recto/Verso Static Content Differences</a>.</p>
-<h3 id="84-fo-how-do-i-use-different-static-content-for-odd-and-even-pageswzxhzdk182wzxhzdk183">8.4. (FO) How do I use different static content for odd and even pages?<a id="oddeven"></a></h3>
+<h3 id="oddeven">8.4. (FO) How do I use different static content for odd and even pages?</h3>
 <p>See <a href="fo.html#fo-oddeven">Recto/Verso Static Content Differences</a>.</p>
-<h3 id="85-fo-how-do-i-get-a-special-header-on-the-first-pagewzxhzdk184wzxhzdk185">8.5. (FO) How do I get a special header on the first page?<a id="fo-first-page-header"></a></h3>
+<h3 id="fo-first-page-header">8.5. (FO) How do I get a special header on the first page?</h3>
 <p>See <a href="fo.html#fo-first-page">Making the First Page Special</a>.</p>
-<h3 id="86-fo-how-do-i-omit-my-headers-on-a-blank-page-how-do-i-write-this-page-is-left-blank-on-an-intentionally-blank-pagewzxhzdk186wzxhzdk187">8.6. (FO) How do I omit my headers on a blank page? How do I write "This page is left blank" on an intentionally blank page?<a id="fo-omit-headers"></a></h3>
+<h3 id="fo-omit-headers">8.6. (FO) How do I omit my headers on a blank page? How do I write "This page is left blank" on an intentionally blank page?</h3>
 <p>See <a href="fo.html#fo-blank-pages">Blank Pages</a>.</p>
-<h3 id="87-fo-how-do-i-print-an-euro-sign-a-checkbox-or-other-some-other-special-symbolswzxhzdk188wzxhzdk189">8.7. (FO) How do I print an Euro sign, a checkbox or other some other special symbols?<a id="fo-special-symbols"></a></h3>
+<h3 id="fo-special-symbols">8.7. (FO) How do I print an Euro sign, a checkbox or other some other special symbols?</h3>
 <p>See <a href="fo.html#xml-special-chars">Special Characters</a>.</p>
-<h3 id="88-fo-how-do-i-keep-linebreaks-and-hard-spaces-how-do-i-get-preformatted-text-displayed-as-expectedwzxhzdk190wzxhzdk191">8.8. (FO) How do I keep linebreaks and hard spaces? How do I get preformatted text displayed as expected?<a id="fo-preformat"></a></h3>
+<h3 id="fo-preformat">8.8. (FO) How do I keep linebreaks and hard spaces? How do I get preformatted text displayed as expected?</h3>
 <p>See <a href="fo.html#fo-preformat">Preformatting Content</a>.</p>
-<h3 id="89-fo-how-do-i-print-the-total-number-of-pages-for-example-page-1-of-12wzxhzdk192wzxhzdk193">8.9. (FO) How do I print the total number of pages, for example "page 1 of 12"<a id="fo-total-pages"></a></h3>
+<h3 id="fo-total-pages">8.9. (FO) How do I print the total number of pages, for example "page 1 of 12"</h3>
 <p>See <a href="fo.html#fo-total-pages">Total Document Pages</a>.</p>
-<h3 id="810-fo-the-header-overlaps-body-content-the-body-extends-into-the-footerwzxhzdk194wzxhzdk195">8.10. (FO) The header overlaps body content. The body extends into the footer.<a id="fo-region-overlap"></a></h3>
+<h3 id="fo-region-overlap">8.10. (FO) The header overlaps body content. The body extends into the footer.</h3>
 <p>See <a href="fo.html#fo-region-align">Aligning Regions</a>.</p>
-<h3 id="811-fo-how-do-i-get-lines-in-the-document-as-separators-side-bars-or-folding-markswzxhzdk196wzxhzdk197">8.11. (FO) How do I get lines in the document, as separators, side bars or folding marks?<a id="fo-lines"></a></h3>
+<h3 id="fo-lines">8.11. (FO) How do I get lines in the document, as separators, side bars or folding marks?</h3>
 <p>See <a href="fo.html#fo-lines">Drawing Lines</a>.</p>
-<h3 id="812-fo-how-do-i-validate-my-fo-documentwzxhzdk198wzxhzdk199">8.12. (FO) How do I validate my FO document?<a id="fo-validate"></a></h3>
+<h3 id="fo-validate">8.12. (FO) How do I validate my FO document?</h3>
 <p>See <a href="fo.html#fo-validate">Validating XSL-FO</a>.</p>
-<h3 id="813-xml-how-do-i-get-a-non-breaking-space-in-fo-there-are-complaints-about-wzxhzdk202wzxhzdk200wzxhzdk201">8.13. (XML) How do I get a non-breaking space in FO? There are complaints about &nbsp;.<a id="xml-non-breaking-space"></a></h3>
+<h3 id="xml-non-breaking-space">8.13. (XML) How do I get a non-breaking space in FO? There are complaints about &nbsp;.</h3>
 <p>See <a href="fo.html#xml-special-chars">XML Special Characters</a>.</p>
-<h3 id="814-xml-how-do-i-enter-special-characters-in-xml-there-are-complaints-about-undefined-entities-such-as-wzxhzdk205-which-work-in-htmlwzxhzdk203wzxhzdk204">8.14. (XML) How do I enter special characters in XML? There are complaints about undefined entities, such as &uuml;, which work in HTML.<a id="xml-undefined-entities"></a></h3>
+<h3 id="xml-undefined-entities">8.14. (XML) How do I enter special characters in XML? There are complaints about undefined entities, such as &uuml;, which work in HTML.</h3>
 <p>See <a href="fo.html#xml-special-chars">XML Special Characters</a>.</p>
-<h3 id="815-xml-there-are-complaints-about-illegal-characters-and-entities-in-the-inputwzxhzdk206wzxhzdk207">8.15. (XML) There are complaints about illegal characters and entities in the input.<a id="xml-illegal-entities"></a></h3>
+<h3 id="xml-illegal-entities">8.15. (XML) There are complaints about illegal characters and entities in the input.</h3>
 <p>See <a href="fo.html#xml-entity-chars">Using HTML Character Names</a>.</p>
-<h3 id="816-xml-there-are-complaints-about-illegal-bytes-or-characters-in-the-input-there-are-odd-characters-in-the-resultwzxhzdk208wzxhzdk209">8.16. (XML) There are complaints about illegal bytes or characters in the input. There are odd characters in the result.<a id="xml-illegal-chars"></a></h3>
+<h3 id="xml-illegal-chars">8.16. (XML) There are complaints about illegal bytes or characters in the input. There are odd characters in the result.</h3>
 <p>See <a href="fo.html#xml-encoding">XML Encoding Issues</a>.</p>
-<h3 id="817-xslt-how-can-i-use-the-current-date-and-time-in-my-documentwzxhzdk210wzxhzdk211">8.17. (XSLT) How can I use the current date and time in my document?<a id="xslt-current-date"></a></h3>
+<h3 id="xslt-current-date">8.17. (XSLT) How can I use the current date and time in my document?</h3>
 <p>See <a href="fo.html#xslt-date">Current Date and Time</a>.</p>
-<h3 id="818-can-i-use-fop-to-convert-xhtml-or-html-files-to-pdfwzxhzdk212wzxhzdk213">8.18. Can I use FOP to convert XHTML or HTML files to PDF?<a id="xhtml-to-pdf"></a></h3>
+<h3 id="xhtml-to-pdf">8.18. Can I use FOP to convert XHTML or HTML files to PDF?</h3>
 <p>You will get better results if you transform your source XML directly into XSLFO. It is tempting to use the XML-&gt;XHTML-&gt;XSLFO approach, because this apparently means there's only one transformation to maintain, but XHTML and publishing grade PDF are dissimilar enough that an "generic" XHTML-&gt;XSLFO(PDF) usually wont cut it, because the XHTML already lacks information from the original XML. It may be worthwhile to go from the source XML to an intermediate custom XML which on one hand is close enough to representation to allow simple transformation to either XHTML or XSLFO for most of the structure, but on the other hand retains enough semantic from the original XML that elements which must be handled differently in the two representations can be handled differently. Setting this up requires experience and most likely extensive prototyping.</p>
-<h3 id="819-i-know-it-may-be-a-bad-idea-to-use-fop-to-convert-xhtml-or-html-files-to-pdf-but-i-want-to-do-it-anyway-are-there-any-tools-available-to-help-mewzxhzdk214wzxhzdk215">8.19. I know it may be a bad idea to use FOP to convert XHTML or HTML files to PDF, but I want to do it anyway. Are there any tools available to help me?<a id="xhtml-to-pdf2"></a></h3>
+<h3 id="xhtml-to-pdf2">8.19. I know it may be a bad idea to use FOP to convert XHTML or HTML files to PDF, but I want to do it anyway. Are there any tools available to help me?</h3>
 <p>The <a href="resources.html">FOP Resources page</a> has links to a tool called <a href="http://html2fo.sourceforge.net/">html2fo</a> which can be used to make such a transformation. In addition, there are tools on the Antenna House <a href="http://www.antennahouse.com/XSLsample/XSLsample.htm">XSL-FO Tutorial and Sample</a> page.</p>
-<h2 id="9-development-related-questions-wzxhzdk216wzxhzdk217">9. Development-related Questions. <a id="dev-help"></a></h2>
-<h3 id="91-where-can-i-learn-how-the-fop-docs-and-web-site-are-builtwzxhzdk218wzxhzdk219">9.1. Where can I learn how the FOP docs and web site are built?<a id="doc-mgt"></a></h3>
+<h2 id="dev-help">9. Development-related Questions.</h2>
+<h3 id="doc-mgt">9.1. Where can I learn how the FOP docs and web site are built?</h3>
 <p>See FOP <a href="dev/doc.html">Doc Management</a>. ;-)</p>
-<h2 id="10-general-suggestions-how-to-solve-problems-wzxhzdk220wzxhzdk221">10. General suggestions. How to solve problems. <a id="part-help"></a></h2>
-<h3 id="101-i-think-i-have-found-a-bug-in-fop-what-should-i-dowzxhzdk222wzxhzdk223">10.1. I think I have found a bug in FOP. What should I do?<a id="bugs"></a></h3>
+<h2 id="part-help">10. General suggestions. How to solve problems.</h2>
+<h3 id="bugs">10.1. I think I have found a bug in FOP. What should I do?</h3>
 <p>See <a href="bugs.html">the Bugs page</a> for information about bugs already reported and how to report new ones.</p>
-<h3 id="102-i-have-questions-that-are-not-addressed-in-this-faq-where-should-i-post-themwzxhzdk224wzxhzdk225">10.2. I have questions that are not addressed in this FAQ. Where should I post them?<a id="postquestions"></a></h3>
+<h3 id="postquestions">10.2. I have questions that are not addressed in this FAQ. Where should I post them?</h3>
 <ul>
 <li>
 <p>If your question is a development-related question, please see the <a href="dev/faq.html">Developer FAQs</a>.</p>



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


Mime
View raw message