<axf:ruby-text>
(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Category Ruby Extended Elements >> <axf:ruby-base> / CSS display: ruby-base
Common Usage: | Specifies ruby. |
Areas: | Generates and returns the text area. This text area does not impact upon the block progression dimension in the line area. |
Constraints: | <!ELEMENT axf:ruby-text #PCDATA> Within the axf:ruby elements, the Nth axf:ruby-text element addresses to the Nth axf:ruby-base element. The Nth axf:ruby-text element must be placed after the Nth axf:ruby-base element. |
Specifies display: ruby-text in CSS.
XSL-FO sample:
| <fo:root xml:lang="en" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| Antenna House, Inc. | |
| ||
| </fo:block> | |
| ||
| ||
| ||
| ||
| Example of ruby in vertical mode | |
| </fo:block> | |
| </fo:block> | |
| ||
| This is an example of expressing ruby in vertical writing mode. Ruby can be expressed by axf:ruby, axf:ruby-base and axf:ruby-text. axf:ruby-base is the base character and axf:ruby-text is the ruby character. One <axf:ruby-base> maps to one <axf:ruby-text>. A pair of one <axf:ruby-base> and <axf:ruby-text> is called the ruby container and multiple ruby containter are set within axf:ruby. A ruby has 3 forms, and it's classified as follows. | |
| </fo:block> | |
| ||
| Mono-ruby | |
| </fo:block> | |
| ||
| <axf:ruby> | |
| ||
| 電 | |
| ||
| ||
| でん | |
| ||
| </axf:ruby> | |
| <axf:ruby> | |
| ||
| 子 | |
| ||
| ||
| し | |
| ||
| </axf:ruby> | |
| ファイルの | |
| <axf:ruby> | |
| ||
| 形 | |
| ||
| ||
| けい | |
| ||
| </axf:ruby> | |
| <axf:ruby> | |
| ||
| 式 | |
| ||
| ||
| しき | |
| ||
| </axf:ruby> | |
| としてのPDFを | |
| <axf:ruby> | |
| ||
| 大 | |
| ||
| ||
| おお | |
| ||
| </axf:ruby> | |
| <axf:ruby> | |
| ||
| 雑 | |
| ||
| ||
| ざっ | |
| ||
| </axf:ruby> | |
| <axf:ruby> | |
| ||
| 把 | |
| ||
| ||
| ぱ | |
| ||
| </axf:ruby> | |
| にいうと | |
| <axf:ruby> | |
| ||
| 紙 | |
| ||
| ||
| かみ | |
| ||
| </axf:ruby> | |
| のページを | |
| <axf:ruby> | |
| ||
| 電 | |
| ||
| ||
| でん | |
| ||
| </axf:ruby> | |
| <axf:ruby> | |
| ||
| 子 | |
| ||
| ||
| し | |
| ||
| </axf:ruby> | |
| <axf:ruby> | |
| ||
| 的 | |
| ||
| ||
| てき | |
| ||
| </axf:ruby> | |
| に | |
| <axf:ruby> | |
| ||
| 表 | |
| ||
| ||
| ひょう | |
| ||
| </axf:ruby> | |
| <axf:ruby> | |
| ||
| 現 | |
| ||
| ||
| げん | |
| ||
| </axf:ruby> | |
| したものである。 | |
| </fo:block> | |
| ||
| Group-ruby | |
| </fo:block> | |
| ||
| <axf:ruby> | |
| ||
| 電子 | |
| ||
| ||
| でんし | |
| ||
| </axf:ruby> | |
| ファイルの | |
| <axf:ruby> | |
| ||
| 形式 | |
| ||
| ||
| けいしき | |
| ||
| </axf:ruby> | |
| としてのPDFを | |
| <axf:ruby> | |
| ||
| 大雑把 | |
| ||
| ||
| おおざっぱ | |
| ||
| </axf:ruby> | |
| にいうと | |
| <axf:ruby> | |
| ||
| 紙 | |
| ||
| ||
| かみ | |
| ||
| </axf:ruby> | |
| のページを | |
| <axf:ruby> | |
| ||
| 電子的 | |
| ||
| ||
| でんしてき | |
| ||
| </axf:ruby> | |
| に | |
| <axf:ruby> | |
| ||
| 表現 | |
| ||
| ||
| ひょうげん | |
| ||
| </axf:ruby> | |
| したものである。 | |
| </fo:block> | |
| ||
| Jukugo (kanji compound word)-ruby | |
| </fo:block> | |
| ||
| <axf:ruby> | |
| ||
| 電 | |
| ||
| ||
| でん | |
| ||
| ||
| 子 | |
| ||
| ||
| し | |
| ||
| </axf:ruby> | |
| ファイルの | |
| <axf:ruby> | |
| ||
| 形 | |
| ||
| ||
| けい | |
| ||
| ||
| 式 | |
| ||
| ||
| しき | |
| ||
| </axf:ruby> | |
| としてのPDFを | |
| <axf:ruby> | |
| ||
| 大 | |
| ||
| ||
| おお | |
| ||
| ||
| 雑 | |
| ||
| ||
| ざっ | |
| ||
| ||
| 把 | |
| ||
| ||
| ぱ | |
| ||
| </axf:ruby> | |
| にいうと | |
| <axf:ruby> | |
| ||
| 紙 | |
| ||
| ||
| かみ | |
| ||
| </axf:ruby> | |
| のページを | |
| <axf:ruby> | |
| ||
| 電 | |
| ||
| ||
| でん | |
| ||
| ||
| 子 | |
| ||
| ||
| し | |
| ||
| ||
| 的 | |
| ||
| ||
| てき | |
| ||
| </axf:ruby> | |
| に | |
| <axf:ruby> | |
| ||
| 表 | |
| ||
| ||
| ひょう | |
| ||
| ||
| 現 | |
| ||
| ||
| げん | |
| ||
| </axf:ruby> | |
| したものである。 | |
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |