On Tue, Aug 21, 2012 at 11:41 AM, Hans Hagen
I know .. the problem is that I am cleaning up all the code (the status can be seen in status-mkiv.pdf) and have to find a moment of stability as such a cleanup is often leading to temporsry issues (due to renaming)
no status-mkiv.pdf in the directory; status-mkiv.tex doesn't compile because status-namespaces.lua and status-registers.lua don't exist yet. commenting those sections out solves the problem, or if you want to get fancy there's a patch below that checks if the files exist. Cheers, Sietse context.starttitle { title = "messy namespaces" } - local namespaces = dofile("status-namespaces.lua") + local namespaces = io.exists("status-namespaces.lua") and + dofile("status-namespaces.lua") or { } + + if not io.exists("status-namespaces.lua") then + context("\\type{status-namespaces.lua} does not exist yet.") + end for namespace, data in table.sortedhash(namespaces) do if valid[namespace] then else context(namespace) end context.par() end context.stoptitle() context.starttitle { title = "messy registers" } - local namespaces = dofile("status-registers.lua") + local registers = io.exists("status-registers.lua") and + dofile("status-registers.lua") or { } + + if not io.exists("status-registers.lua") then + context("\\type{status-registers.lua} does not exist yet.") + end