Finds patterns matching TeX glue in nodes. A pretty-formatted version
of the glue is returned along with information about how many nodes were consumed.
The return object consists of
printedGlue - the pretty-printed version of the glue
endIndex - the index in nodes where the glue string terminates
partialSliceLen - how far into the Ast.String node the glue string finished. For example 1ptXX would parse as 1pt, and the parsing would terminate partway through the string node.
Finds patterns matching TeX glue in
nodes
. A pretty-formatted version of the glue is returned along with information about how many nodes were consumed.The return object consists of
printedGlue
- the pretty-printed version of the glueendIndex
- the index innodes
where the glue string terminatespartialSliceLen
- how far into theAst.String
node the glue string finished. For example1ptXX
would parse as1pt
, and the parsing would terminate partway through the string node.