?? - XSL-FO XHTML - XSL-FO - References and Links
| |
Page Amount References
"page-number": An XSL-FO aspect confined as a data capricious to accredit to
the accepted page number. It is actual advantageous for bearing active page number
in page attack area. The afterward cipher puts the accepted page amount at the left
edge of a block:
<fo:block text-align="end">
</fo:page-number/>
</fo:block>
"page-number-citation": An XSL-FO aspect confined as a data capricious to accredit to
the page amount area the referenced formatting item is located.
The referenced formatting item is defined by its "id" attribute.
The afterward cipher puts the page amount of affiliate 2 in referencing sentence:
<fo:block id="chapter_2">
Affiliate 2 ...
</fo:block>
...
<fo:block>
See Affiliate 2 on page
<fo:page-number-citation ref-id="chapter_2"/> for details.
</fo:block>
Hyper Links
"basic-link": An XSL-FO aspect confined as a appropriate account to
produce a aggressive link. A aggressive hotlink is clickable while the achievement certificate is
viewed in a browser. If a aggressive hotlink is clicked, the browser should move to
another area in the aforementioned certificate or an alien document
where this aggressive hotlink is referred to.
The afterward cipher defines a aggressive hotlink for an access in the table of contents:
<fo:block id="chapter_2">
Affiliate 2 ...
</fo:block>
...
<fo:block id="toc">
...
<fo:basic-link internal-destination="chapter-2" color="#0000ff">
Affiliate 2. ------ <fo:page-number-citation ref-id="chapter_2"/>
</fo:basic-link>
</fo:block>
The afterward cipher defines a aggressive hotlink apropos to an alien document
with the advice of an XSL action url():
<fo:block id="reference">
See <fo:basic-link
external-destination="url( www.geocities.com/_yang )"
color="#0000ff"> s home page</fo:basic-link>
for added details.
</fo:block>
Internal destinations are aswell advantageous for architecture indexes at the end of a document.
Page amount citations and centralized destinations can accredit both advanced and backward.
Forward references requires XSL formatter to action the antecedent cipher twice, because
a advanced page amount is not accepted during the first process. FOP seems to be processing
the antecedent cipher alert automatically. But I bethink that I accept to run TeX processors
twice to boldness page amount citations accurately with TeX documents.
Marked Altar References
"marker": An XSL-FO aspect confined as a appropriate account to mark a accumulation of formatting
objects with a advertence name.
"retrieve-marker": An XSL-FO aspect confined as a appropriate account to retrieve the
formatting altar apparent by the defined advertence name. This account can alone be acclimated in
"static-content" flows.
The afterward cipher marks a affiliate appellation with "chapter_title" as the advertence name, and
then retrieves the affiliate appellation in the footer area:
<fo:static-content flow-name="footer"
<fo:block border-top-width="1px" border-top-style="solid"
text-align="center">
<fo:retrieve-marker retrieve-class-name="chapter_title"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="body"
...
<fo:block id="chapter_2">
<fo:marker marker-class-name="chapter_title">
Affiliate 2. Title
</fo:marker>
<fo:block>
Affiliate 2. Title
</fo:block>
</fo:block>
...
</fo:flow>
|
block, chapter, hyper, title, marker, basic, following, references, element, serving, reference, statement, retrieve, content, twice, objects, static, forward, special, refer, links, citation, formatting, external, document, internal, , page number, hyper link, block <, element serving, chapter title, following code, basic link, title <, special statement, reference name, static content, page number citation, source code twice, class name chapter, page number citations, name chapter title, following code defines, following code puts, referenced formatting object, current page number, |
Also see ...
XSL FO Archetype complex_page.foLet s administer what we accept abstruse so far to make a added circuitous XSL FO examplefile to allegorize how to handle some avant garde formatting appearance like: b