From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_ZEN_BLOCKED_OPENDNS, URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id E16F922D56 for ; Sun, 21 Sep 2025 00:53:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 751AF4870B5 for ; Sun, 21 Sep 2025 00:53:27 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavis); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:x-mailer:message-id :in-reply-to:references:date:date:mime-version:from:from :received:received:received:received:received:received:received; s=cgl; t=1758408806; x=1761000807; bh=6MCofAbCY16CLPI1YxyhIlLzV 3q9ZwfPS4qmQCEDhuQ=; b=XyUTiMXz5mIPg2Mfz2hWC6yLh9GdZ/PIUrKujl5SV Ndt2nmYalse/Yce8OjLYdgkd/5ogjyujA5K/mBdxwWuulEfrxxygQuiqaus2MwMQ IaO0G9Kl9PU9aw/QRHfqa1btOF9O+tOfGKpr/Gz+jg9Ij5S8jeNUPfwDWkCPEaym PM= X-Virus-Scanned: Debian amavis at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavis); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id 0fUDXRsy-Vye for ; Sun, 21 Sep 2025 00:53:26 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 44B3E487447 for ; Sun, 21 Sep 2025 00:50:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id F002848707C for ; Sun, 21 Sep 2025 00:49:52 +0200 (CEST) X-Virus-Scanned: Debian amavis at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id aKYe7ttLmmTv for ; Sun, 21 Sep 2025 00:49:51 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.51; helo=mail-wr1-f51.google.com; envelope-from=otared@gmail.com; receiver=ntg.nl Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 3AD65487033 for ; Sun, 21 Sep 2025 00:49:50 +0200 (CEST) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3ef166e625aso1434478f8f.2 for ; Sat, 20 Sep 2025 15:49:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758408590; x=1759013390; darn=ntg.nl; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :from:to:cc:subject:date:message-id:reply-to; bh=3y/8qUsI8jWM17O+okgQIxmiYiza/D07WZzO2G3u1hw=; b=MulBJmp8Pzhf7JzkUKaBxEclYs0O1CyxhJi85pqCZnmDV4/YHJl5I5/GD5UUnUDuhq BHR2dXNXNC9ZYBJoI/WVBbcW48ot1CsZJQZrmRuayi+9W5CFXzyc1j8jqhIFVjs6wIcP t2lfwDTrO/8ofB9xWHY6fABDHVeeMfZlkyhVYiRYwoTfUY3FJbbG0qMo6j7VANATJwwN 7qwrj2nmuALmLZq79xIjY3m4NeMaKnDQRXoFeEyaS2Qf+SpCD/vVBxT1kYNLk9nT/0dZ UnyxDI4Qv/4pQ2UbZ9PIa0M8FbRIUqDyIz7QrX9yALp91HTePJ49Dop70D57Rvcc8cBk 4T5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758408590; x=1759013390; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3y/8qUsI8jWM17O+okgQIxmiYiza/D07WZzO2G3u1hw=; b=QmSLYmnG8csdqjJK9YmCTD/eVcRs/kGxFgCSSp/e+0tUTpZbHfqielnzeRCz/aSeet gSKM4Q+r/ZsBHKW0G0c7/bGZU6VP9CxrcDLTA7sQP50so4ZthEvT/VMOJe8i61Re3T4u uEF/yMx7M3m2XBWNJYdR903tZFs1/D7iMvO+UiP25cmS3N50HHORAt3hddu4xSloMYi4 jM/aeKEusstjLsFEDnNHJSMDypX3KDz0cjkLuemt7iZ5TkG0uvB5HRoGbvTrqgQtskZH 6PQyIJX3A1IUpljMmwDYs39Fnn7C1ndLpo8ioyRXAhBa9CbsAcSlIGKTstq6Zo6m/iTJ dccQ== X-Gm-Message-State: AOJu0YwHPTZe3p5jIMmQpnnnnKQsJBhoOvYwudaqJvbzwDbaOS69u7Xt CVq1oxjJBMo/60bJ0oKCAUrs1YgBfPt779eLdS8o5w5UkfRaA56ljpncw2TwZ8Tf X-Gm-Gg: ASbGncthAQ6Hu6o7xzZAEy3/nQgKXxF2XjNBpPBxzoF4Dk/+dKyFFX0pk1B6xbcceHZ OQNzrClpAMb4087+vgSF5g6WkiSkT3aEdatOOTmEX9tZ9lSr0Z923TqNm5FWrLBO/Evc0kkWh7t C7BK7UySSQf1kVfG2hOiyVQzEiZayuxkYp8cw3sh+QCFnbeEsTBWGJhW62VvGKrmJ+fdByUB7F5 V8/AN5iOOwe7Jh05XG0+jhIHVMXPPDOOJOWBg5tfB6y0h16yWXjifkeSDhAalXp+nR8Ax1MzkHW 1bQY3lq9ahRFiYS7roRSnrtKEZgJLz9C4Apj5YF3qztrJD0byTyOT+e2Im91dkAaBetpWy++XAw a05sl4cyxdgqTmH4cdF8jsxKiW0tZOO5OyMvkveukPvn4 X-Google-Smtp-Source: AGHT+IFQFraMWZH5nmggDBnx0qztOErY5SubgYgdW3VN6hhILMhmAJH5xtsHS8fGshe1/fNDY+CfKA== X-Received: by 2002:a05:6000:2010:b0:3e8:71ad:de53 with SMTP id ffacd0b85a97d-3ee8808506dmr6977625f8f.59.1758408590076; Sat, 20 Sep 2025 15:49:50 -0700 (PDT) Received: from smtpclient.apple ([2a01:e34:ec02:4760:28e2:3684:e863:3978]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3ee07407d33sm13729078f8f.18.2025.09.20.15.49.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Sep 2025 15:49:49 -0700 (PDT) From: Otared Kavian Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Date: Sun, 21 Sep 2025 00:49:48 +0200 References: <7A6FE0F0-2A79-4724-847D-B2DF5803DE47@gmail.com> To: mailing list for ConTeXt users In-Reply-To: Message-Id: <1A1F3EC1-A9E1-485E-86C0-3B31BDBE6FF3@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) Message-ID-Hash: YVEY43FLGBM3GXOYGKBN6YWLFB6QJ4WM X-Message-ID-Hash: YVEY43FLGBM3GXOYGKBN6YWLFB6QJ4WM X-MailFrom: otared@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Where is th efile status.html ? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============0634626338868321489==" --===============0634626338868321489== Content-Type: multipart/alternative; boundary="Apple-Mail=_1B8128DC-B532-4136-9A1B-4BF810830B9E" --Apple-Mail=_1B8128DC-B532-4136-9A1B-4BF810830B9E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Hans, Thanks for your reply. Indeed the file status.html is very useful to = find easily errors, and I rely on it heavily=E2=80=A6 The reason for = which I did not notice its disappearance is that I was still using = version 2025.01.04=E2=80=A6 I did uncomment lines 322=E2=80=93399 in trac-deb.lmt, but the file =C2=AB= jobname =C2=BB.status.html does not appear when there is an error in my = inputfile. I am sending the modified trac-deb.lmt in case it may be helpful. Best regards: Otared > On 20 Sep 2025, at 14:54, Hans Hagen via ntg-context = wrote: >=20 > On 9/20/2025 1:40 PM, Otared Kavian wrote: >> Hi Hans, >> Thanks for the new update from 2025-09-19 which I just downloaded. >> I notice that now ConTeXt does not produce anymore the file =C2=AB = jobname =C2=BB.status.html which was very useful to pin down errors. Am = I missing something, or is there a new way to have this nice feature = working again ? >=20 > hm, so it was used ... you can uncomment line 322-399 in trac-deb.lmt = and tell me if it works >=20 > Hans >=20 > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net = (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > = __________________________________________________________________________= _________ Otared Kavian e-mail: otared@gmail.com Phone: +33 6 88 26 70 95 --Apple-Mail=_1B8128DC-B532-4136-9A1B-4BF810830B9E Content-Type: multipart/mixed; boundary="Apple-Mail=_D3F5F3B0-2A27-4CBB-A33A-A0A7EAE4DCA7" --Apple-Mail=_D3F5F3B0-2A27-4CBB-A33A-A0A7EAE4DCA7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Hans,

Thanks for = your reply. Indeed the file status.html is very useful to find easily = errors, and I rely on it heavily=E2=80=A6 The reason for which I did not = notice its disappearance is that I was still using version = 2025.01.04=E2=80=A6

I did uncomment lines 322=E2=80=93399 in trac-deb.lmt, but = the file =C2=AB jobname =C2=BB.status.html does not appear when there is = an error in my inputfile.

I am sending the modified trac-deb.lmt in case it may be = helpful.

Best = regards: Otared

= --Apple-Mail=_D3F5F3B0-2A27-4CBB-A33A-A0A7EAE4DCA7 Content-Disposition: attachment; filename=trac-deb.lmt Content-Type: application/octet-stream; x-unix-mode=0644; name="trac-deb.lmt" Content-Transfer-Encoding: 7bit if not modules then modules = { } end modules ['trac-deb'] = { version = 1.001, comment = "companion to trac-deb.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } -- This is an old mechanism, a result of some experiments in the early days of -- luatex and mkiv, but still nice anyway. I will clean it up in lmtx. local status = status local tonumber, tostring, type = tonumber, tostring, type local format, concat, match, find, gsub = string.format, table.concat, string.match, string.find, string.gsub local report_nl = logs.newline local report_str = logs.writer tracers = tracers or { } local tracers = tracers local implement = interfaces.implement local ioflush = io.flush local ioread = io.read local ossleep = os.sleep local osexit = os.exit local writenl = texio.writenl local write = texio.write local runlocal = tex.runlocal local terminaldata = false local context = context implement { name = "fetchterminaldata", actions = function() context(terminaldata) end, } function texio.terminal() writenl("\n" .. "entering interactive mode, use \\quit to abort reading" .."\n\n") while true do write(">") ioflush() terminaldata = ioread() if terminaldata == "\\quit" then terminaldata = false break else runlocal("t_syst_terminal_data",nil,nil,true) -- obeymode end end end implement { name = "readfromterminal", public = true, protected = true, actions = texio.terminal, } local savedluaerror = nil local usescitelexer = nil local quitonerror = true local function errorreporter(luaerror) local category = luaerror and "lua error" or "tex error" local report = logs.reporter(category) logs.enable(category) return report end function tracers.showlines(filename,linenumber,offset,luaerrorline) local data = io.loaddata(filename) if not data or data == "" then local hash = url.hashed(filename) if not hash.noscheme then local ok, d, n = resolvers.loaders.byscheme(hash.scheme,filename) if ok and n > 0 then data = d end end end local scite = usescitelexer and require("util-sci") if scite then return utilities.scite.tohtml(data,"tex",linenumber or true,false) else local lines = data and string.splitlines(data) if lines and #lines > 0 then if luaerrorline and luaerrorline > 0 then -- lua error: linenumber points to last line local start = "\\startluacode" local stop = "\\stopluacode" local n = linenumber for i=n,1,-1 do local line = lines[i] if not line then break elseif find(line,start) then n = i + luaerrorline - 1 if n <= linenumber then linenumber = n end break end end end offset = tonumber(offset) or 10 linenumber = tonumber(linenumber) or 10 local start = math.max(linenumber - offset,1) local stop = math.min(linenumber + offset,#lines) if stop > #lines then return "" else local result, fmt = { }, "%" .. #tostring(stop) .. "d %s %s" for n=start,stop do result[#result+1] = format(fmt,n,n == linenumber and ">>" or " ",lines[n]) end return concat(result,"\n") end else return "" end end end -- todo: last tex error has ! prepended -- todo: some nested errors have two line numbers -- todo: collect errorcontext in string (after code cleanup) -- todo: have a separate status.lualinenumber -- todo: \starttext bla \blank[foo] bla \stoptext local nop = function() end local resetmessages = status.resetmessages or nop local erroroffset = 10 local function processerror(errortype) local readstate = status.getreadstate() local filename = readstate.filename local linenumber = readstate.linenumber local skiplinenumber = readstate.skiplinenumber local errorstate = status.errorstate local lastcontext = errorstate.errorcontext local lasttexerror = errorstate.error or "?" local lastluaerror = errorstate.luaerror or "?" -- lasttexerror local luaerrorline = match(lastluaerror,[[lua%]?:.-(%d+)]]) or (lastluaerror and find(lastluaerror,"?:0:",1,true) and 0) local lastmpserror = match(lasttexerror,[[^.-mp%serror:%s*(.*)$]]) resetmessages() lastluaerror = gsub(lastluaerror,"%[\\directlua%]","[ctxlua]") local specification = { filename = filename, linenumber = linenumber, skiplinenumber = skiplinenumber, offset = erroroffset, contexterror = job.contexterror, lasttexerror = lasttexerror, lastmpserror = lastmpserror, lastluaerror = lastluaerror, -- can be the same as lasttexerror luaerrorline = luaerrorline, lastcontext = lastcontext, lasttexhelp = tex.gethelptext(), errortype = errortype, } job.errorstate = specification tracers.printerror(specification) if job and type(job.disablesave) == "function" then job.disablesave() end lua.setexitcode(1) end directives.register("system.quitonerror", function(v) quitonerror = toboolean(v) end) directives.register("system.usescitelexer",function(v) usescitelexer = toboolean(v) end) local busy = false function tracers.printerror(specification) if not busy then busy = true local errorvalues = table.swapped(tex.geterrorvalues()) local filename = specification.filename local linenumber = specification.linenumber local lasttexerror = specification.lasttexerror local lastmpserror = specification.lastmpserror local lastluaerror = specification.lastluaerror local lastcontext = specification.lastcontext local luaerrorline = specification.luaerrorline local errortype = specification.errortype local offset = specification.offset or erroroffset local endoffile = specification.endoffile local report = errorreporter(luaerrorline) if errortype == errorvalues.warning then report("warning error: %s",lasttexerror or "-") busy = false; return; elseif errortype == errorvalues.eof then report("runaway error: %s",lasttexerror or "-") if not quitonerror and texio.terminal then texio.terminal() -- not well tested end elseif errortype == errorvalues.condition then linenumber = specification.skiplinenumber if linenumber > 0 then report("condition error on line %s in file %s: %s",linenumber,filename,lasttexerror) report_nl() report_str(tracers.showlines(filename,linenumber,offset,tonumber(luaerrorline))) report_nl() else report("runaway condition error: %s",lasttexerror or "-") end quitonerror = true elseif not filename then report("fuzzy error:") report(" tex: %s",lasttexerror or "-") report(" lua: %s",lastluaerror or "-") report(" mps: %s",lastmpserror or "-") elseif type(filename) == "number" then report("error on line %s of filehandle %s: %s ...",linenumber,lasttexerror) else report_nl() if luaerrorline then if linenumber == 0 or not filename or filename == "" then print("\nfatal lua error:\n\n",lastluaerror,"\n") luatex.abort() return else report("lua error on line %s in file %s:\n\n%s",linenumber,filename,lastluaerror) end elseif lastmpserror then report("mp error on line %s in file %s:\n\n%s",linenumber,filename,lastmpserror) else report("tex error on line %s in file %s: %s",linenumber,filename,lasttexerror) if lastcontext then report_nl() report_str(lastcontext) report_nl() else report_nl() -- tex.showcontext() end if lastluaerror and not match(lastluaerror,"^%s*[%?]*%s*$") then print("\nlua error:\n\n",lastluaerror,"\n") quitonerror = true end end report_nl() report_str(tracers.showlines(filename,linenumber,offset,tonumber(luaerrorline))) report_nl() end if quitonerror then local name = tex.jobname or "" if name ~= "" then table.save(name .. "-error.log",specification) end local help = specification.lasttexhelp if help and #help > 0 then -- If we get rubish a NULL is forgotten in engine error trigger! report_nl() report_str(help) report_nl() report_nl() end luatex.abort() end busy = false end end luatex.wrapup(function() os.remove(tex.jobname .. "-error.log") end) local function processwarning() local warningstate = status.warningstate local lastwarning = warningstate.warning or "?" local lastlocation = warningstate.warningtag or "?" resetmessages() tracers.printwarning { lastwarning = lastwarning, lastlocation = lastlocation, } end function tracers.printwarning(specification) logs.report("luatex warning","%s: %s",specification.lastlocation,specification.lastwarning) end directives.register("system.errorcontext", function(v) erroroffset = tonumber(v) or erroroffset -- is set in the configuration file end) callbacks.register { name = "show_error_message", frozen = true, disabled = true, } callbacks.register { name = "show_warning_message", frozen = true, action = processwarning, } callbacks.register { name = "intercept_lua_error", frozen = true, action = processerror } callbacks.register { name = "intercept_tex_error", frozen = true, action = function(mode,errortype) processerror(errortype) return mode end } -- tracers.processerror = processerror -- Let's no longer do this in lmtx .. it was actually a proof of concept. There is no -- reliable way to pop up a browser anyway. We keep the code around becuae if really -- needed we can plug it into the normal error handler as addendum. lmx = lmx or { } lmx.htmfile = function(name) return environment.jobname .. "-status.html" end lmx.lmxfile = function(name) return resolvers.findfile(name,'tex') end local function reportback(lmxname,default,variables) if lmxname == false then return variables else local name = lmx.show(type(lmxname) == "string" and lmxname or default,variables) if name then logs.report("context report","file: %s",name) end end end local function showerror(lmxname) local readstate = status.getreadstate() local filename = readstate.filename local linenumber = tonumber(readstate.linenumber) or 0 local errorcontext = "" if not filename then filename = status.iocodes[readstate.iocode] errorcontext = 'error in filename' else errorcontext = tracers.showlines(filename,linenumber,offset) end local variables = { ['title'] = 'ConTeXt Error Information', ['errormessage'] = status.geterrorstate().error or "?", ['linenumber'] = linenumber, ['color-background-one'] = lmx.get('color-background-yellow'), ['color-background-two'] = lmx.get('color-background-purple'), ['filename'] = filename, ['errorcontext'] = errorcontext, } reportback(lmxname,"context-error.lmx",variables) luatex.abort() end lmx.showerror = showerror function lmx.overloaderror(v) if v == "scite" then usescitelexer = true end callbacks.register { name = "show_error_message", action = function() showerror() end } callbacks.register { name = "intercept_lua_error", action = function() showerror() end } callbacks.register { name = "intercept_tex_error", action = function() showerror() end } end directives.register("system.showerror", lmx.overloaderror) -- This is also gone local debugger = utilities.debugger local function trace_calls(n) debugger.enable() luatex.registerstopactions(function() debugger.disable() debugger.savestats(tex.jobname .. "-luacalls.log",tonumber(n)) end) trace_calls = function() end end directives.register("system.tracecalls", function(n) trace_calls(n) end) -- indirect is needed for nilling -- Again something that has become obsolete because it is not that usefull as normally one -- runs from an editor and when run unattended it makes no sense either. local editor = [[scite "-open:%filename%" -goto:%linenumber%]] -- -- directives.register("system.editor",function(v) -- editor = v -- end) -- -- local function call_edit_callback(filename,linenumber) -- if editor then -- editor = gsub(editor,"%%s",filename) -- editor = gsub(editor,"%%d",linenumber) -- editor = gsub(editor,"%%filename%%",filename) -- editor = gsub(editor,"%%linenumber%%",linenumber) -- logs.report("system","starting editor: %s",editor) -- os.execute(editor) -- end -- end -- -- callback.register("call_edit",call_edit_callback) implement { name = "showtrackers", public = true, protected = true, actions = trackers.show } implement { name = "enabletrackers", public = true, protected = true, actions = trackers.enable, arguments = "optional" } implement { name = "disabletrackers", public = true, protected = true, actions = trackers.disable, arguments = "optional" } implement { name = "resettrackers", public = true, protected = true, actions = trackers.reset } implement { name = "showdirectives", public = true, protected = true, actions = directives.show } implement { name = "enabledirectives", public = true, protected = true, actions = directives.enable, arguments = "optional" } implement { name = "disabledirectives", public = true, protected = true, actions = directives.disable, arguments = "optional" } implement { name = "showexperiments", public = true, protected = true, actions = experiments.show } implement { name = "enableexperiments", public = true, protected = true, actions = experiments.enable, arguments = "optional" } implement { name = "disableexperiments", public = true, protected = true, actions = experiments.disable, arguments = "optional" } --------- { name = "overloaderror", public = true, protected = true, actions = lmx.overloaderror } implement { name = "showlogcategories", public = true, protected = true, actions = logs.show } local debugger = utilities.debugger local profiling = false directives.register("system.profile",function(n) if not profiling then n = tonumber(n) or 0 luatex.registerstopactions(function() debugger.disable() debugger.savestats("luametatex-profile.log",n) report_nl() logs.report("system","profiler stopped, threshold %i, log saved in %a",n,"luametatex-profile.log") report_nl() end) logs.report("system","profiler started") debugger.enable() profiling = true end end) local report = logs.reporter("[[diagnostic]]") implement { name = "diagnostic", public = true, -- protected = false, -- expandable arguments = { "optional", "string" }, actions = function(t,s) if t == "quit" then report(s) osexit() else t = tonumber(t) if t then report("%s (sleep: %.3N)",s,t) ioflush() ossleep(t) else report(s) ioflush() end end end } --Apple-Mail=_D3F5F3B0-2A27-4CBB-A33A-A0A7EAE4DCA7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8


On 20 Sep 2025, at 14:54, Hans Hagen via = ntg-context <ntg-context@ntg.nl> wrote:

On = 9/20/2025 1:40 PM, Otared Kavian wrote:
Hi Hans,
Thanks for the new = update from 2025-09-19 which I just downloaded.
I notice = that now ConTeXt does not produce anymore the file =C2=AB jobname = =C2=BB.status.html which was very useful to pin down errors. Am I = missing something, or is there a new way to have this nice feature = working again ?

hm, so it was = used ... you can uncomment line 322-399 in trac-deb.lmt and tell me if = it works

Hans

---------------------------------------------------------------= --
=             &n= bsp;           &nbs= p;            =     Hans Hagen | PRAGMA ADE
=             &n= bsp;Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
=       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
---------------------------------------------------------------= --
_______________________________________________________________= ____________________
If your question is of interest to = others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nlwebpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive =  : https://github.com/contextgarden/context
wiki=     : https://wiki.contextgarden.net
_______________________________________________________________= ____________________

Otared Kavian
Phone: +33 6 88 26 70 95




= --Apple-Mail=_D3F5F3B0-2A27-4CBB-A33A-A0A7EAE4DCA7-- --Apple-Mail=_1B8128DC-B532-4136-9A1B-4BF810830B9E-- --===============0634626338868321489== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============0634626338868321489==--