From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101243 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Compilation problem with the latest version of standalone context(Metafun) Date: Mon, 16 Jul 2018 16:24:10 +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="===============7822944314780076716==" X-Trace: blaine.gmane.org 1531750964 8542 195.159.176.226 (16 Jul 2018 14:22:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 14:22:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 16 16:22:40 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 1ff4Oc-00024u-87 for gctc-ntg-context-518@m.gmane.org; Mon, 16 Jul 2018 16:22:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EF96143961; Mon, 16 Jul 2018 16:24:22 +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 AOL5_zn4i5O6; Mon, 16 Jul 2018 16:24:22 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 4E9764394F; Mon, 16 Jul 2018 16:24:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0233D4394F for ; Mon, 16 Jul 2018 16:24:22 +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 OBcmQ0z6vJhU for ; Mon, 16 Jul 2018 16:24:21 +0200 (CEST) Original-Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 88DD04394E for ; Mon, 16 Jul 2018 16:24:11 +0200 (CEST) Original-Received: by mail-wr1-f52.google.com with SMTP id h10-v6so32126621wre.6 for ; Mon, 16 Jul 2018 07:24:11 -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=GM4T9pejAnIErboyAmXqFMzkEz9zxiVJ87c7svqNQqk=; b=CSvltn20hZid6+TPp/fsWdEOt1rsgYNuNFyWwgz32TvQlvwHxUSjV98b53MX7Prii9 AB5/MSxfSVnrFNnYvE1KFNy7KRvxWJrPxQQnfqr+ex+1xHqXyKhSDf/KfA64sBgsXTiz etAhxBPAAkyxbObN6Xtp0ZS+2kcncEWUNVj2GS9EgPauXQZyCekopmUnZPPuSarrzxcO DR2yzqDN1w+mcUO42ekLk6o/SQyW+Ck4rtKCHNSlvR81q4jOKSwomp9k1pt7wLzI8CUF iHAwfzMSzz8bPcDEtb2Y1Rn2tqEcF6sJ7QITNvae2JzzApWu65TKhKW4nLJyXmJj0es1 riFA== 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=GM4T9pejAnIErboyAmXqFMzkEz9zxiVJ87c7svqNQqk=; b=MCUKrETjQHZqrBrtDvBHoYPbJ46Nq8Ywn6g1QIB+Q06cKt7lZ9jWKsbruv4GUNrlpu qFwq0qNM+Tei/aM/Y4W9tB4WGaAt8aP8TL7J61dJelhlUXD6N3XHrB32RJBy94R/aEn+ BogKpILaL34HLLmmQGfagfoqztxFJLThcwhPmUCdU04RrJ7tnGSPWcG4QI9B/8Bw37AH KODKJeLOaM47solsHaFE2J5ePzZHv8qJBh8HV3p4vF2gXWb01DW/IvoGe0yuJ39niS0U WzFgZ1Huqa/g9qK+azSAEiyKvi9rU4Y65/zp6WNU4dPMDkvUsvH14L2CYA6Esy9sPOav vQQQ== X-Gm-Message-State: AOUpUlEnMOua5XVwp3Z8Apu1E5JS3RgmC0Bz04Hj64KLBT9LsisfujIF HEnBZ6njEc9zm8GFb4EHcH2GYZvS5xM52QcpBOWv3g== X-Google-Smtp-Source: AAOMgpdG8fkwnAvLDZgjBKg6r0SIqSciwl9KQ97BzEbbNXvs+GfW5+DVmf9RfTaV+1XrdqOZ5E/XeCU1ZxOH/N/uo/c= X-Received: by 2002:adf:bc92:: with SMTP id g18-v6mr12300263wrh.266.1531751051042; Mon, 16 Jul 2018 07:24:11 -0700 (PDT) Original-Received: by 2002:adf:a51c:0:0:0:0:0 with HTTP; Mon, 16 Jul 2018 07:24:10 -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:101243 Archived-At: --===============7822944314780076716== Content-Type: multipart/alternative; boundary="00000000000048228105711e953b" --00000000000048228105711e953b Content-Type: text/plain; charset="UTF-8" Hello, The idea is to make a chapter header as with the "titlesec" package. My code compiles under texlive context 2018 but does not compile with last beta contest standalone. Thank you Fabrice ############################################ % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ; \stopusableMPgraphic \unexpanded\def\processMPheadnumber#1% {\useMPgraphic{NumberHead}} \setuphead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter [title={Fist chapter}] \input knuth \stopchapter} \stoptext ######################################## --00000000000048228105711e953b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,<= /span>
The idea is to= make a chapter header as with the "titlesec" package. My code compiles under texlive context 2018 but does not compile with la= st beta contest standalone.

Thank you
Fabrice

############################################
=

% macros=3Dmkvi

\setuppagenumbering[location=3Df= ooter]

\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 ysized 50pt ;
\stopusableMPgr= aphic


\unexpanded\def\processMPheadnumber#1%
=C2=A0 {\us= eMPgraphic{NumberHead}}

\setuphead
=C2=A0=C2=A0 [chapter]
=C2= =A0=C2=A0 [command=3D\HeadTitle,
=C2=A0=C2=A0=C2=A0 headstyle=3D\ss,
= =C2=A0=C2=A0=C2=A0 numbercommand=3D\processMPheadnumber]


\u= nexpanded\def\HeadTitle#1#2%
=C2=A0 {\framed
=C2=A0=C2=A0=C2=A0 [fram= e=3Doff,
=C2=A0=C2=A0=C2=A0 bottomframe=3Don,
=C2=A0=C2=A0=C2=A0 widt= h=3Dbroad,
=C2=A0=C2=A0=C2=A0 align=3D{broad,nothyphenated,left}]=C2=A0=C2=A0=C2=A0 {#1\blank[nowhite]#2}}

\starttext

\dorec= urse{6}{\startchapter
=C2=A0 [title=3D{Fist chapter}]
=C2=A0 \input k= nuth
\stopchapter}

\stoptext

###############= #########################

--00000000000048228105711e953b-- --===============7822944314780076716== 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 --===============7822944314780076716==--