copyind = utf.sub(indentlines[prev], 1, #newind)
setwidth = "\\setwidthof{" .. copyind .. "}\\to\\pretlamalignwidth"
hskip = "\\hskip\\pretlamalignwidth"
- print("{" .. setwidth .. hskip .. "}" .. rest)
return "{" .. setwidth .. hskip .. "}" .. rest
end
-- No previous line? Just return the unmodified line then
end
function vis.do_line(str, no_indent)
- result = {}
+ local result = {}
if not no_indent then
-- Allow ignore of the indentation stuff when we're calling ourselves
-- for a partial line.