<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.

Example of ruby in vertical mode

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.

Mono-ruby

でん

ファイルの

けい

しき

としてのPDFを

おお

ざっ

にいうと

かみ

のページを

でん

てき

ひょう

げん

したものである。

Group-ruby

電子

でんし

ファイルの

形式

けいしき

としてのPDFを

大雑把

おおざっぱ

にいうと

かみ

のページを

電子的

でんしてき

表現

ひょうげん

したものである。

Jukugo (kanji compound word)-ruby

でん

ファイルの

けい

しき

としてのPDFを

おお

ざっ

にいうと

かみ

のページを

でん

てき

ひょう

げん

したものである。

Download der Beispiele

Output:

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: