setIndex

Registers the footnote index of this node within the document handled by context, according to the order of references to it. It is not updated if an index is already set.

Parameters

context

context where footnote data is stored

index

index of the footnote definition in the document, in order of reference