Skip to main content
Ignores repeating elements at the bottoms of pages. Sensible recognizes footers in one of two ways:
  • (Default) Sensible searches for repeated text at the bottom of the page. For more information about automatic recognition, see Notes.
  • (Configurable) To bypass automatic recognition, for example to recognize footer text that varies slightly, configure a text match. Sensible removes all text below the bottom boundary of the matched text. The preprocessor removes text on pages in which it finds the match, and ignores pages missing the match.

Parameters

Examples

The following example shows using automatic footer recognition. The example document contains:
  • A repeating footer with an incrementing page number. Sensible removes this.
  • A repeating sidebar that overlaps the y-extent of both repeating and variable elements:
    • Where it overlaps a repeating element, Sensible treats it as repeating and removes it.
    • Where it overlaps variable text, Sensible treats it as nonrepeating and retains it.
Config
JSON
Example document The following images show the example document used with this example config: Click to enlarge Click to enlarge Output
JSON

Notes

Automatic footer recognition To automatically recognize a footer, this preprocessor starts at the bottom of the page and moves up the page, stopping as soon as it finds a nonrepeating element. Sensible recognizes these elements as “repeating”:
  • Elements whose y-extent doesn’t overlap with any variable element on the page
  • Positively incrementing page numbers
These elements are not recognized as “repeating”:
  • Elements that change their alignment on alternate pages (for example, page numbers aligned alternately left and right, as in a book)
  • A repeating element that’s missing from even one page (for example, from an intentionally blank page).