Skip to main content

Module number

Module number 

Source
Expand description

Numeric variable extraction and page-range helpers. Rendering logic for numeric variables (volume, issue, pages, citation numbers, etc.).

This module handles number component rendering with support for page range formatting, edition labels, and numeric citation identifiers.

Functionsยง

check_plural
Heuristically detect whether a locator string should use plural labeling.
format_chicago
Chicago Manual of Style page range format
format_minimal
Minimal format: keep only differing digits, with minimum min_digits
format_page_range
Format a page range according to the specified format.
number_var_to_locator_type
Maps a number variable to its corresponding locator type.