You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

block_hyphenation-ladder-count.xml 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!-- $Id$ -->
  17. <testcase>
  18. <info>
  19. <p>
  20. Checks hyphenation for various languages
  21. </p>
  22. </info>
  23. <fo>
  24. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  25. <fo:layout-master-set>
  26. <fo:simple-page-master master-name="simple"
  27. page-height="29.7cm"
  28. page-width="21cm"
  29. margin-top="1cm"
  30. margin-bottom="2cm"
  31. margin-left="7cm"
  32. margin-right="3cm">
  33. <fo:region-body margin-top="1.5cm"/>
  34. </fo:simple-page-master>
  35. </fo:layout-master-set>
  36. <!-- end: defines page layout -->
  37. <fo:page-sequence master-reference="simple">
  38. <fo:flow flow-name="xsl-region-body"
  39. text-align="justify">
  40. <fo:block font-size="12pt"
  41. font-family="sans-serif"
  42. background-color="blue"
  43. color="white"
  44. text-align="start">
  45. US English hypenation-ladder-count="no-limit"
  46. </fo:block>
  47. <fo:block font-size="12pt"
  48. font-family="sans-serif"
  49. space-after="3pt"
  50. language="en"
  51. country="US"
  52. hyphenate="true"
  53. hyphenation-ladder-count="no-limit"
  54. >
  55. This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a
  56. W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from
  57. another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its
  58. widespread deployment. This enhances the functionality and interoperability of the Web.
  59. </fo:block>
  60. <fo:block font-size="12pt"
  61. font-family="sans-serif"
  62. background-color="blue"
  63. color="white"
  64. text-align="start">
  65. US English hypenation-ladder-count="1"
  66. </fo:block>
  67. <fo:block font-size="12pt"
  68. font-family="sans-serif"
  69. space-after="3pt"
  70. language="en"
  71. country="US"
  72. hyphenate="true"
  73. hyphenation-ladder-count="1"
  74. >
  75. This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a
  76. W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from
  77. another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its
  78. widespread deployment. This enhances the functionality and interoperability of the Web.
  79. </fo:block>
  80. <fo:block font-size="12pt"
  81. font-family="sans-serif"
  82. background-color="blue"
  83. color="white"
  84. text-align="start">
  85. US English hypenation-ladder-count="2"
  86. </fo:block>
  87. <fo:block font-size="12pt"
  88. font-family="sans-serif"
  89. space-after="3pt"
  90. language="en"
  91. country="US"
  92. hyphenate="true"
  93. hyphenation-ladder-count="2"
  94. >
  95. This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a
  96. W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from
  97. another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its
  98. widespread deployment. This enhances the functionality and interoperability of the Web.
  99. </fo:block>
  100. <fo:block font-size="12pt"
  101. font-family="sans-serif"
  102. background-color="blue"
  103. color="white"
  104. text-align="start">
  105. US English hypenation-ladder-count="3"
  106. </fo:block>
  107. <fo:block font-size="12pt"
  108. font-family="sans-serif"
  109. space-after="3pt"
  110. language="en"
  111. country="US"
  112. hyphenate="true"
  113. hyphenation-ladder-count="3"
  114. >
  115. This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a
  116. W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from
  117. another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its
  118. widespread deployment. This enhances the functionality and interoperability of the Web.
  119. </fo:block>
  120. <fo:block font-size="12pt"
  121. font-family="sans-serif"
  122. background-color="blue"
  123. color="white"
  124. text-align="start">
  125. US English hypenation-ladder-count="4"
  126. </fo:block>
  127. <fo:block font-size="12pt"
  128. font-family="sans-serif"
  129. space-after="3pt"
  130. language="en"
  131. country="US"
  132. hyphenate="true"
  133. hyphenation-ladder-count="4"
  134. >
  135. This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a
  136. W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from
  137. another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its
  138. widespread deployment. This enhances the functionality and interoperability of the Web.
  139. </fo:block>
  140. <fo:block break-before="page"
  141. font-size="12pt"
  142. font-family="sans-serif"
  143. background-color="blue"
  144. color="white"
  145. text-align="start">
  146. German hypenation-ladder-count="no-limit"
  147. </fo:block>
  148. <fo:block font-size="12pt"
  149. font-family="sans-serif"
  150. space-after="3pt"
  151. language="de"
  152. hyphenate="true"
  153. hyphenation-ladder-count="no-limit"
  154. >
  155. 1. Warum TEI?
  156. Die Verwendungszeit elektronischer Editionen wird von mehreren
  157. Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu
  158. ihrer Darstellung verwendet werden, der etwas längeren der
  159. Betriebssysteme, unter denen die Darstellungsprogramme laufen,
  160. der logischen Einrichtung des Datenträgers, auf dem sich die
  161. Edition befindet, und dessen physischer Dauer.
  162. </fo:block>
  163. <fo:block font-size="12pt"
  164. font-family="sans-serif"
  165. background-color="blue"
  166. color="white"
  167. text-align="start">
  168. German hypenation-ladder-count="1"
  169. </fo:block>
  170. <fo:block font-size="12pt"
  171. font-family="sans-serif"
  172. space-after="3pt"
  173. language="de"
  174. hyphenate="true"
  175. hyphenation-ladder-count="1"
  176. >
  177. 1. Warum TEI?
  178. Die Verwendungszeit elektronischer Editionen wird von mehreren
  179. Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu
  180. ihrer Darstellung verwendet werden, der etwas längeren der
  181. Betriebssysteme, unter denen die Darstellungsprogramme laufen,
  182. der logischen Einrichtung des Datenträgers, auf dem sich die
  183. Edition befindet, und dessen physischer Dauer.
  184. </fo:block>
  185. <fo:block font-size="12pt"
  186. font-family="sans-serif"
  187. background-color="blue"
  188. color="white"
  189. text-align="start">
  190. German hypenation-ladder-count="2"
  191. </fo:block>
  192. <fo:block font-size="12pt"
  193. font-family="sans-serif"
  194. space-after="3pt"
  195. language="de"
  196. hyphenate="true"
  197. hyphenation-ladder-count="2"
  198. >
  199. 1. Warum TEI?
  200. Die Verwendungszeit elektronischer Editionen wird von mehreren
  201. Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu
  202. ihrer Darstellung verwendet werden, der etwas längeren der
  203. Betriebssysteme, unter denen die Darstellungsprogramme laufen,
  204. der logischen Einrichtung des Datenträgers, auf dem sich die
  205. Edition befindet, und dessen physischer Dauer.
  206. </fo:block>
  207. <fo:block font-size="12pt"
  208. font-family="sans-serif"
  209. background-color="blue"
  210. color="white"
  211. text-align="start">
  212. German hypenation-ladder-count="3"
  213. </fo:block>
  214. <fo:block font-size="12pt"
  215. font-family="sans-serif"
  216. space-after="3pt"
  217. language="de"
  218. hyphenate="true"
  219. hyphenation-ladder-count="3"
  220. >
  221. 1. Warum TEI?
  222. Die Verwendungszeit elektronischer Editionen wird von mehreren
  223. Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu
  224. ihrer Darstellung verwendet werden, der etwas längeren der
  225. Betriebssysteme, unter denen die Darstellungsprogramme laufen,
  226. der logischen Einrichtung des Datenträgers, auf dem sich die
  227. Edition befindet, und dessen physischer Dauer.
  228. </fo:block>
  229. <fo:block font-size="12pt"
  230. font-family="sans-serif"
  231. background-color="blue"
  232. color="white"
  233. text-align="start">
  234. German hypenation-ladder-count="4"
  235. </fo:block>
  236. <fo:block font-size="12pt"
  237. font-family="sans-serif"
  238. space-after="3pt"
  239. language="de"
  240. hyphenate="true"
  241. hyphenation-ladder-count="4"
  242. >
  243. 1. Warum TEI?
  244. Die Verwendungszeit elektronischer Editionen wird von mehreren
  245. Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu
  246. ihrer Darstellung verwendet werden, der etwas längeren der
  247. Betriebssysteme, unter denen die Darstellungsprogramme laufen,
  248. der logischen Einrichtung des Datenträgers, auf dem sich die
  249. Edition befindet, und dessen physischer Dauer.
  250. </fo:block>
  251. </fo:flow>
  252. </fo:page-sequence>
  253. </fo:root>
  254. </fo>
  255. <checks>
  256. <eval expected="8" xpath="count(//pageViewport[1]//flow/block[2]/lineArea)"/>
  257. <eval expected="Di-" xpath="//pageViewport[1]//flow/block[2]/lineArea[2]/text/word[10]"/>
  258. <eval expected="norma-" xpath="//pageViewport[1]//flow/block[2]/lineArea[4]/text/word[12]"/>
  259. <eval expected="mak-" xpath="//pageViewport[1]//flow/block[2]/lineArea[5]/text/word[9]"/>
  260. <eval expected="specifi-" xpath="//pageViewport[1]//flow/block[2]/lineArea[6]/text/word[10]"/>
  261. <eval expected="en-" xpath="//pageViewport[1]//flow/block[2]/lineArea[7]/text/word[9]"/>
  262. <eval expected="9" xpath="count(//pageViewport[1]//flow/block[4]/lineArea)"/>
  263. <eval expected="Di-" xpath="//pageViewport[1]//flow/block[4]/lineArea[2]/text/word[10]"/>
  264. <eval expected="nor-" xpath="//pageViewport[1]//flow/block[4]/lineArea[4]/text/word[12]"/>
  265. <eval expected="in" xpath="//pageViewport[1]//flow/block[4]/lineArea[5]/text/word[8]"/>
  266. <eval expected="the" xpath="//pageViewport[1]//flow/block[4]/lineArea[6]/text/word[9]"/>
  267. <eval expected="deployment." xpath="//pageViewport[1]//flow/block[4]/lineArea[7]/text/word[7]"/>
  268. <eval expected="8" xpath="count(//pageViewport[1]//flow/block[6]/lineArea)"/>
  269. <eval expected="Di-" xpath="//pageViewport[1]//flow/block[6]/lineArea[2]/text/word[10]"/>
  270. <eval expected="norma-" xpath="//pageViewport[1]//flow/block[6]/lineArea[4]/text/word[12]"/>
  271. <eval expected="making" xpath="//pageViewport[1]//flow/block[6]/lineArea[5]/text/word[9]"/>
  272. <eval expected="specifica-" xpath="//pageViewport[1]//flow/block[6]/lineArea[6]/text/word[9]"/>
  273. <eval expected="en-" xpath="//pageViewport[1]//flow/block[6]/lineArea[7]/text/word[9]"/>
  274. <eval expected="8" xpath="count(//pageViewport[1]//flow/block[8]/lineArea)"/>
  275. <eval expected="Di-" xpath="//pageViewport[1]//flow/block[8]/lineArea[2]/text/word[10]"/>
  276. <eval expected="norma-" xpath="//pageViewport[1]//flow/block[8]/lineArea[4]/text/word[12]"/>
  277. <eval expected="making" xpath="//pageViewport[1]//flow/block[8]/lineArea[5]/text/word[9]"/>
  278. <eval expected="specifica-" xpath="//pageViewport[1]//flow/block[8]/lineArea[6]/text/word[9]"/>
  279. <eval expected="en-" xpath="//pageViewport[1]//flow/block[8]/lineArea[7]/text/word[9]"/>
  280. <eval expected="8" xpath="count(//pageViewport[1]//flow/block[10]/lineArea)"/>
  281. <eval expected="Di-" xpath="//pageViewport[1]//flow/block[10]/lineArea[2]/text/word[10]"/>
  282. <eval expected="norma-" xpath="//pageViewport[1]//flow/block[10]/lineArea[4]/text/word[12]"/>
  283. <eval expected="mak-" xpath="//pageViewport[1]//flow/block[10]/lineArea[5]/text/word[9]"/>
  284. <eval expected="specifi-" xpath="//pageViewport[1]//flow/block[10]/lineArea[6]/text/word[10]"/>
  285. <eval expected="en-" xpath="//pageViewport[1]//flow/block[10]/lineArea[7]/text/word[9]"/>
  286. <eval expected="7" xpath="count(//pageViewport[2]//flow/block[2]/lineArea)"/>
  287. <eval expected="Editio-" xpath="//pageViewport[2]//flow/block[2]/lineArea[1]/text/word[7]"/>
  288. <eval expected="Le-" xpath="//pageViewport[2]//flow/block[2]/lineArea[2]/text/word[9]"/>
  289. <eval expected="verwen-" xpath="//pageViewport[2]//flow/block[2]/lineArea[3]/text/word[8]"/>
  290. <eval expected="un-" xpath="//pageViewport[2]//flow/block[2]/lineArea[4]/text/word[8]"/>
  291. <eval expected="logischen" xpath="//pageViewport[2]//flow/block[2]/lineArea[5]/text/word[7]"/>
  292. <eval expected="be-" xpath="//pageViewport[2]//flow/block[2]/lineArea[6]/text/word[9]"/>
  293. <eval expected="7" xpath="count(//pageViewport[2]//flow/block[4]/lineArea)"/>
  294. <eval expected="Edi-" xpath="//pageViewport[2]//flow/block[4]/lineArea[1]/text/word[7]"/>
  295. <eval expected="kurzen" xpath="//pageViewport[2]//flow/block[4]/lineArea[2]/text/word[8]"/>
  296. <eval expected="ver-" xpath="//pageViewport[2]//flow/block[4]/lineArea[3]/text/word[8]"/>
  297. <eval expected="Betriebssysteme," xpath="//pageViewport[2]//flow/block[4]/lineArea[4]/text/word[7]"/>
  298. <eval expected="lo-" xpath="//pageViewport[2]//flow/block[4]/lineArea[5]/text/word[7]"/>
  299. <eval expected="die" xpath="//pageViewport[2]//flow/block[4]/lineArea[6]/text/word[8]"/>
  300. <eval expected="7" xpath="count(//pageViewport[2]//flow/block[6]/lineArea)"/>
  301. <eval expected="Edi-" xpath="//pageViewport[2]//flow/block[6]/lineArea[1]/text/word[7]"/>
  302. <eval expected="kurzen" xpath="//pageViewport[2]//flow/block[6]/lineArea[2]/text/word[8]"/>
  303. <eval expected="ver-" xpath="//pageViewport[2]//flow/block[6]/lineArea[3]/text/word[8]"/>
  304. <eval expected="Betriebssysteme," xpath="//pageViewport[2]//flow/block[6]/lineArea[4]/text/word[7]"/>
  305. <eval expected="logi-" xpath="//pageViewport[2]//flow/block[6]/lineArea[5]/text/word[7]"/>
  306. <eval expected="Edi-" xpath="//pageViewport[2]//flow/block[6]/lineArea[6]/text/word[9]"/>
  307. <eval expected="7" xpath="count(//pageViewport[2]//flow/block[8]/lineArea)"/>
  308. <eval expected="Editio-" xpath="//pageViewport[2]//flow/block[8]/lineArea[1]/text/word[7]"/>
  309. <eval expected="Le-" xpath="//pageViewport[2]//flow/block[8]/lineArea[2]/text/word[9]"/>
  310. <eval expected="ver-" xpath="//pageViewport[2]//flow/block[8]/lineArea[3]/text/word[8]"/>
  311. <eval expected="Betriebssysteme," xpath="//pageViewport[2]//flow/block[8]/lineArea[4]/text/word[7]"/>
  312. <eval expected="logi-" xpath="//pageViewport[2]//flow/block[8]/lineArea[5]/text/word[7]"/>
  313. <eval expected="Edi-" xpath="//pageViewport[2]//flow/block[8]/lineArea[6]/text/word[9]"/>
  314. <eval expected="7" xpath="count(//pageViewport[2]//flow/block[10]/lineArea)"/>
  315. <eval expected="Editio-" xpath="//pageViewport[2]//flow/block[10]/lineArea[1]/text/word[7]"/>
  316. <eval expected="Le-" xpath="//pageViewport[2]//flow/block[10]/lineArea[2]/text/word[9]"/>
  317. <eval expected="verwen-" xpath="//pageViewport[2]//flow/block[10]/lineArea[3]/text/word[8]"/>
  318. <eval expected="un-" xpath="//pageViewport[2]//flow/block[10]/lineArea[4]/text/word[8]"/>
  319. <eval expected="logischen" xpath="//pageViewport[2]//flow/block[10]/lineArea[5]/text/word[7]"/>
  320. <eval expected="be-" xpath="//pageViewport[2]//flow/block[10]/lineArea[6]/text/word[9]"/>
  321. </checks>
  322. </testcase>