Description
Parse pageDigits as 1-128 decimal digits and add the signed decimal-integer increment exactly, requiring a nonnegative result.
Source-scoped cultural and historical records preserve an edition, naming convention, or local identifier. Literal agreement is useful bookkeeping but does not establish interpretation, authenticity, or authority.
Parse pageDigits as 1-128 decimal digits and add the signed decimal-integer increment exactly, requiring a nonnegative result.
When to use this tool
Use Archival Page Sequence Increment when you need a precise source-token or range consistency check.
How to use the tool and how it works
- Enter pageDigits, increment, preserveWidth. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result, widthChanged. Inspect widthChanged before interpreting the associated values.
Parse pageDigits as 1-128 decimal digits and add the signed decimal-integer increment exactly, requiring a nonnegative result. Optionally pad to original width and report whether output width changed.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| pageDigits | 1-128 decimal digits; leading zeros accepted. | Required. Text; maximum UTF-16 length 8192. Integer syntax: optional + or - and 1-128 decimal digits; leading zeros accepted. Apply the sign restriction above. |
| increment | Signed exact decimal-integer string under the supported grammar. | Required. Text; maximum UTF-16 length 8192. Integer syntax: optional + or - and 1-128 decimal digits; leading zeros accepted. Apply the sign restriction above. |
| preserveWidth | Preserve Width | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Resulting page-number string, optionally zero-padded to the original width. | Required. Text; maximum UTF-16 length 8192. |
| widthChanged | Width Changed | Required. Boolean. |
{
"input": {
"pageDigits": "0099",
"increment": "1",
"preserveWidth": true
},
"output": {
"result": "0100",
"widthChanged": false
}
} Limitations and assumptions
- Leading zeros are retained only under preserveWidth; numbering is numeric and does not resolve foliation, missing pages, mixed labels, or source authenticity.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Consult the source edition and relevant community or scholarly guidance before interpreting or reusing the material.
References
Similar or alternative tools
- Archival Leaf Number Gap
Return signed second-first gap and max(0, absolute gap minus one) as skippedLeaves.
- Historical Unit Symbol Token
Return literal membership and its zero-based index, or index -1 when absent.