You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2002/02/06 10:57:17 UTC
cvs commit: xml-fop/docs/xml-docs/fop configuration.xml embedding.xml faq.xml involved.xml
keiron 02/02/06 01:57:17
Modified: docs/xml-docs/fop configuration.xml embedding.xml faq.xml
involved.xml
Log:
some minor updates to info
Revision Changes Path
1.4 +11 -1 xml-fop/docs/xml-docs/fop/configuration.xml
Index: configuration.xml
===================================================================
RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/configuration.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- configuration.xml 14 Aug 2001 08:40:50 -0000 1.3
+++ configuration.xml 6 Feb 2002 09:57:17 -0000 1.4
@@ -1,6 +1,14 @@
<?xml version="1.0" standalone="no"?>
+<document>
+ <header>
+ <title>Configuration</title>
+ <subtitle>Configurating FOP</subtitle>
+ <authors>
+ </authors>
+ </header>
+ <body>
<s1 title="Configuration">
<s2 title="How to configure Fop">
<p>In the directory xml-fop/conf you will find two configuration files. One of them,
@@ -24,7 +32,7 @@
to the hyphenation.dtd in the sub directory /hyph
</p>
<p>2. name this new file following this schema: languageCode_countryCode.xml. If you don't need
- a country code, leave it away, p.e. the file name for an American english hyphenation pattern
+ a country code, leave it out, e.g the file name for an American english hyphenation pattern
would look like this: en_US.xml. For an Italian file: it.xml. Language and country codes must be
the same as in xsl:fo, that is follow
<jump href="http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt">ISO 639</jump>
@@ -43,4 +51,6 @@
</p>
</s2>
</s1>
+ </body>
+</document>
1.14 +20 -4 xml-fop/docs/xml-docs/fop/embedding.xml
Index: embedding.xml
===================================================================
RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/embedding.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- embedding.xml 14 Dec 2001 07:38:28 -0000 1.13
+++ embedding.xml 6 Feb 2002 09:57:17 -0000 1.14
@@ -2,7 +2,15 @@
<!-- Embedding FOP -->
+<document>
+ <header>
+ <title>Embedding FOP</title>
+ <subtitle>Notes about embedding FOP in your Java application</subtitle>
+ <authors>
+ </authors>
+ </header>
+ <body>
<s1 title="Embedding FOP ">
<s2 title="Overview">
<p>Instantiate org.apache.fop.apps.Driver. Once this class is
@@ -108,16 +116,24 @@
</p>
</s2>
<s2 title="Using Fop in a servlet">
- <p>In the directory xml-fop/docs/examples/embedding you can find a working example how to use
- Fop in a servlet. You can drop the fop.war into the webapps directory of Tomcat, then
- go to a URL like this:
+ <p>
+In the directory xml-fop/docs/examples/embedding you can find a working
+example how to use Fop in a servlet. You can drop the fop.war into the
+webapps directory of Tomcat, then go to a URL like this:
</p>
<p>http://localhost:8080/fop/fop?fo=/home/path/to/fofile.fo</p>
+ <p>http://localhost:8080/fop/fop?xml=/home/path/to/xmlfile.xml&xsl=/home/path/to/xslfile.xsl</p>
<p>You can also find the source code there in the file FopServlet.java</p>
<p>
To compile this code you will need servlet_2_2.jar (or compatible), fop.jar and the sax api in your classpath.
</p>
+ <note><p>
+ Some browsers have problems handling the PDF result sent back to
+ the browser. IE is particularly bad and different versions behave
+ differently. Having a ".pdf" on the end of the url may help.
+ </p></note>
</s2>
</s1>
-
+ </body>
+</document>
1.6 +18 -0 xml-fop/docs/xml-docs/fop/faq.xml
Index: faq.xml
===================================================================
RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/faq.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- faq.xml 1 Nov 2001 11:33:52 -0000 1.5
+++ faq.xml 6 Feb 2002 09:57:17 -0000 1.6
@@ -101,6 +101,24 @@
</faq>
<faq>
+ <question>How can I insert special character "X"?</question>
+ <answer>
+ <p>
+All the characters you need are available at
+<jump href="http://www.unicode.org/charts/">http://www.unicode.org/charts/</jump>.
+If you need a character it will be there. Once you have found the hex
+or decimal code for the character then you can use this in you xml
+document. It will be in the form &#<decimal value>; or
+&#x<hex value>;.
+ </p>
+ <p>
+You must have a font that supports the character you need otherwise
+it will replace it with a "#" in the output.
+ </p>
+ </answer>
+</faq>
+
+<faq>
<question>How can I see a demo?</question>
<answer>
<p>
1.11 +2 -2 xml-fop/docs/xml-docs/fop/involved.xml
Index: involved.xml
===================================================================
RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/involved.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- involved.xml 17 Dec 2001 10:19:34 -0000 1.10
+++ involved.xml 6 Feb 2002 09:57:17 -0000 1.11
@@ -33,7 +33,7 @@
<jump href="design/index.html">Design</jump> section.
</p>
<p>
-This is where the information on how FOP is development and designed
+This is where the information on how FOP is developed and designed
internally will be kept.
</p>
</s2>
@@ -61,7 +61,7 @@
<p>If you want to contribute code (p.e. a bugfix), a test or documentation (p.e. an additional example), please do the following: </p>
<p>1) Make sure your code doesn't break the existing one and that Fop still compiles.</p>
<p>2) Create a file which shows the differences to the existing code.</p>
- <p>3) Send this file to <jump href="mailto:fop-dev@xml.apache.org">fop-dev@xml.apache.org.</jump></p>
+ <p>3) Send this file as an <strong>Attachment</strong> to <jump href="mailto:fop-dev@xml.apache.org">fop-dev@xml.apache.org.</jump></p>
<p>One of the committers will test your code and commit it to the code repository.</p>
<p>If you have a test or useful bug test you should <jump href="testing.html">read this page</jump>.</p>
<p>BTW: The Apache project knows different roles for contributors, namely 'users', 'developers', 'committers' and the 'Project
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org