12.07.2015 Views

Using XSL FO with XEP 3.0 - lib

Using XSL FO with XEP 3.0 - lib

Using XSL FO with XEP 3.0 - lib

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Leaders14. LeadersA leader is an object used in <strong>XSL</strong> <strong>FO</strong> to create horizontal rules, lengthy white spaces, dot-filled tabs etc.Here is an example of a horizontal inline rule used to form a nice separator:&#x274B;❷❶ This aligns the leader vertically to the middle baseline — more or less at the level where strokesof a small x character cross.❷ This draws a red eight-lobe asterisk. All dingbats should be referenced by their Unicode values;see <strong>XEP</strong> documentation for a list of codes assigned to ZapfDingbats glyphs.See also an example of leader usage in a section about page numbers.15. Footnotes and floatsTo insert a footnote at the bottom of the page, you should use a ‹fo:footnote› formatting object. It containstwo formatting objects as its children:• ‹fo:inline› contains an inline content used as a footnote anchor;• ‹fo:footnote-body› object stores the text of the footnote body; its content will be placed at the bottomof the page.Lists are often used to format footnote bodies. The example below shows a typical case:This text contains a footnote❶(1)(1)Page 22 of 30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!