<?xml version="1.0" encoding="UTF-8" ?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xml:lang="en">
	<fo:layout-master-set>
		<fo:simple-page-master page-height="180mm" page-width="210mm" margin-top="10mm" margin-left="20mm" margin-right="00mm" margin-bottom="5mm" master-name="PageMaster">
			<fo:region-before extent="16mm"/>
			<fo:region-after extent="8mm"/>
			<fo:region-start extent="8mm"/>
			<fo:region-end extent="20mm"/>
			<fo:region-body border-style="none" border-width="0.2mm" margin-top="20mm" margin-left="10mm" margin-right="20mm" margin-bottom="5mm"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence initial-page-number="1" master-reference="PageMaster">
				<fo:static-content flow-name="xsl-region-before">
			<fo:block font-size="8pt">
				<fo:external-graphic src="url('img/antenna-en.png')" content-height="12mm"/>
				XSL FO Sample Copyright &#xA9; 1996-2005 Antenna House, Inc. All rights reserved.
			</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="xsl-region-after">
		</fo:static-content>
		<fo:flow flow-name="xsl-region-body">
			<fo:block space-after="1em" text-indent="1em" font-family="sans-serif" font-size="18pt" font-weight="bold" background-color="#EEEEEE" line-height="20mm">
				Sample of Ruby
			</fo:block>
			<fo:block>
				<fo:block space-after="5em">
There is no specification concerning Ruby in XSL-FO. However, it's possible to show Ruby by using fo:inline-container. Here is a Japanese text with Ruby.

</fo:block>

				<fo:block font-size="18pt" xml:lang="ja">
					XMLとは
					<fo:inline-container text-indent="0mm" last-line-end-indent="0mm" alignment-baseline="central">
						<fo:block font-size="0.4em" text-align="center" line-height="1.2em" space-before="-1.5em" space-before.conditionality="retain">じょほう</fo:block>
						<fo:block line-height="1em">情報</fo:block>
					</fo:inline-container>
					を
					<fo:inline-container text-indent="0mm" last-line-end-indent="0mm" alignment-baseline="central">
						<fo:block font-size="0.4em" text-align="center" line-height="1.2em" space-before="-1.5em" space-before.conditionality="retain">ひょうげん</fo:block>
						<fo:block line-height="1em">表現</fo:block>
					</fo:inline-container>
					するための
					<fo:inline-container text-indent="0mm" last-line-end-indent="0mm" alignment-baseline="central">
						<fo:block font-size="0.4em" text-align="center" line-height="1.2em" space-before="-1.5em" space-before.conditionality="retain">あたら</fo:block>
						<fo:block line-height="1em">新</fo:block>
					</fo:inline-container>
					しい
					<fo:inline-container text-indent="0mm" last-line-end-indent="0mm" alignment-baseline="central">
						<fo:block font-size="0.4em" text-align="center" line-height="1.2em" space-before="-1.5em" space-before.conditionality="retain">ほうほう</fo:block>
						<fo:block line-height="1em">方法</fo:block>
					</fo:inline-container>
					です。
				</fo:block>
			</fo:block>

		</fo:flow>
	</fo:page-sequence>
</fo:root>




