aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2002-11-30 08:54:26 +0000
committerWilliam Victor Mote <vmote@apache.org>2002-11-30 08:54:26 +0000
commit701271c9574a3af46c3b870e01fe1df8f234573e (patch)
treec7b391991bf869213e3ca0b28e6a86d8fbf40178 /contrib
parent64b3c5ede295343029ded69bb7f035ddd47409f3 (diff)
downloadxmlgraphics-fop-701271c9574a3af46c3b870e01fe1df8f234573e.tar.gz
xmlgraphics-fop-701271c9574a3af46c3b870e01fe1df8f234573e.zip
white-space and line-ending fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195685 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'contrib')
-rw-r--r--contrib/mathml/build.xml6
-rw-r--r--contrib/mathml/docs/example.mml124
-rw-r--r--contrib/plan/build.xml8
-rw-r--r--contrib/servlet/README6
-rw-r--r--contrib/servlet/conf/web.xml32
5 files changed, 88 insertions, 88 deletions
diff --git a/contrib/mathml/build.xml b/contrib/mathml/build.xml
index 675a7843a..78e84b514 100644
--- a/contrib/mathml/build.xml
+++ b/contrib/mathml/build.xml
@@ -17,7 +17,7 @@
<include name="*.jar"/>
</fileset>
</path>
-
+
<!-- =================================================================== -->
<!-- Initialization target -->
<!-- =================================================================== -->
@@ -81,7 +81,7 @@
<target name="prepare-src" depends="prepare">
<!-- copy src files -->
<copy todir="${build.src}">
- <fileset dir="${src.dir}"
+ <fileset dir="${src.dir}"
excludes="**/Makefile*, **/package.html"/>
</copy>
<copy todir="${build.dest}/">
@@ -119,7 +119,7 @@
<jar jarfile="${build.dir}/${name}.jar"
basedir="${build.dest}"
includes="**">
- <manifest>
+ <manifest>
<attribute name="Implementation-Title" value="${Name}"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-Vendor" value="Apache Software Foundation (http://xml.apache.org/fop/)"/>
diff --git a/contrib/mathml/docs/example.mml b/contrib/mathml/docs/example.mml
index 9dfa1a3bf..0f04968c2 100644
--- a/contrib/mathml/docs/example.mml
+++ b/contrib/mathml/docs/example.mml
@@ -1,63 +1,63 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
- <math xmlns="http://www.w3.org/1998/Math/MathML" mode="display">
- <mrow>
- <mo stretchy="false">{</mo>
- <munder>
- <mrow>
- <mover>
- <mrow>
- <mpadded width="0"/>
- <!--mpadded width="0">(</mpadded-->
- <!-- \mathstrut -ugly hack a la TeX -->
- <mi>a</mi>
- <mo>,</mo>
- <mo>...</mo>
- <mo>,</mo>
- <mi>a</mi>
- </mrow>
- <mover>
- <mo>&#x0FE37;</mo>
- <mrow>
- <mi>k</mi>
- <mtext>&#x000A0;</mtext>
- <mi>a</mi>
- <mtext>'s</mtext>
- </mrow>
- </mover>
- </mover>
- <mo>,</mo>
- <mover>
- <mrow>
- <mpadded/>
- <!--mpadded width="0">(</mpadded-->
- <!-- \mathstrut -ugly hack a la TeX -->
- <mi>b</mi>
- <mo>,</mo>
- <mo>...</mo>
- <mo>,</mo>
- <mi>b</mi>
- </mrow>
- <mover>
- <mo>&#x0FE37;</mo>
- <mrow>
- <mi>&#x02113;</mi>
- <mtext>&#x000A0;</mtext>
- <mi>b</mi>
- <mtext>'s</mtext>
- </mrow>
- </mover>
- </mover>
- </mrow>
- <munder>
- <mo>&#x0FE38;</mo>
- <mrow>
- <mi>k</mi>
- <mo>+</mo>
- <mi>&#x02113;</mi>
- <mtext>&#x000A0;elements</mtext>
- </mrow>
- </munder>
- </munder>
- <mo stretchy="false">}</mo>
- </mrow>
- </math>
+ <math xmlns="http://www.w3.org/1998/Math/MathML" mode="display">
+ <mrow>
+ <mo stretchy="false">{</mo>
+ <munder>
+ <mrow>
+ <mover>
+ <mrow>
+ <mpadded width="0"/>
+ <!--mpadded width="0">(</mpadded-->
+ <!-- \mathstrut -ugly hack a la TeX -->
+ <mi>a</mi>
+ <mo>,</mo>
+ <mo>...</mo>
+ <mo>,</mo>
+ <mi>a</mi>
+ </mrow>
+ <mover>
+ <mo>&#x0FE37;</mo>
+ <mrow>
+ <mi>k</mi>
+ <mtext>&#x000A0;</mtext>
+ <mi>a</mi>
+ <mtext>'s</mtext>
+ </mrow>
+ </mover>
+ </mover>
+ <mo>,</mo>
+ <mover>
+ <mrow>
+ <mpadded/>
+ <!--mpadded width="0">(</mpadded-->
+ <!-- \mathstrut -ugly hack a la TeX -->
+ <mi>b</mi>
+ <mo>,</mo>
+ <mo>...</mo>
+ <mo>,</mo>
+ <mi>b</mi>
+ </mrow>
+ <mover>
+ <mo>&#x0FE37;</mo>
+ <mrow>
+ <mi>&#x02113;</mi>
+ <mtext>&#x000A0;</mtext>
+ <mi>b</mi>
+ <mtext>'s</mtext>
+ </mrow>
+ </mover>
+ </mover>
+ </mrow>
+ <munder>
+ <mo>&#x0FE38;</mo>
+ <mrow>
+ <mi>k</mi>
+ <mo>+</mo>
+ <mi>&#x02113;</mi>
+ <mtext>&#x000A0;elements</mtext>
+ </mrow>
+ </munder>
+ </munder>
+ <mo stretchy="false">}</mo>
+ </mrow>
+ </math>
diff --git a/contrib/plan/build.xml b/contrib/plan/build.xml
index f46d78768..9f65c4041 100644
--- a/contrib/plan/build.xml
+++ b/contrib/plan/build.xml
@@ -14,7 +14,7 @@
<include name="fop.jar"/>
</fileset>
</path>
-
+
<!-- =================================================================== -->
<!-- Initialization target -->
<!-- =================================================================== -->
@@ -46,7 +46,7 @@
<property name="main.class" value="org.apache.fop.plan.Main"/>
<property name="runtime.classpath" value="fop.jar xml-apis.jar xercesImpl-2.2.1.jar xalan-2.4.1.jar batik.jar"/>
-
+
</target>
<!-- =================================================================== -->
@@ -73,7 +73,7 @@
<target name="prepare-src" depends="prepare">
<!-- copy src files -->
<copy todir="${build.src}">
- <fileset dir="${src.dir}"
+ <fileset dir="${src.dir}"
excludes="**/Makefile*, **/package.html"/>
</copy>
<copy todir="${build.dest}/">
@@ -111,7 +111,7 @@
<jar jarfile="${build.dir}/${name}.jar"
basedir="${build.dest}"
includes="**">
- <manifest>
+ <manifest>
<attribute name="Main-Class" value="${main.class}"/>
<attribute name="Class-Path" value="${runtime.classpath}"/>
<attribute name="Implementation-Title" value="${Name}"/>
diff --git a/contrib/servlet/README b/contrib/servlet/README
index 3b1741e1c..ac4ebcef7 100644
--- a/contrib/servlet/README
+++ b/contrib/servlet/README
@@ -2,10 +2,10 @@ FOP Servlet Readme
This directory contains two sample servlets that use FOP:
-- FopServlet can take a XSL:FO file or a XML+XSLT as parameters to create a PDF
+- FopServlet can take a XSL:FO file or a XML+XSLT as parameters to create a PDF
that is being shown in the browser.
-- FopPrintServlet has the same parameters but prints the generated document to
+- FopPrintServlet has the same parameters but prints the generated document to
the default printer instead of generating a PDF.
Creating the WAR file:
@@ -14,7 +14,7 @@ Creating the WAR file:
2. Run build.bat (on Windows) or build.sh (on Unix) to create the WAR file.
3. Put the WAR file in you favourite web container.
-Sample URLs:
+Sample URLs:
http://localhost:8080/fop/servlet/FopServlet?fo=readme.fo
http://localhost:8080/fop/servlet/FopPrintServlet?fo=readme.fo
diff --git a/contrib/servlet/conf/web.xml b/contrib/servlet/conf/web.xml
index 4c5bad35e..525dc8d07 100644
--- a/contrib/servlet/conf/web.xml
+++ b/contrib/servlet/conf/web.xml
@@ -2,20 +2,20 @@
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
- <servlet>
- <servlet-name>Fop</servlet-name>
- <servlet-class>FopServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Fop</servlet-name>
- <url-pattern>/</url-pattern>
- </servlet-mapping>
- <servlet>
- <servlet-name>FopPrint</servlet-name>
- <servlet-class>FopPrintServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>FopPrint</servlet-name>
- <url-pattern>/fopprint</url-pattern>
- </servlet-mapping>
+ <servlet>
+ <servlet-name>Fop</servlet-name>
+ <servlet-class>FopServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Fop</servlet-name>
+ <url-pattern>/</url-pattern>
+ </servlet-mapping>
+ <servlet>
+ <servlet-name>FopPrint</servlet-name>
+ <servlet-class>FopPrintServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>FopPrint</servlet-name>
+ <url-pattern>/fopprint</url-pattern>
+ </servlet-mapping>
</web-app>