jeremias 2003/05/28 00:42:42
Modified: src/documentation sitemap.xmap
src/documentation/content/xdocs examples.xml
Removed: src/documentation/content/xdocs/dev examples.xml
Log:
examples.xml consolidation
Submitted by: Glen Mazza <[EMAIL PROTECTED]>
I had to adjust the sitemap to avoid an error message in the browser when showing
fo/embed.fo.
Revision Changes Path
1.16 +5 -2 xml-fop/src/documentation/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/sitemap.xmap,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sitemap.xmap 31 Mar 2003 21:02:24 -0000 1.15
+++ sitemap.xmap 28 May 2003 07:42:41 -0000 1.16
@@ -332,8 +332,8 @@
<map:match pattern="body-compliance.xml">
<map:generate type="file-nolabel" src="content/xdocs/compliance.xml"/>
- <map:transform src="resources/stylesheets/compliance2html.xsl"/>
- <map:serialize type="xml"/>
+ <map:transform src="resources/stylesheets/compliance2html.xsl"/>
+ <map:serialize type="xml"/>
</map:match>
<!-- ======================== End FOP Additions ======================== -->
@@ -570,6 +570,9 @@
<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"/>
1.6 +61 -11 xml-fop/src/documentation/content/xdocs/examples.xml
Index: examples.xml
===================================================================
RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/examples.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- examples.xml 15 Jan 2003 13:56:17 -0000 1.5
+++ examples.xml 28 May 2003 07:42:41 -0000 1.6
@@ -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>
@@ -20,10 +25,7 @@
<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
@@ -57,18 +59,66 @@
</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>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]