From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107623 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: problem since previous versions Date: Sun, 7 Jun 2020 12:07:01 +0200 Message-ID: <9B0E8636-E100-4834-B59C-1E2C98D7822A@ziggo.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Content-Type: multipart/mixed; boundary="===============8255398002917809350==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93083"; mail-complaints-to="usenet@ciao.gmane.io" To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 07 12:07:19 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhsD1-000O8R-FN for gctc-ntg-context-518@m.gmane-mx.org; Sun, 07 Jun 2020 12:07:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2208C18499B; Sun, 7 Jun 2020 12:07:05 +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 ZNtHqxoA1B53; Sun, 7 Jun 2020 12:07:04 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 38FEF184986; Sun, 7 Jun 2020 12:07:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 21A43184986 for ; Sun, 7 Jun 2020 12:07:03 +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 eqPsrXHYGLAy for ; Sun, 7 Jun 2020 12:07:02 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.54.42.167; helo=smtpq4.tb.mail.iss.as9143.net; envelope-from=havdmeer@ziggo.nl; receiver= Original-Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8DCFA1847D1 for ; Sun, 7 Jun 2020 12:07:02 +0200 (CEST) Original-Received: from [212.54.42.137] (helo=smtp6.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhsCk-00013a-Dp for ntg-context@ntg.nl; Sun, 07 Jun 2020 12:07:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ziggo.nl; s=202002corplgsmtpnl; h=To:Date:Subject:From; bh=/vLgV1tZwKjkZgN63TdYJfkV6avZLwT/opt9N+TtsNE=; b=FF2hfp4bLG2oFH6C2um4ymGQzf oy6y3E159YvFzHJPxAzYO9Cap+se58N99za4EbGui3eHz3lCpTzdMkavjLyTEa/NoxRBgmR42OTsM HD3CVwiL6z9NRbsukcQFap/MYonJVe7rNXN8YwObb8EScGQKjOnlHvaqIa6NFLyRDZU2FFP6U+eid SD4z05OyJmnM8NynOvZE6o4kZl/284l8E6qbrs9KMwnfBHNDSGx9Qt+b4sg3cjP5ErbogSE4t6U6Z ykWWxVGfOsOOxnUiB8CqdY7SAd13/EUIM/vrQvWKkruaVZz5dOO/wt9JFLWNBFLea99C1h8eHmWvF 572RKNrQ==; Original-Received: from 84-106-134-200.cable.dynamic.v4.ziggo.nl ([84.106.134.200] helo=[192.168.178.15]) by smtp6.tb.mail.iss.as9143.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jhsCk-001BkP-3d for ntg-context@ntg.nl; Sun, 07 Jun 2020 12:07:02 +0200 X-Mailer: Apple Mail (2.3445.104.14) X-SourceIP: 84.106.134.200 X-Authenticated-Sender: havdmeer@ziggo.nl (via SMTP) X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=KbhJTTQD c=1 sm=1 tr=0 a=wCstmS+ZHA3zSJXjQC+ubA==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=nTHF0DUjJn0A:10 a=Y9sfhq3b-BcehDL3DwsA:9 a=CjuIK1q_8ugA:10 a=HUIFCbKRwPhy4kgjjfIA:9 a=U53SxNxYSx_hMbja:21 a=_W_S_7VecoQA:10 X-Ziggo-Spam-Status: No X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:107623 Archived-At: --===============8255398002917809350== Content-Type: multipart/alternative; boundary="Apple-Mail=_B61CFDC9-9BA3-4D3A-AE94-FFDEEBD23085" --Apple-Mail=_B61CFDC9-9BA3-4D3A-AE94-FFDEEBD23085 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii A problem has arisen up since previous versions, where code without a = problem now raises an error. This is the afflicted code: % Assign values to \locationbox. \doif{top}{\placexlocation}% {\def\startlocationbox{\vtop\bgroup\vss}}% \doif{center}{\placexlocation}% {\def\startlocationbox{\vcenter\bgroup}}% \doif{bottom}{\placexlocation}% {\def\startlocationbox{\vbox\bgroup}}% And it is used here: \setbox\placexbox=3D\startlocationbox \ignorespaces Previously this worked without a hitch, now the error is: tex error > tex error on line 9 in file ./familie-events.tex: ! A = was supposed to be here =20 \vcenter=20 \startlocationbox ->\vcenter=20 \bgroup=20 \dostartcontentplacexinline ...ables \par \setbox \placexbox = =3D\startlocationbox=20 = \ignorespaces=20 \syst_helpers_single_empty_one_nop=20 \xmlflush=20 \21>:xmlplc:placexcontent ...le=3D\xmlatt {#1}{alttitle}]}\startcontent = \xmlflush=20 = {#1}\stopcontent=20 l.9 } I can try to make a minimal example, but not without the afflicted = module of some 800 lines. So perhaps the problem will be located by the = experts at first sight. It is of course the \vcenter playing havoc, = because replacing it by \vtop or \vbox makes the error disappear. Thanks for looking into it, because my work more or less depends on this = code working in good order. dr. Hans van der Meer --Apple-Mail=_B61CFDC9-9BA3-4D3A-AE94-FFDEEBD23085 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii A = problem has arisen up since previous versions, where code without a = problem now raises an error.

This is the afflicted code:
% Assign = values to \locationbox.
= \doif{top}{\placexlocation}%
= {\def\startlocationbox{\vtop\bgroup\vss}}%
= \doif{center}{\placexlocation}%
= {\def\startlocationbox{\vcenter\bgroup}}%
= \doif{bottom}{\placexlocation}%
= {\def\startlocationbox{\vbox\bgroup}}%

And it is used = here:
= \setbox\placexbox=3D\startlocationbox
= \ignorespaces

Previously this worked without a hitch, = now the error is:
tex error       > tex = error on line 9 in file ./familie-events.tex: ! A <box> was = supposed to be here
<to be read again> 
\vcenter 
\startlocationbox = ->\vcenter 
                =             =  \bgroup 
\dostartcontentplacexinline ...ables \par \setbox \placexbox = =3D\startlocationbox 
            =                     =                     =                     =         \ignorespaces 
<to be read again> = \syst_helpers_single_empty_one_nop 
            =                     =    \xmlflush 
\21>:xmlplc:placexcontent ...le=3D\xmlatt = {#1}{alttitle}]}\startcontent \xmlflush 
        =                     =                     =                     =             = {#1}\stopcontent 
l.9 }

I can try to make = a minimal example, but not without the afflicted module of some 800 = lines. So perhaps the problem will be located by the experts at first = sight. It is of course the \vcenter playing havoc, because replacing it = by \vtop or \vbox makes the error disappear.

Thanks for looking into it, because my = work more or less depends on this code working in good order.

dr. Hans van der Meer


= --Apple-Mail=_B61CFDC9-9BA3-4D3A-AE94-FFDEEBD23085-- --===============8255398002917809350== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8255398002917809350==--