]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
examples.xml consolidation
authorJeremias Maerki <jeremias@apache.org>
Wed, 28 May 2003 07:42:42 +0000 (07:42 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 28 May 2003 07:42:42 +0000 (07:42 +0000)
Submitted by: Glen Mazza <glenmazza@yahoo.com>

I had to adjust the sitemap to avoid an error message in the browser when showing fo/embed.fo.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196467 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/dev/examples.xml [deleted file]
src/documentation/content/xdocs/examples.xml
src/documentation/sitemap.xmap

diff --git a/src/documentation/content/xdocs/dev/examples.xml b/src/documentation/content/xdocs/dev/examples.xml
deleted file mode 100644 (file)
index 2542dba..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
-    "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
-
-<document>
-  <header>
-    <title>FO Examples</title>
-  </header>
-  <body>
-    <section>
-      <title>Example Documents Using FOP</title>
-      <p>
-        These examples have been rendered using FOP.
-      </p>
-    </section>
-          <section>
-            <title>Images Examples</title>
-            <p>
-Embedding images in FO:
-            </p>
-  <table>
-    <caption>Images in FO</caption>
-    <tr>
-      <th>description</th>
-      <th>fo file</th>
-      <th>pdf result</th>
-    </tr>
-    <tr>
-      <td>align in larger viewport</td>
-      <td><link href="../fo/align.fo">align.fo</link></td>
-      <td><link href="../fo/align.fo.pdf">align.fo.pdf</link></td>
-    </tr>
-    <tr>
-      <td>align in smaller viewport</td>
-      <td><link href="../fo/align2.fo">align2.fo</link></td>
-      <td><link href="../fo/align2.fo.pdf">align2.fo.pdf</link></td>
-    </tr>
-    <tr>
-      <td>scaling image</td>
-      <td><link href="../fo/size.fo">size.fo</link></td>
-      <td><link href="../fo/size.fo.pdf">size.fo.pdf</link></td>
-    </tr>
-  </table>
-          </section>
-          <section>
-            <title>Instream Foreign Object Examples</title>
-            <p>
-Instream Foreign Object images in FO, there are more on the
-<link href="svg.html">SVG Page</link>:
-            </p>
-  <table>
-    <caption>Embedding instream-foreign-object</caption>
-    <tr>
-      <th>description</th>
-      <th>fo file</th>
-      <th>pdf result</th>
-    </tr>
-    <tr>
-      <td>embedding svg in viewport</td>
-      <td><link href="../fo/embed.fo">embed.fo</link></td>
-      <td><link href="../fo/embed.fo.pdf">embed.fo.pdf</link></td>
-    </tr>
-  </table>
-          </section>
-  </body>
-</document>
-
index e0e6aed0b1ab388ec963ef995e8ff8ce0fb1bfe7..3237022135ef8686068609e2f18808e927586000 100644 (file)
@@ -7,6 +7,11 @@
     <title>Examples</title>
   </header>
   <body>
+    <section>
+      <title>Example Documents Using FOP</title>
+      <p>
+        These examples have been rendered using FOP:
+      </p>
     <table>
       <caption>Generated examples</caption>
       <tr>
         <td><link href="fo/fonts.fo.pdf">fonts.fo.pdf</link></td>
       </tr>
     </table>
-
-    <section>
-      <title>Examples in the distribution</title>
-    <p>Examples for the use of XSL-FO can be found in the FOP distribution in
+    <p>Other basic examples on the use of XSL-FO can be found in the FOP distribution in
        the subdirectory xml-fop/examples/fo. You can start transformation of all fo files into pdf
        files by starting xml-fop/examples/fo/runtests (only source distribution). The resulting test
        files can be found in xml-fop/examples/fo/tests
       </li>
       <li>readme.fo - uses an old version of FOP documentation for a longer example
       </li>
-
-      <li>Look also into the directory examples/fo/svg. There you find some very extensive SVG examples.
-      </li>
-      <li>In the directory examples/fo/pagination you find a suite of examples showing the use
-          of XSL-FO pagination.
-      </li>
     </ul>
+      <p>Also, in the directory examples/fo/pagination you will find a suite of examples showing the use
+          of XSL-FO pagination.
+      </p>
       <p>
 Developers will find the first steps to a test suite for all implemented
 formatting objects and properties in xml-fop/test/xml/.
       </p>
-    </section>
+       </section>
+          <section>
+            <title>Images Examples</title>
+            <p>
+Embedding images in FO:
+            </p>
+  <table>
+    <caption>Images in FO</caption>
+    <tr>
+      <th>description</th>
+      <th>fo file</th>
+      <th>pdf result</th>
+    </tr>
+    <tr>
+      <td>align in larger viewport</td>
+      <td><link href="fo/align.fo">align.fo</link></td>
+      <td><link href="fo/align.fo.pdf">align.fo.pdf</link></td>
+    </tr>
+    <tr>
+      <td>align in smaller viewport</td>
+      <td><link href="fo/align2.fo">align2.fo</link></td>
+      <td><link href="fo/align2.fo.pdf">align2.fo.pdf</link></td>
+    </tr>
+    <tr>
+      <td>scaling image</td>
+      <td><link href="fo/size.fo">size.fo</link></td>
+      <td><link href="fo/size.fo.pdf">size.fo.pdf</link></td>
+    </tr>
+  </table>
+      <p>Look also into the directory examples/fo/svg. There you find some very extensive SVG examples.
+      </p>
+          </section>
+          <section>
+            <title>Instream Foreign Object Examples</title>
+            <p>
+Instream Foreign Object images in FO, there are more on the
+<link href="svg.html">SVG Page</link>:
+            </p>
+  <table>
+    <caption>Embedding instream-foreign-object</caption>
+    <tr>
+      <th>description</th>
+      <th>fo file</th>
+      <th>pdf result</th>
+    </tr>
+    <tr>
+      <td>embedding svg in viewport</td>
+      <td><link href="fo/embed.fo">embed.fo</link></td>
+      <td><link href="fo/embed.fo.pdf">embed.fo.pdf</link></td>
+    </tr>
+  </table>
+  </section>
   </body>
 </document>
 
index 3303c65be85ddcde52081a78a2c3cd8156a996ac..8bb9249f54ae4586cb7b2044e7d04effd601d2de 100644 (file)
    <map:match pattern="fo/*.fo">
     <map:read src="content/xdocs/fo/{1}.fo" mime-type="text/xml"/>
    </map:match>
+   <map:match pattern="fo/*.ent">
+    <map:read src="content/xdocs/fo/{1}.ent" mime-type="text/plain"/>
+   </map:match>
    <map:match pattern="fo/*.fo.pdf">
     <map:generate src="content/xdocs/fo/{1}.fo"/>
     <map:serialize type="fo2pdf"/>