1. A method of detection of numbered captions in a document comprising: receiving a document comprising a sequence of document pages; identifying illustrations on pages of the document; for each identified illustration, identifying associated text; generating an imitation page for each of the identified illustrations, each of the imitation pages comprising only a single illustration and its associated text; for a sequence of the imitation pages, with a processor, identifying a sequence of terms, each term comprising a text fragment of the associate text of a respective one of the imitation pages, the terms of the sequence complying with at least one predefined numbering scheme which defines a form and an incremental state of the terms in a sequence; and construing the terms of the identified sequence of terms as each being at least a part of a numbered caption for a respective illustration in the document.