diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/buff-ver.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/buff-ver.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/buff-ver.lua b/Master/texmf-dist/tex/context/base/mkiv/buff-ver.lua index ad06dceeca3..ccb8ab0df8e 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/buff-ver.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/buff-ver.lua @@ -588,7 +588,7 @@ end local function realign(lines,strip) -- "yes", <number> local n if strip == v_yes then - n = math.huge + n = 0xFFFF for i=1, #lines do local spaces = find(lines[i],"%S") -- can be lpeg if not spaces then @@ -800,7 +800,7 @@ end -- needed in e.g. tabulate (manuals) local fences = S([[[{]]) -local symbols = S([[!#"$%&'*()+,-./:;<=>?@[]^_`{|}~]]) +local symbols = S([[!#"$%&'*()+,-./:;<=>?@[]^_`{|}~0123456789]]) -- digits added but maybe split it local space = S([[ ]]) local backslash = S([[\]]) local nospace = space^1/"" @@ -808,7 +808,7 @@ local endstring = P(-1) local compactors = { [v_all] = Cs((backslash * (1-backslash-space)^1 * nospace * (endstring+fences) + 1)^0), - [v_absolute] = Cs((backslash * (1-symbols -space)^1 * nospace * (symbols +backslash) + 1) ^0), + [v_absolute] = Cs((backslash * (1-symbols -space)^1 * nospace * (symbols+backslash) + 1)^0), [v_last] = Cs((space^1 * endstring/"" + 1)^0), } |