[Accessibility conventions are described at the bottom of the page]
*** This is a free preview excerpt of a commercial publication. ***

5. Generic body constructs
[> 6.][< 4.0.2][^^^]
5.0 Often-used formatting constructs
[> 6.][< 5.][^^][^^^]
Many publishing requirements involve the following commonly-used constructs:
[[1] - pairs of aligned block-level layout areas in the inline-progression direction
[[2] - normally flowing a block-level area breaks the block progression direction, stacking the block area after the previous area
[[3] - holds two block-level areas stacked beside each other
 [3] - block areas are aligned on their respective before edges
][2] - coupled members (e.g. side-by-side translated polyglot (multi-language) text)
 [2] - unordered members of a collection (e.g. bulleted lists)
 [2] - ordered members of a collection (e.g. sequenced lists with labels of alpha, roman, number, etc.)
][1] - non-textual information
[[2] - static images or dynamic windows into live applications
 [2] - information external to the XSL-FO instance
[[3] - mandatory for non-XML expressions of the information
 [3] - optional for XML expressions of the information (e.g. SVG)
][2] - information embedded in the XSL-FO instance
[[3] - must be an XML expression of the information (e.g. SVG)
]][1] - unidirectional associations of information
[[2] - from areas of the area tree to a target external resource
 [2] - from areas of the area tree to a target area in the same area tree
 [2] - interactivity engaged by the operator viewing the rendered result can navigate the operator to the target location triggering a traversal of the association
 [2] - unidirectional links have no "back link" information to retrace steps
[[3] - such functionality in browsers and page turner applications is maintained by the application itself, not by the inherent properties of the link
]][1] - elastic and inelastic inline areas and decorations
[[2] - forcing inline items to the opposite boundaries of a line
 [2] - assistance when the eye travels from one side of a page to the opposite side
[[3] - used in entries in tables of content
][2] - patterned sequences of characters joining information on a single line
[[3] - e.g. a dot leader
][2] - drawn rules in the inline-progression direction
[[3] - a non-textual straight-ruled mark
][2] - when the length is specified the construct is inelastic
[[3] - useful standalone to break up the flow of information with visual barriers
][2] - when the length cannot be predetermined, the construct can be elastic
[[3] - grows to the length needed
]]]
An example of a side-by-side bilingual text presentation of an excerpt from the Canadian statute "Employment Equity Act, S.C. 1995, c. 44":
[Figure 5.1: English and French side-by-side tabular presentation
A page of side-by-side English and French text is shown with aligned paragraph starts. The paragraph pairs are rendered in table rows, thus guaranteeing the before alignment of the two members of the pair.
]
Note:
[[1] - the paragraphs are aligned at the before edges
 [1] - the sizes of the respective paragraphs are different
 [1] - no need to calculate the distance needed to align the starts of paragraphs
]
Aligned pairs of block-level layout areas can be used for different purposes
[[1] - side-by-side presentation
[[2] - e.g. simultaneous translation with aligned paragraphs
][1] - traditional list structures
[[2] - e.g. numbered lists, bulleted lists, terminology definitions, etc.
]]
[Figure 5.2: Aligned layout areas
Two separate pages are shown, the one on the left with like-sized label and body blocks for parallel aligned content, and the one on the right as a traditional list content. Each page shows a single list and its constituent components. None of the components are labeled.
]
The same XSL-FO semantic is used for both kinds of layout above.
The samp/leadlink.fo example illustrates leaders, links and graphics:
[Figure 5.3: Example for leaders, links and graphics
A formatted table of contents is shown, with three chapter titles on the left and dotted-line leaders to respective page numbers on the right. An additional line shows the total page count in a similar fashion.
Between the title and subtitle are 5 horizontal lines: the top two are close together, the bottom two are close together, and the middle one is about equidistant between the top two and the bottom two.
Centered after the "Table of Contents" header is a small graphic showing two flags.
]
The text of each line of the table of contents is "hot"
[[1] - the operator interacts with a hot area in order to traverse a link
[[2] - e.g. a mouse click
][1] - the operator is moved to the focus to the target of the association
[[2] - e.g. another page in the same XSL-FO formatted result
 [2] - e.g. a page in the another XSL-FO formatted result
 [2] - e.g. a web browser with a web page address
]]
A graphic image shown below the title
[[1] - in this example, this is an external bit image
]
Various leaders are used on the page
[[1] - near the top there are inelastic rule leaders 100% of the width of the page
 [1] - above the page count there is an inelastic rule leader 60% the width of the page
 [1] - in each entry there is an elastic dot leader that stretches between the start-aligned titles and the end-aligned page numbers
]
The XSL-FO objects covered in this chapter are summarized as follows.
List objects:
[[1] - <[list-block]> ([6.8.2])
[[2] - the collection object of a related set of child member pairs of aligned block-level areas
][1] - <[list-item]> ([6.8.3])
[[2] - a member pair of aligned block-level areas in a collection
][1] - <[list-item-label]> ([6.8.5])
[[2] - the start-side member of a pair of aligned block-level areas
][1] - <[list-item-body]> ([6.8.4])
[[2] - the end-side member of a pair of aligned block-level areas
]]
Graphic objects:
[[1] - <[external-graphic]> ([6.6.5])
[[2] - the inline display of graphical or other externally-supplied information
][1] - <[instream-foreign-object]> ([6.6.6])
[[2] - the inline display of graphical or other instance-supplied information
][1] - [F1.1]<[scaling-value-citation]> ([6.6.15])
[[2] - the inline display of scaling factor applied to the cited instance-supplied object or externally-supplied information
]]
Link object:
[[1] - <[basic-link]> ([6.9.2])
[[2] - the inline display of the start resource of a unidirectional link to a single end point
]]
Leader/rule object:
[[1] - <[leader]> ([6.6.9])
[[2] - the inline elastic or rigid display of a rule or a repeated sequence of characters
]]

*** This is a free preview excerpt of a commercial publication. ***

This is an accessible version of Crane's commercial training material. The content has been specifically designed to assist screen reader software in viewing the entire textual content. Figures are replaced with text narratives.

Navigation hints are in square brackets:
[Tx.x] and [Fx.x] are textual representations of the applicability icons;
[digit] indicates list depth for nested lists;
[link [URL]] indicates the URL of a hyperlink if different than link;
[EXAMPLE] indicates an example listing of code;
[FIGURE] indicates the presence of a figure replaced by its description;
[>] jumps forward;
[<] jumps backward;
[^] jumps to start of the section;
[^^] jumps to the start of the chapter;
[^^^] jumps to the table of contents.
Suggestions for improvement are welcome: [info@CraneSoftwrights.com]
Book sales: [http://www.CraneSoftwrights.com/links/trn-acc.htm]
Information: [http://www.CraneSoftwrights.com/links/info-acc.htm]
This content is protected by copyright and, as there are no means to protect this accessible version from plagiarism, please do not make any commercial edition available to others.

+//ISBN 978-1-894049::CSL::Courses::PFUX//DOCUMENT Practical Formatting Using XSL-FO 2008-01-27 17:30UTC//EN
Practical Formatting Using XSL-FO
Seventh Edition - 2008-01-27
ISBN 978-1-894049-19-1
Copyright © Crane Softwrights Ltd.