On Fri, Jul 3, 2009 at 9:14 AM, Taco Hoekwater wrote: > > > luigi scarso wrote: > > > > > > On Fri, Jul 3, 2009 at 8:56 AM, Taco Hoekwater > > wrote: > > > > Mojca Miklavec wrote: > > > > > > Line Number > > > > I don't know of any way, but TeX sometimes complains on errors > and > > outputs the line number along. > > > > > > There is \inputlineno in TeX, so \the\inputlineno or the lua > > equivalent \ctxlua{tex.inputlineno} will work. > > > > The problem is exactly locate the error in source . > > Sometimes the errorline of the log are in someway imprecise , ie. "the > > errors is (are) > > around here " . > > Yeah, that can't be helped (unless you don't do multi-line paragraphs > nor macros) > we need something like a stack trace; also a lua "try/except" construct should be nice . -- luigi