From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101261 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Compilation problem with the latest version of standalone context(Metafun) Date: Wed, 18 Jul 2018 10:35:00 +0200 Message-ID: References: <7a6bce5a-9154-3da4-989c-2f032dcee47f@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1494571921147158447==" X-Trace: blaine.gmane.org 1531902815 21493 195.159.176.226 (18 Jul 2018 08:33:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2018 08:33:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 18 10:33:31 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 1ffhtr-0005TG-9t for gctc-ntg-context-518@m.gmane.org; Wed, 18 Jul 2018 10:33:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2064644557; Wed, 18 Jul 2018 10:35:14 +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 lPmiQsbXbRH1; Wed, 18 Jul 2018 10:35:13 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6243E4455B; Wed, 18 Jul 2018 10:35:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 43AE14455B for ; Wed, 18 Jul 2018 10:35:12 +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 k43Fe_SZtrs8 for ; Wed, 18 Jul 2018 10:35:11 +0200 (CEST) Original-Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) (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 80D1644557 for ; Wed, 18 Jul 2018 10:35:01 +0200 (CEST) Original-Received: by mail-wm0-f50.google.com with SMTP id s14-v6so1949283wmc.1 for ; Wed, 18 Jul 2018 01:35:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uOZasYAUXbwLezpD6TVRRThDaNaZUiziSfJZ5wMve7w=; b=gd57Peok3mTgLctu9Yz3bXY4y0bsrXrKgN8Utn1t4/F0sOpDVqZ5FGxznPO546OaGJ 2UgvweBFWorpU5hEGLOja/jyzfMntu+L5ACmm/UANv9DOu9lQDZoBn0ML0gT5p2G3BlE i3Gi+lVCUpgWobVcTO+Cs1882z/Z+m9/Hi/HPgQGl/SFLR1ymVegQsG5AsBxj3hyrvB+ dt13+rulLMcgGi2dctWZ9e/F8jgaixjKF4QzbnmP+2plYHmga2OQQ7C04OHfXiWPDNPg CIbwBmAYwZ4D7ctl5aMTS8oTHfDCTI66qvOP57/zyw3Zeu1Yc9E5w5zcRWgJOK60DNIz YrSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uOZasYAUXbwLezpD6TVRRThDaNaZUiziSfJZ5wMve7w=; b=oSn4i/cQcZu+wzICxI1p4a1p/wqnXy/NICLAmyYjlArYro8PW6gBg6e3RYRdmDhB3E E03EbL7Xjt4gYLMBS6YnaD/O2i7NAoXIWhSW7s1LnzijcFINFr9j0CLI0MkoBr845DQN XSGYG3X6KeMvuDbeid7ZIBlq9+Epcnn8nX87Q2tWX63cIjh4tLYj8N7p/tdKK80u8l3a +G3OpbmcNoU3Jq3kQ0msCkX4qCPKaIib/bTpwV2jF9ZM8rSTKyEsJ8tWLKxeIGfEqgx1 gnXXOzFY0qqyNy47GmbYsiZoPsg8rShIwF/i54m9cnwzYmZt8/8h1WRK3tSddoYPqY0y debA== X-Gm-Message-State: AOUpUlH5WtJSJXXOKbH8gKymTowpVU0Q0jVBQ6dlh4mdijSRbjfIS7e4 Fcjk+ezHMvI4jyg6PoXZaRXWNi3KKnmzMSWCsE/Fwg== X-Google-Smtp-Source: AAOMgpcOFApPVinZTl/7ADne5y+VYcX42AaoIfFLhHAfN5pkVu9IaXiBxxoFVx0pw9tfGNTItN8VSThpcIJGDr5SL1U= X-Received: by 2002:a1c:2807:: with SMTP id o7-v6mr899955wmo.11.1531902900996; Wed, 18 Jul 2018 01:35:00 -0700 (PDT) Original-Received: by 2002:adf:a51c:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 01:35:00 -0700 (PDT) In-Reply-To: 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:101261 Archived-At: --===============1494571921147158447== Content-Type: multipart/alternative; boundary="0000000000003e8ea8057141f0d6" --0000000000003e8ea8057141f0d6 Content-Type: text/plain; charset="UTF-8" Hello, I just compiled the file with gvim and the expected result is the right one ; the problem is Emacs or my ~/.emacs file. Fabrice 2018-07-17 23:00 GMT+02:00 Alan Braslau : > \startusableMPgraphic ? > > > On 17 Jul 2018, at 14:46, Rik Kabel wrote: > > > > On 7/17/2018 16:40, Hans Hagen wrote: > >> On 7/17/2018 10:30 PM, Rik wrote: > >>> On 7/16/2018 10:24, Fabrice Couvreur wrote: > >>>> % 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 > >>> > >>> Using TL18 on Win64 it produces a large chapter number on the right > side above the chapter name -- I do not know what it should look like, so I > won't say it works. It clearly fails with the 2018-07-13 beta, producing an > odd graphic where the MP-generated digit should be: > >>> > >>> and fails in the same manner with the 2018-07-17 beta. > >> define 'fails' ... a crash? can someone confirm it? > > By failure, I meant that it produces the graphic I posted, a bold > outline around a small square in the area in which the enlarged digit is > expected. Not a crash. > > > > -- > > Rik > > > > ____________________________________________________________ > _______________________ > > If your question is of interest to others as well, please add an entry > to the Wiki! > > > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/ > listinfo/ntg-context > > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > ____________________________________________________________ > _______________________ > > ____________________________________________________________ > _______________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/ > listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --0000000000003e8ea8057141f0d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I just compiled the file with gvim and the expect= ed result is the right one ; the problem is E= macs or my ~/.emacs file.
Fabrice

2018-07-= 17 23:00 GMT+02:00 Alan Braslau <braslau.list@comcast.net>:
\startusableMPgraphic ?

> On 17 Jul 2018, at 14:46, Rik Kabel <context@rik.users.panix.com> wrote:
>
> On 7/17/2018 16:40, Hans Hagen wrote:
>> On 7/17/2018 10:30 PM, Rik wrote:
>>> On 7/16/2018 10:24, Fabrice Couvreur wrote:
>>>> % macros=3Dmkvi
>>>>
>>>> \setuppagenumbering[location=3Dfooter]
>>>>
>>>> \startusableMPgraphic{NumberHead}
>>>>=C2=A0 =C2=A0 =C2=A0 draw outlinetext.f
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("\bf\namedheadnumb= er{chapter}")
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (withcolor "lightgr= ay")
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ysized 50pt ;
>>>> \stopusableMPgraphic
>>>>
>>>>
>>>> \unexpanded\def\processMPheadnumber#1%
>>>>=C2=A0 =C2=A0{\useMPgraphic{NumberHead}}
>>>>
>>>> \setuphead
>>>>=C2=A0 =C2=A0 [chapter]
>>>>=C2=A0 =C2=A0 [command=3D\HeadTitle,
>>>>=C2=A0 =C2=A0 =C2=A0headstyle=3D\ss,
>>>>=C2=A0 =C2=A0 =C2=A0numbercommand=3D\processMPheadnumb= er]
>>>>
>>>>
>>>> \unexpanded\def\HeadTitle#1#2%
>>>>=C2=A0 =C2=A0{\framed
>>>>=C2=A0 =C2=A0 =C2=A0[frame=3Doff,
>>>>=C2=A0 =C2=A0 =C2=A0bottomframe=3Don,
>>>>=C2=A0 =C2=A0 =C2=A0width=3Dbroad,
>>>>=C2=A0 =C2=A0 =C2=A0align=3D{broad,nothyphenated,left}= ]
>>>>=C2=A0 =C2=A0 =C2=A0{#1\blank[nowhite]#2}}
>>>>
>>>> \starttext
>>>>
>>>> \dorecurse{6}{\startchapter
>>>>=C2=A0 =C2=A0[title=3D{Fist chapter}]
>>>>=C2=A0 =C2=A0\input knuth
>>>> \stopchapter}
>>>>
>>>> \stoptext
>>>
>>> Using TL18 on Win64 it produces a large chapter number on the = right side above the chapter name -- I do not know what it should look like= , so I won't say it works. It clearly fails with the 2018-07-13 beta, p= roducing an odd graphic where the MP-generated digit should be:
>>>
>>> and fails in the same manner with= the 2018-07-17 beta.
>> define 'fails' ... a crash? can someone confirm it?=
> By failure, I meant that it produces the graphic I posted, a bold outl= ine around a small square in the area in which the enlarged digit is expect= ed. Not a crash.
>
> --
> Rik
>
> ____________________________________________________________= _______________________
> If your question is of interest to others as well, please add an entry= to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-contex= t
> webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.ne= t
> archive=C2=A0 : https://bitbucket.org/phg/context-mirror/commits/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ____________________________________________________________= _______________________

_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--0000000000003e8ea8057141f0d6-- --===============1494571921147158447== 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 --===============1494571921147158447==--