From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101687 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Emacs + latest beta Date: Wed, 22 Aug 2018 13:05:31 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4438690614229384367==" X-Trace: blaine.gmane.org 1534935862 12011 195.159.176.226 (22 Aug 2018 11:04:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2018 11:04:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 22 13:04:18 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fsQvy-00030A-78 for gctc-ntg-context-518@m.gmane.org; Wed, 22 Aug 2018 13:04:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 99C3954CDB; Wed, 22 Aug 2018 13:05:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gt2VUaOsSWgo; Wed, 22 Aug 2018 13:05:55 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 293E154C01; Wed, 22 Aug 2018 13:05:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 67FDC54CD1 for ; Wed, 22 Aug 2018 13:05:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BJOT_v1unWoH for ; Wed, 22 Aug 2018 13:05:53 +0200 (CEST) Original-Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A841354BD7 for ; Wed, 22 Aug 2018 13:05:43 +0200 (CEST) Original-Received: by mail-wm0-f45.google.com with SMTP id l2-v6so11826006wme.1 for ; Wed, 22 Aug 2018 04:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7gwuZw5GMOxzGgSghlDL8IOksjNXfyNXTst432lIV8U=; b=cgg+9pMbWhOsGeN5fgPbjSG6PbXuWoAkDcpqd/l3c3mZWltxdl+A53DjhX+u6A2U1P RV1/rArCP6/6p7mk1Y9/y3AeNTg+RzGdHCOXGayAVRDvbCLhYLZwO4ozxOQAsx8ZzZ2U RtfOHrJmd/zgs67CG4zFMu4ecepTXNEzm1L+bkqgi8YX0XbwT8OX7HFqWHGSiLauc+Xz 0F+cbqRoaXirB8zSVmqCqN43u1cwtCPMVmBmNCH/Sfc5aPKjXleeRanOOGUecfKRYUX+ +qGN69qfyDnvsUTNNuvpofEZd2Pa/e6jWuBv3BxLV3yXGwtDi2hkk37OulS3CwhxR1cM NIbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7gwuZw5GMOxzGgSghlDL8IOksjNXfyNXTst432lIV8U=; b=J7h2uzDqwBv4GrR6jjOpGIh0EoAcD+H1P8Tr95uXdxGQDkF5OuJxCW41NnbbseTSXg 60VdTcwfJY2JqGY70WsdT8M7CMexBozVpSjgSri99KPcJhhXHD14wN1nczXLeoNKcWYN 77MxPl8P4rhYfgvQXRwnAkF7m7Jjgmrn0c9jBd+Vnon+j1L9sA00VRRLkbTkqNwbDny0 WYRWbF1uFfNM1eLyT2OVslHyArjmlygi/KjVEG9c5ry8ld22QQEfvpW+VrWu6BmqWFiM dgGrEhni3Syp3J86Yw1hhemjMZfPbVCDPWORD89UQ4GAze2cdIXLs9RO7H0c+aS78XPH +w5Q== X-Gm-Message-State: APzg51BMCikO5wwN/s2Jw9PFAQLI5De3Uawhjj/X85aBJpCpJc9Z7vlD 1YTuCov2rbIA2heUy6mCAJ0mt/8sNZGSNYQqBouW547p X-Google-Smtp-Source: ANB0VdbLHjFn3pjZzL0Mc/kHB/CGNiSGu57E7Rg20ygIlNkQp2It14myxx1ToHB9yBgZO3eLOaMssc10wnY+CQkg9fY= X-Received: by 2002:a1c:f60c:: with SMTP id w12-v6mr1983142wmc.80.1534935942761; Wed, 22 Aug 2018 04:05:42 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:101687 Archived-At: --===============4438690614229384367== Content-Type: multipart/alternative; boundary="0000000000009f12ec0574041fb6" --0000000000009f12ec0574041fb6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Sorry to insist, but could anyone help me understand the problem I'm having in using Emacs with standalone context ? The following file compiles perfectly from a terminal : /home/aragorn/texlive/2018/bin/x86_64-linux/context test.tex /home/aragorn/context/tex/texmf-linux-64/bin/context test.tex (latest beta= ) With Emacs, it compiles perfectly if you use the 2018 texlive context binary. If I want to use the latest beta context binary, I need to add this to my ~/.emacs file : (setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin/:$PATH" t) And there, I encounter a compilation problem : Running `ConTeXt Full' on `pouf' with ``context --purgeall --nonstop pouf.tex''resolvers | trees | analyzing 'home:texmf' mtx-context | run 1: luatex --fmt=3D"/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0= bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --interaction=3D"nonstopmode" --jobname=3D"pouf" --lua=3D"/home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0= bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=3D1 --c:fulljobname=3D"./pouf.tex" --c:input=3D"./pouf.tex" --c:kindofrun=3D1 --c:maxnofruns=3D9 --c:nonstopmo= de --c:purgeall "cont-yes.mkiv" This is LuaTeX, Version 1.08.0 (TeX Live 2018) system commands enabled. resolvers > trees > analyzing 'home:texmf' open source > level 1, order 1, name '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mki= v' job > passes > version mismatch: 1.3 <> 1.31 system > system > ConTeXt ver: 2018.08.20 17:47 MKIV beta fmt: 2018.8.20 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mki= v' system > beware: some patches loaded from cont-new.mkiv close source > level 2, order 2, name '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mki= v' system > files > jobname 'pouf', input './pouf', result 'pouf' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name '/home/aragorn/pouf.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded structure > sectioning > chapter @ level 2 : 0.1 -> First chapter metapost > initializing instance 'metafun:1' using format 'metafun' and method 'default' metapost > loading 'metafun' as '/home/aragorn/context/tex/texmf-context/metapost/context/base/mpiv/metafun= .mpiv' using method 'default' metapost > initializing number mode 'scaled' lua error > lua error on line 10 in file /home/aragorn/pouf.tex: ...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:190: attempt to call a nil value (global 'getid') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:190: in upvalue 'getexpansion' ...ext/tex/texmf-context/tex/context/base/mkiv/font-mps.lua:343: in function <...ext/tex/texmf-context/tex/context/base/mkiv/font-mps.lua:338> ...ext/tex/texmf-context/tex/context/base/mkiv/font-mps.lua:437: in local 'boxtomp' ...ext/tex/texmf-context/tex/context/base/mkiv/mlib-pps.lua:1894: in function <...ext/tex/texmf-context/tex/context/base/mkiv/mlib-pps.lua:1891> (...tail calls...) 1 2 \startusableMPgraphic{NumberHead} 3 draw outlinetext.f 4 ("\bf\namedheadnumber{chapter}") 5 (withcolor "lightgray") 6 ysized 50pt ; 7 \stopusableMPgraphic 8 9 \unexpanded\def\processMPheadnumber#1% 10 >> {\useMPgraphic{NumberHead}} 11 12 \setuphead 13 [chapter] 14 [command=3D\HeadTitle, 15 headstyle=3D\ss, 16 numbercommand=3D\processMPheadnumber, 17 ] 18 19 20 \unexpanded\def\HeadTitle#1#2% open source > level 3, order 4, name '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex= ' close source > level 3, order 4, name '/home/aragorn/context/tex/texmf-context/tex/context/sample/common/ward.tex= ' backend > xmp > using file '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml= ' pages > flushing realpage 1, userpage 1, subpage 1 close source > level 2, order 4, name '/home/aragorn/pouf.tex' close source > level 1, order 4, name '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mki= v' mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lu= a mkiv lua stats > used cache path: /home/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0= dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.007 seconds, 1 scans with scantime 0.000 seconds, 0 shared scans, 31 found files, scanned paths: /home/aragorn/texmf mkiv lua stats > stored bytecode data: 437 modules (0.226 sec), 93 tables (0.015 sec), 530 chunks (0.241 sec) mkiv lua stats > traced context: maxstack: 1328, freed: 5, unreachable: 1323 mkiv lua stats > cleaned up reserved nodes: 58 nodes, 9 lists of 455 mkiv lua stats > node memory usage: 2 glue, 2 kern, 2 penalty, 14 attribute, 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined mkiv lua stats > node list callback tasks: 8 unique task lists, 6 instances (re)created, 55 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output)mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: internal: 179, file: 180, direct: 2, late: 1, function 529, total: 891 mkiv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > result saved in file: pouf.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 9 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.238 seconds mkiv lua stats > metapost: 0.001 seconds, loading: 0.018, execution: 0.000, n: 1, average: 0.019, instances: 1, luacalls: 7, memory: 2.608 M mkiv lua stats > used platform: linux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > used engine: luatex version 1.08 with functionality level 6731, banner: this is luatex, version 1.08.0 (tex live 2018) mkiv lua stats > control sequences: 46533 of 65536 + 100000 mkiv lua stats > lua properties: engine: lua 5.3, used memory: 61 MB (ctx: 61 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (=CF=84=CE= =B5=CF=87) mkiv lua stats > runtime: 0.613 seconds, 1 processed pages, 1 shipped pages, 1.631 pages/second mtx-context | fatal error: return code: 1 TeX Output exited abnormally with code 1 at Wed Aug 22 13:01:54 ######## test.tex ######## \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ; \stopusableMPgraphic \unexpanded\def\processMPheadnumber#1% {\useMPgraphic{NumberHead}} \setuphead [chapter] [command=3D\HeadTitle, headstyle=3D\ss, numbercommand=3D\processMPheadnumber, ] \unexpanded\def\HeadTitle#1#2% {\framed [frame=3Doff, bottomframe=3Don, width=3Dbroad, align=3D{broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \startchapter[title=3DFirst chapter] \input ward \stopchapter \stoptext Thanks Fabrice --0000000000009f12ec0574041fb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
Sorry to insist,= but could anyone help me understand the problem I'm having in using Em= acs with standalone context ?
The following file compiles p= erfectly from a terminal :

/home/aragorn/texlive/2018/bin/x86_64-linux/context=C2= =A0 test.tex

/home/aragorn/context/tex/texmf-linux-64/bin/context=C2=A0 test.t= ex (latest beta)

With Emacs, it compiles = perfectly if you use the 2018 texlive context binary.<= /span>

If I want to use the latest beta context = binary, I need to add this to my ~/.emacs file :

(setenv "PATH" "/home/aragorn/cont= ext/tex/texmf-linux-64/bin/:$PATH" t)
<= /div>
=
=
<= span>And t= here, I encounter a compilation problem :
<= span id=3D"gmail-result_box" class=3D"gmail-" lang=3D"en">
Running = `ConTeXt Full' on `pouf' with ``context --purgeall --nonstop pouf.t= ex''resolvers=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | trees | analyzi= ng 'home:texmf'
mtx-context=C2=A0=C2=A0=C2=A0=C2=A0 | run 1: lua= tex --fmt=3D"/home/aragorn/context/tex/texmf-cache/luatex-cache/contex= t/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --interacti= on=3D"nonstopmode" --jobname=3D"pouf" --lua=3D"/ho= me/aragorn/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde= 776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:cu= rrentrun=3D1 --c:fulljobname=3D"./pouf.tex" --c:input=3D"./p= ouf.tex" --c:kindofrun=3D1 --c:maxnofruns=3D9 --c:nonstopmode --c:purg= eall "cont-yes.mkiv"

This is LuaTeX, Version 1.08.0 (TeX L= ive 2018)
=C2=A0system commands enabled.

resolvers=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 > trees > analyzing 'home:texmf'
= open source=C2=A0=C2=A0=C2=A0=C2=A0 > level 1, order 1, name '/home/= aragorn/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'<= br>job=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 > passes > version mismatch: 1.3 <> 1.31
system=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >
system=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > ConTeXt=C2=A0 ver: 2018.08.= 20 17:47 MKIV beta=C2=A0 fmt: 2018.8.20=C2=A0 int: english/english
syste= m=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >
system=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > 'cont-new.mkiv= ' loaded
open source=C2=A0=C2=A0=C2=A0=C2=A0 > level 2, order 2, = name '/home/aragorn/context/tex/texmf-context/tex/context/base/mkiv/con= t-new.mkiv'
system=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 > beware: some patches loaded from cont-new.mkiv
close source= =C2=A0=C2=A0=C2=A0 > level 2, order 2, name '/home/aragorn/context/t= ex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > files > jobname= 'pouf', input './pouf', result 'pouf'
fonts=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > latin modern= fonts are not preloaded
languages=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &= gt; language 'en' is active
open source=C2=A0=C2=A0=C2=A0=C2=A0 = > level 2, order 3, name '/home/aragorn/pouf.tex'
fonts=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > preloading lati= n modern fonts (second stage)
fonts=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 > 'fallback modern-designsize rm 12pt' = is loaded
structure=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > sectioning = > chapter @ level 2 : 0.1 -> First chapter
metapost=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 > initializing instance 'metafun:1' = using format 'metafun' and method 'default'
metapost=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > loading 'metafun' as &= #39;/home/aragorn/context/tex/texmf-context/metapost/context/base/mpiv/meta= fun.mpiv' using method 'default'
metapost=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 > initializing number mode 'scaled'
=
lua error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > lua error on line 10= in file /home/aragorn/pouf.tex:

...ext/tex/texmf-context/tex/contex= t/base/mkiv/node-nut.lua:190: attempt to call a nil value (global 'geti= d')
stack traceback:
=C2=A0=C2=A0=C2=A0 ...ext/tex/texmf-context/= tex/context/base/mkiv/node-nut.lua:190: in upvalue 'getexpansion'=C2=A0=C2=A0=C2=A0 ...ext/tex/texmf-context/tex/context/base/mkiv/font-mp= s.lua:343: in function <...ext/tex/texmf-context/tex/context/base/mkiv/f= ont-mps.lua:338>
=C2=A0=C2=A0=C2=A0 ...ext/tex/texmf-context/tex/cont= ext/base/mkiv/font-mps.lua:437: in local 'boxtomp'
=C2=A0=C2=A0= =C2=A0 ...ext/tex/texmf-context/tex/context/base/mkiv/mlib-pps.lua:1894: in= function <...ext/tex/texmf-context/tex/context/base/mkiv/mlib-pps.lua:1= 891>
=C2=A0=C2=A0=C2=A0 (...tail calls...)

=C2=A01=C2=A0=C2=A0= =C2=A0=C2=A0
=C2=A02=C2=A0=C2=A0=C2=A0=C2=A0 \startusableMPgraphic{Numb= erHead}
=C2=A03=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dr= aw outlinetext.f
=C2=A04=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("\bf\namedheadnumber{chapter}")=C2=A05=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (withcolor "lightgray")
=C2=A06=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ysized 5= 0pt ;
=C2=A07=C2=A0=C2=A0=C2=A0=C2=A0 \stopusableMPgraphic
=C2=A08=C2= =A0=C2=A0=C2=A0=C2=A0
=C2=A09=C2=A0=C2=A0=C2=A0=C2=A0 \unexpanded\def\p= rocessMPheadnumber#1%
10 >>=C2=A0=C2=A0=C2=A0 {\useMPgraphic{Numbe= rHead}}
11=C2=A0=C2=A0=C2=A0=C2=A0
12=C2=A0=C2=A0=C2=A0=C2=A0 \setup= head
13=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [chapter]
14=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [command=3D\HeadTitle,
15=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 headstyle=3D\ss,
16=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 numbercommand=3D\processMPheadnumber,<= br>17=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ]
18=C2=A0=C2=A0=C2=A0= =C2=A0
19=C2=A0=C2=A0=C2=A0=C2=A0
20=C2=A0=C2=A0=C2=A0=C2=A0 \unexp= anded\def\HeadTitle#1#2%


open source=C2=A0=C2=A0=C2=A0=C2=A0 >= ; level 3, order 4, name '/home/aragorn/context/tex/texmf-context/tex/c= ontext/sample/common/ward.tex'
close source=C2=A0=C2=A0=C2=A0 > l= evel 3, order 4, name '/home/aragorn/context/tex/texmf-context/tex/cont= ext/sample/common/ward.tex'
backend=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 > xmp > using file '/home/aragorn/context/tex/tex= mf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > flushing realpage 1, use= rpage 1, subpage 1
close source=C2=A0=C2=A0=C2=A0 > level 2, order 4,= name '/home/aragorn/pouf.tex'
close source=C2=A0=C2=A0=C2=A0 &g= t; level 1, order 4, name '/home/aragorn/context/tex/texmf-context/tex/= context/base/mkiv/cont-yes.mkiv'

mkiv lua stats=C2=A0 > used = config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats=C2= =A0 > used cache path: /home/aragorn/context/tex/texmf-cache/luatex-cach= e/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats=C2=A0 > res= ource resolver: loadtime 0.007 seconds, 1 scans with scantime 0.000 seconds= , 0 shared scans, 31 found files, scanned paths: /home/aragorn/texmf
mki= v lua stats=C2=A0 > stored bytecode data: 437 modules (0.226 sec), 93 ta= bles (0.015 sec), 530 chunks (0.241 sec)
mkiv lua stats=C2=A0 > trace= d context: maxstack: 1328, freed: 5, unreachable: 1323
mkiv lua stats=C2= =A0 > cleaned up reserved nodes: 58 nodes, 9 lists of 455
mkiv lua st= ats=C2=A0 > node memory usage: 2 glue, 2 kern, 2 penalty, 14 attribute, = 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
mkiv lua stats=C2= =A0 > node list callback tasks: 8 unique task lists, 6 instances (re)cre= ated, 55 calls
mkiv lua stats=C2=A0 > used backend: pdf (backend for = directly generating pdf output)mkiv lua stats=C2=A0 > jobdata time: 0.00= 1 seconds saving, 0.000 seconds loading
mkiv lua stats=C2=A0 > callba= cks: internal: 179, file: 180, direct: 2, late: 1, function 529, total: 891=
mkiv lua stats=C2=A0 > loaded patterns: en::2, load time: 0.000
m= kiv lua stats=C2=A0 > result saved in file: pouf.pdf, compresslevel 3, o= bjectcompresslevel 3
mkiv lua stats=C2=A0 > loaded fonts: 4 files: la= tinmodern-math.otf, lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-re= gular.otf
mkiv lua stats=C2=A0 > font engine: otf 3.104, afm 1.513, t= fm 1.000, 9 instances, 3 shared in backend, 3 common vectors, 0 common hash= es, load time 0.238 seconds
mkiv lua stats=C2=A0 > metapost: 0.001 s= econds, loading: 0.018, execution: 0.000, n: 1, average: 0.019, instances: = 1, luacalls: 7, memory: 2.608 M
mkiv lua stats=C2=A0 > used platform:= linux-64, type: unix, binary subtree: texmf-linux-64
mkiv lua stats=C2= =A0 > used engine: luatex version 1.08 with functionality level 6731, ba= nner: this is luatex, version 1.08.0 (tex live 2018)
mkiv lua stats=C2= =A0 > control sequences: 46533 of 65536 + 100000
mkiv lua stats=C2=A0= > lua properties: engine: lua 5.3, used memory: 61 MB (ctx: 61 MB), has= h type: lua, hash chars: min(64,40), symbol mask: utf (=CF=84=CE=B5=CF=87)<= br>mkiv lua stats=C2=A0 > runtime: 0.613 seconds, 1 processed pages, 1 s= hipped pages, 1.631 pages/second
mtx-context=C2=A0=C2=A0=C2=A0=C2=A0 | f= atal error: return code: 1

TeX Output exited abnormally with code 1 = at Wed Aug 22 13:01:54

########
= test.tex
########

\startusableMPgraphic{NumberHead= }
=C2=A0=C2=A0=C2=A0=C2=A0 draw outlinetext.f
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ("\bf\namedheadnumber{chapter}")
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (withcolor "lightgray= ")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ysized 50= pt ;
\stopusableMPgraphic

\unexpanded\def\processMPheadnumber#1%<= br>=C2=A0 {\useMPgraphic{NumberHead}}

\setuphead
=C2=A0=C2=A0 [ch= apter]
=C2=A0=C2=A0 [command=3D\HeadTitle,
=C2=A0=C2=A0=C2=A0 headsty= le=3D\ss,
=C2=A0=C2=A0=C2=A0 numbercommand=3D\processMPheadnumber,
= =C2=A0=C2=A0 ]


\unexpanded\def\HeadTitle#1#2%
=C2=A0 {\framed=
=C2=A0=C2=A0=C2=A0 [frame=3Doff,
=C2=A0=C2=A0=C2=A0=C2=A0 bottomfram= e=3Don,
=C2=A0=C2=A0=C2=A0=C2=A0 width=3Dbroad,
=C2=A0=C2=A0=C2=A0=C2= =A0 align=3D{broad,nothyphenated,left}]
=C2=A0=C2=A0=C2=A0 {#1\blank[now= hite]#2}}
=C2=A0
=C2=A0 \starttext
=C2=A0 \startchapter[title=3DF= irst chapter]
=C2=A0=C2=A0=C2=A0 \input ward
=C2=A0 \stopchapter
= =C2=A0 \stoptext

Thanks
Fabrice


--0000000000009f12ec0574041fb6-- --===============4438690614229384367== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4438690614229384367==--