Put spaces in example and definition labels.
[matthijs/master-project/report.git] / pret-lam.lua
index 41ffbc7f779b28f28e188a38669dd0c3ecad8c4a..43e8c8cc25f305ecf44b10e7d5a9b3b4311ca0ea 100644 (file)
@@ -175,7 +175,6 @@ local function do_indent(line)
         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
@@ -226,7 +225,7 @@ function vis.flush_line(str,nested)
 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.