diff options
author | William Victor Mote <vmote@apache.org> | 2002-11-30 06:41:37 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2002-11-30 06:41:37 +0000 |
commit | 86bc5b8a5ff3e731afe25a3c13592d9fe95b87d0 (patch) | |
tree | bf31010454e20f5c306f18f7988e534480f0a6e4 /docs/examples/fo/character.fo | |
parent | 2cc8094b6b0e283919183265e088311936fa93b7 (diff) | |
download | xmlgraphics-fop-86bc5b8a5ff3e731afe25a3c13592d9fe95b87d0.tar.gz xmlgraphics-fop-86bc5b8a5ff3e731afe25a3c13592d9fe95b87d0.zip |
white-space and line-ending fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195682 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/fo/character.fo')
-rw-r--r-- | docs/examples/fo/character.fo | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/docs/examples/fo/character.fo b/docs/examples/fo/character.fo index b3f9a0e63..8771baa3c 100644 --- a/docs/examples/fo/character.fo +++ b/docs/examples/fo/character.fo @@ -1,29 +1,29 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!-- example for a simple fo file. At the beginning the page layout is set. - Below fo:root there is always +<!-- example for a simple fo file. At the beginning the page layout is set. + Below fo:root there is always - a single fo:layout-master-set which defines one or more page layouts -- an optional fo:declarations -- and a sequence of one or more fo:page-sequences containing the text and formatting instructions +- an optional fo:declarations +- and a sequence of one or more fo:page-sequences containing the text and formatting instructions --> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> - <!-- fo:layout-master-set defines in its children the page layout: + <!-- fo:layout-master-set defines in its children the page layout: the pagination and layout specifications - - page-masters: have the role of describing the intended subdivisions - of a page and the geometry of these subdivisions - In this case there is only a simple-page-master which defines the + - page-masters: have the role of describing the intended subdivisions + of a page and the geometry of these subdivisions + In this case there is only a simple-page-master which defines the layout for all pages of the text --> <!-- layout information --> <fo:simple-page-master master-name="simple" - page-height="29.7cm" + page-height="29.7cm" page-width="21cm" - margin-top="1cm" - margin-bottom="2cm" - margin-left="2.5cm" + margin-top="1cm" + margin-bottom="2cm" + margin-left="2.5cm" margin-right="2.5cm"> <fo:region-body margin-top="3cm"/> <fo:region-before extent="3cm"/> @@ -35,25 +35,25 @@ <!-- start page-sequence here comes the text (contained in flow objects) - the page-sequence can contain different fo:flows + the page-sequence can contain different fo:flows the attribute value of master-name refers to the page layout which is to be used to layout the text contained in this page-sequence--> <fo:page-sequence master-reference="simple"> <!-- start fo:flow - each flow is targeted + each flow is targeted at one (and only one) of the following: xsl-region-body (usually: normal text) xsl-region-before (usually: header) xsl-region-after (usually: footer) - xsl-region-start (usually: left margin) + xsl-region-start (usually: left margin) xsl-region-end (usually: right margin) - ['usually' applies here to languages with left-right and top-down + ['usually' applies here to languages with left-right and top-down writing direction like English] in this case there is only one target: xsl-region-body --> - <fo:flow flow-name="xsl-region-body" + <fo:flow flow-name="xsl-region-body" text-align="justify"> <!-- each paragraph is encapsulated in a block element @@ -62,13 +62,13 @@ <!-- this defines normal text --> - <fo:block font-size="12pt" - font-family="sans-serif" + <fo:block font-size="12pt" + font-family="sans-serif" line-height="15pt" space-after.optimum="3pt" > -1. Why <fo:character character="T" font-size="16pt" color="red"/><fo:character character="E" font-size="16pt" color="blue"/><fo:character character="I" font-size="16pt" color="green"/>? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. <fo:character character="Y"/>ou should use it too. -Why T<fo:character character="E"/>I? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. <fo:character character="Y"/>ou should use it too. +1. Why <fo:character character="T" font-size="16pt" color="red"/><fo:character character="E" font-size="16pt" color="blue"/><fo:character character="I" font-size="16pt" color="green"/>? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. <fo:character character="Y"/>ou should use it too. +Why T<fo:character character="E"/>I? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. <fo:character character="Y"/>ou should use it too. @@ -77,13 +77,13 @@ Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. </fo:block> <!-- this defines normal text --> - <fo:block font-size="12pt" - font-family="sans-serif" + <fo:block font-size="12pt" + font-family="sans-serif" line-height="15pt" space-after.optimum="3pt" > -1. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. -Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. +1. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. +Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. @@ -92,8 +92,8 @@ Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. </fo:block> <!-- this defines normal text --> - <fo:block font-size="12pt" - font-family="sans-serif" + <fo:block font-size="12pt" + font-family="sans-serif" line-height="15pt" space-after.optimum="3pt" > |