From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105443 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jan Willem Flamma Newsgroups: gmane.comp.tex.context Subject: LMTX issue with multple question blocks Date: Thu, 7 Nov 2019 15:50:05 +0100 Message-ID: <684AECB6-2EB7-401E-9CC1-3456C5FEAEEF@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Content-Type: multipart/mixed; boundary="===============1882449861923546087==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="68865"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 07 15:50:38 2019 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 esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iSj7O-000Hlm-1f for gctc-ntg-context-518@m.gmane.org; Thu, 07 Nov 2019 15:50:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D02BD162BA1; Thu, 7 Nov 2019 15:50:11 +0100 (CET) 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 xkf1q7_zZ0EU; Thu, 7 Nov 2019 15:50:10 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1A950162B9C; Thu, 7 Nov 2019 15:50:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 52B93162B9A for ; Thu, 7 Nov 2019 15:50:09 +0100 (CET) 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 bvOb3hrZcEB2 for ; Thu, 7 Nov 2019 15:50:08 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.41; helo=mail-wr1-f41.google.com; envelope-from=register12c@gmail.com; receiver= Original-Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id ADB43162B97 for ; Thu, 7 Nov 2019 15:50:08 +0100 (CET) Original-Received: by mail-wr1-f41.google.com with SMTP id p4so3327982wrm.8 for ; Thu, 07 Nov 2019 06:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=t2YBZdCKKn70pywVlU0bEcBRJfRllk6Yv1z2Gam2if4=; b=V3XDF0poWKx/tvKYI3GHmJVt0yVE0CSMICQqAPXNIl6iCxj+gLARn8NbCeGArT4+GD rN3707npBJ+aP+S6Xq6uGSgmmeKKFpPWQYZUi2OTKmZYG1koDnjt8v1Yzl2pyTrCioC/ HbY0WycoHIMDQ5A1H5jFeDHiAl/tkY5ElcuDaDSdUQs0+U7cnx0Livz2BphyLcWReqEZ V6x+IsND1TaEa9XLDr1P0VKgIavg09qjNHLN/+uyyA6QwuQY+cN/Ujm7l6uYTbUL9M46 qVDuk//PtkB0N+cUI7leTUePIoupjNyh2b8MH7/VM15rvey+npmxGlpgN7V84C0PUxEo ZSrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=t2YBZdCKKn70pywVlU0bEcBRJfRllk6Yv1z2Gam2if4=; b=ZIYvWxSoZAWHnoHsw/KOq4jixvU3GNdnOb9BaF3yo7Iw0ZZPtLU7Zcj+2PLMKYiXd3 574tcOcPBakNU5qcM5dziCaQOtF2mZrQuLAP4yF0URv3YMzXi7brPjm3Z5jNJrE7YOsv rqftXjMOAN3w/KI4QBifDZ3jescdY5xmP1/fQiHPngQAsosjtwqriiBkgqb6fbvmP04N nNlmwtrgzMPJmx1OdhPJLDrlL2OhMFnkg6Ri37/0eU9KrsvTfQmMjrBkw+fID96aIwOe d5G7lfpnXxLtQXjCilCMKNoVZa9/HQUikUZ1/xO5Tb1yNJ2g/MZUDMZCOZ0H5DwpnMex EkKQ== X-Gm-Message-State: APjAAAXVNXcsr+iw7jt1S4kqAIYpje/OqPCwyZSr6aJmfnB7odIamDfd S1uX+1S3Il8BqSbAKmtBlxCqaVnE X-Google-Smtp-Source: APXvYqxy3W3EMl/KQFmwIXg+z5d8vDNBkms6Q0T5GggPtZS7Hk6RS7hFx05IGMLDxPlD+iOQzvJzfQ== X-Received: by 2002:adf:f6cf:: with SMTP id y15mr3055217wrp.97.1573138206801; Thu, 07 Nov 2019 06:50:06 -0800 (PST) Original-Received: from jws-mba.ovvice.local ([217.67.229.160]) by smtp.gmail.com with ESMTPSA id a15sm2332239wrw.10.2019.11.07.06.50.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Nov 2019 06:50:06 -0800 (PST) X-Mailer: Apple Mail (2.3445.9.1) 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.org gmane.comp.tex.context:105443 Archived-At: --===============1882449861923546087== Content-Type: multipart/alternative; boundary="Apple-Mail=_0CC290BC-A98E-4E4C-BA02-D8FD0A614309" --Apple-Mail=_0CC290BC-A98E-4E4C-BA02-D8FD0A614309 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear list members, The below MWE runs fine and generates a usable PDF. If I uncomment the second question block and run the MWE on a OS X = system it generates an unusable PDF and a nearly empty log file: open source > level 1, order 1, name 'cont-yes.mkiv' system >=20 system > ConTeXt ver: 2019.10.28 18:57 MKIV beta fmt: = 2019.11.7 int: english/english system >=20 system > 'cont-new.mkiv' loaded open source > level 2, order 2, name = '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source > level 2, order 2, name = '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'co-intro', input './co-intro', result = 'co-intro' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct = runtime overhead! open source > level 2, order 3, name './co-intro.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded open source > level 3, order 4, name 'knuth.tex' close source > level 3, order 4, name 'knuth.tex' I cannot reproduce the problem on a Windows system.=20 Can somebody on an OS X system check and confirm the issue? Thanks, Jan Willem Flamma =3D=3D=3D=3D \defineblock[question] \defineblock[answer] \hideblocks[question] \hideblocks[answer] \defineenumeration[question] \defineenumeration[answer] \starttext \input knuth \beginquestion \startquestion Question text \startitemize[a] \item Answer A \item Answer B \item Answer C \stopitemize \stopquestion \endquestion \beginanswer \startanswer A \stopanswer \endanswer %\beginquestion %\startquestion %Questions text %\startitemize[a] %\item Answer A %\item Answer B %\item Answer C %\stopitemize %\stopquestion %\endquestion %\beginanswer %\startanswer %A %\stopanswer %\endanswer \useblocks[question] \stoptext --Apple-Mail=_0CC290BC-A98E-4E4C-BA02-D8FD0A614309 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Dear = list members,

The = below MWE runs fine and generates a usable PDF.

If I uncomment the second question = block and run the MWE on a OS X system it generates an unusable PDF and = a nearly empty log file:

open source     > level 1, order = 1, name 'cont-yes.mkiv'
system       =    > 
system       =    > ConTeXt  ver: 2019.10.28 18:57 MKIV beta =  fmt: 2019.11.7  int: english/english
system          > 
system          > 'cont-new.mkiv' = loaded
open source     > level 2, = order 2, name = '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'<= /div>
system          > = beware: some patches loaded from cont-new.mkiv
close = source    > level 2, order 2, name = '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'<= /div>

system   =        > files > jobname 'co-intro', input = './co-intro', result 'co-intro'
fonts     =       > latin modern fonts are not preloaded
languages       > language 'en' is = active
system         =  > synctex functionality is enabled, expect 5-10 pct runtime = overhead!
open source     > level 2, = order 3, name './co-intro.tex'
fonts     =       > preloading latin modern fonts (second = stage)
fonts           = > 'fallback modern-designsize rm 12pt' is loaded
open source     > level 3, order 4, name = 'knuth.tex'
close source    > level 3, = order 4, name 'knuth.tex'

I cannot reproduce the problem on a = Windows system. 

Can somebody on an OS X system check and confirm the = issue?

Thanks,
Jan Willem Flamma

=3D=3D=3D=3D

\defineblock[question]
\defineblock[answer]

\hideblocks[question]
\hideblocks[answer]

\defineenumeration[question]
\defineenumeration[answer]

\starttext

\input = knuth

\beginquestion
\startquestion
Question = text
\startitemize[a]
\item Answer A
\item Answer = B
\item = Answer C
\stopitemize
\stopquestion
\endquestion
\beginanswer
\startanswer
A
\stopanswer
\endanswer

%\beginquestion
%\startquestion
%Questions = text
%\startitemize[a]
%\item Answer A
%\item Answer = B
%\item = Answer C
%\stopitemize
%\stopquestion
%\endquestion
%\beginanswer
%\startanswer
%A
%\stopanswer
%\endanswer

\useblocks[question]

\stoptext

= --Apple-Mail=_0CC290BC-A98E-4E4C-BA02-D8FD0A614309-- --===============1882449861923546087== 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== --===============1882449861923546087==--