APEX@IGP-FX

Infogrid Pacific-The Science of Information

20

F4: Headings

Document section sub-division

Simple Headings

Simple bodytext headings are heading text that can be enclosed in a single <h2> to <h6> element.

Note that <h1> is strictly reserved for titles in title blocks.

The heading element will be a direct child of the galley-rw and a section-rw element, and optionally a layout control element.

<div class="galley-rw">
    <div class="body-rw Chapter-rw">
        <div class="layout-rw cols-rw"> 
            <h2>This is like an ahead</h2>
            <h3>This is like a bhead</h3>
            <h4>This is like a chead</h4>
            <h5>This is like a dhead</h5>
            <h6>This is like an ehead</h6>
        </div>
    </div>
</div>

If more heading depth is required, then the heading class statement is added to <h6>. This is relatively rare in contemporary documents, but legacy academic documents can have up to level-n on an occasional basis.

<h6 class="heading-7-rw">This is like a fhead</h6>
<h6 class="heading-8-rw">This is like a ghead</h6>

Corporate documents and word-processor sourced documents tend to use the "heading 1" nomenclature. These terms can be substituted easily in supporting documentation as the publisher A-Head terminology is not explicit in FX.

Simple Numbered Headings

Depending on the document requirements and project it is ideal if section numbers are tagged. This allows them to be suppressed or regenerated if required in a variable content environment.

This is done by adding a span statement to the heading number. This is usually done by an automated processor and the stylesheet can allow them to float in harmony with their heading text, however on strict number controlled documents such as amendment managed manuals or specifications, regeneration of number is strictly not allowed after initial publishing. Processors must take this into account.

Conditional counters in CSS renderers make section numbering relatively easy for Print. Online documents require XSL processing support for automatic numbering.

<h2><span class="num-heading-rw">A</span>. This is like an ahead</h2>
<h3><span class="num-heading-rw">I</span>. This is like a bhead</h3>
<h4><span class="num-heading-rw">a</span>. This is like a chead</h4>
<h5><span class="num-heading-rw">i</span>. This is like a dhead</h5>
<h6><span class="num-heading-rw">1</span>. This is like an ehead</h6>

Section multi-level numbering can be handled in a similar manner. Using CSS counters for number generation or processor generated renumbering is not a topic for this document.

<h2><span class="num-heading-rw">1</span>. This is like an head</h2>
<h3><span class="num-heading-rw">1.1</span>. This is like a bhead</h3>
<h4><span class="num-heading-rw">1.1.1</span>. This is like a chead</h4>
<h5><span class="num-heading-rw">1.1.1.1</span>. This is like a dhead</h5>
<h6><span class="num-heading-rw">1.1.1.1.1</span>. This is like an ehead</h6>

Informal headings

Often there is a requirement for headings that are not part of the formal document structure. For this purpose informal headings are defined.

They use <p>rather than <h*> elements to ensure they are not interpreted into document structure.

<p class="heading-informal-rw"> .... </p>

© 2005-2012 Infogrid Pacific. All rights reserved.

comments powered by Disqus