From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 4CBBE2134A for ; Sat, 12 Oct 2024 11:46:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 333DA484703 for ; Sat, 12 Oct 2024 11:45:06 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:mime-version:references :in-reply-to:message-id:from:from:date:date:received:received :received:received:received:received:received; s=cgl; t= 1728726302; x=1731318303; bh=+mp0vhWUlsMZoZL5u4fIpkPizLuTqiiyolH 6/VMXihQ=; b=BG8nvG93UIwDZUco+HnBkUezLOjwgUcZ7ryWFCTg6LMZ31xUzvK jjoVrhSUvBwIIzdzSSZJTu/Nivw6g87mXaphp+A4PiyfZV8l4DLk3E4fWr2SvZsL HOHOnO94Xllo93qDv3vDfB72dUMgCQCC6u2SrPRRO8axn0GwdyEPh3bg= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YWgORDjTZ6vN for ; Sat, 12 Oct 2024 11:45:02 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1F051484732 for ; Sat, 12 Oct 2024 11:40:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BD04D481517 for ; Sat, 12 Oct 2024 11:40:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ee-UYANT45cv for ; Sat, 12 Oct 2024 11:40:12 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.53; helo=mail-wm1-f53.google.com; envelope-from=desdechaves@gmail.com; receiver= Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 616AA4812A7 for ; Sat, 12 Oct 2024 11:40:12 +0200 (CEST) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4311bb9d4beso15067835e9.3 for ; Sat, 12 Oct 2024 02:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728726010; x=1729330810; darn=ntg.nl; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=ULRgZBrOIN0xYuFmQssgQFV7fnK5ItzIfh7/6xEGY68=; b=BGxSwJHYWhYczJ3EzgF1/vwF1ggV8gjsF7ceWP9dlY6rTXvc1pGiDlGeZLAakcanfC 5kyBacvsRg60swnsAgSnn41Gob3WYweb/V0X3hc4fjmltzPtdTMP4+zMTcQwopIKUA/f r/QHeNotOO2nhtFHfSSaRRiNsp68hvi0Rf2tq9APSZFRusk6Zt8jmlgCfLtQf0oOzIGk bw6QGOU/324+TTseXvt4RKKdILUrBBoEIVE6GZFiOPe//KHtRsxysIhxIIMHnQgFXsIv ls50RS1m6Wuy+ia5qMCCwNDp1Ohgwuj+09oSrpmOELZtkpJNvW8YgTw/gO2WZ/ib/eZa ND7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728726010; x=1729330810; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ULRgZBrOIN0xYuFmQssgQFV7fnK5ItzIfh7/6xEGY68=; b=OmOiIwj+ttbhuvHLWeciWBm6mvw4SqBWUgyP60S413kpuwKreS3hpIUQdAqJHpzkqZ qxE1UFcjHniRKgJDaxpCEVgck6fu371mbMnUBb+uFF9c2JElpMRaKaJO7M5lMQXPkP+u W8VLtr4TySpHtTsHotNwQ+z1noLlWPNECgEdUejHpcgClxzQdwcVE7lXGaVomottH/ex uPS2MxJS/TetsfJDWZqwqnuWjdnuToNN5D3w3oYYA1mLqfecC/QC7Mp9rYzQAbZzRIDL IrDxIvV99To3kz1L/PZOnkfDzUss6Jn29yfUxMuiVsLdPD8Mepr2CziSbCTaQRFKnOxY NlyA== X-Gm-Message-State: AOJu0Yw1y39A93tb9AAqJ8W8qLsnonRqG2PYqd2Zcpmut3O6IASoDsVu EARkUhUNaHRFCk5X2bHIgMzwSUbNKEjnPNfAUw3pu0VG+x/DSJ61g0c3iw== X-Google-Smtp-Source: AGHT+IHrJ7U1CxuXs2YUTe/DEXoo86d+1xZvcIgGGyR6eF5riPnYiYVSYHIY8di3jelj3gqWdqsu5Q== X-Received: by 2002:a05:600c:4e13:b0:42c:c37b:4d53 with SMTP id 5b1f17b1804b1-4312556e18bmr17603455e9.0.1728726009436; Sat, 12 Oct 2024 02:40:09 -0700 (PDT) Received: from [192.168.1.216] (a94-133-39-243.cpe.netcabo.pt. [94.133.39.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-430d748cddasm95042835e9.40.2024.10.12.02.40.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Oct 2024 02:40:08 -0700 (PDT) Date: Sat, 12 Oct 2024 10:40:01 +0100 From: Jorge Manuel To: mailing list for ConTeXt users , Wolfgang Schuster Message-ID: In-Reply-To: <6f8a48ed-ef4f-09f7-71cb-7c102d7ec1f3@gmail.com> References: <385b6085-f741-a7c8-f6c9-c0428fab17dd@gmail.com> <172864688458.1601626.15010054578069456025@cgl.ntg.nl> <6f8a48ed-ef4f-09f7-71cb-7c102d7ec1f3@gmail.com> X-Readdle-Message-ID: e273d314-a799-43c9-9ef8-2e36394024b4@Spark MIME-Version: 1.0 Message-ID-Hash: RMD2FVX2E3UDMY5AMTEKHA5K5SV4MDGN X-Message-ID-Hash: RMD2FVX2E3UDMY5AMTEKHA5K5SV4MDGN X-MailFrom: desdechaves@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Issue with Custom Conversion Code in Latest Version of ConTeXt List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============5592110211042290963==" --===============5592110211042290963== Content-Type: multipart/alternative; boundary="670a43f6_238e1f29_135" --670a43f6_238e1f29_135 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Good morning to all, Thank you for the code to insert numbers into boxes. However, I can't pre= vent the multiple-choice questions from repeating labels like 1.1.A). It = looks very bad. How can I control this behavior=3F Thank you. %%% sample code =5Cdefine=5B1=5D=5CBoxedNumber=7B=5Cinframed=5Bwidth=3D3ex=5D=7B=5Cconver= tnumber=7Bn=7D=7B=231=7D=7D=7D =5Cdefineconversion =5BBoxedNumber=5D =5B=5CBoxedNumber=5D =5Cstarttext =5Cstartitemize=5BBoxedNumber,fit,repeat=5D=5Bstopper=3D,distance=3D=5Csp= aceamount=5D =C2=A0 =C2=A0=5Citem xxx =C2=A0 =C2=A0=5Cstartitemize=5BBoxedNumber,fit=5D=5Bstopper=3D,distance=3D= =5Cspaceamount=5D =C2=A0 =C2=A0 =C2=A0=5Citem multiple choice =C2=A0=C2=A0 =C2=A0 =5Cstartitemize=5BA, columns, two, random=5D=5Bstoppe= r=3D=7B)=7D,style=3Dbold=5D =C2=A0 =5Citem choice 1 =5Citem choice 2 =5Citem choice 3 =5Citem choice 4 =5Cstopitemize =C2=A0 =C2=A0=5Cstopitemize =5Cstopitemize =5Cstoptext --670a43f6_238e1f29_135 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Good morning to all,

Thank you for the code to insert numbers into boxes. Howeve= r, I can't prevent the multiple-choice questions from repeating labels li= ke 1.1.A). It looks very bad. How can I control this behavior=3F Thank yo= u.

%%% sample code
=5Cdefine=5B1=5D=5CBoxedNumber=7B=5Cinframed=5Bwidth=3D3ex=5D=7B=5Cconver= tnumber=7Bn=7D=7B=231=7D=7D=7D

=5Cdefineconversion =5BBoxedNumber=5D =5B=5CBoxedNumber=5D

=5Cstarttext

=5Cstartitemize=5BBoxedNumber,fit,repeat=5D=5Bstopper=3D,distance=3D=5Csp= aceamount=5D
&=23160; &=23160;=5Citem xxx
&=23160; &=23160;=5Cstartitemize=5BBoxedNumber,fit=5D=5Bstopper=3D,distan= ce=3D=5Cspaceamount=5D
&=23160; &=23160; &=23160;=5Citem multiple choice
&=23160;&=23160; &=23160; =5Cstartite= mize=5BA, columns, two, random=5D=5Bstopper=3D=7B)=7D,style=3Dbold=5D
&=23160; =5Citem choice 1
=5Citem choice 2
=5Citem choice 3
=5Citem choice 4
=5Cstopitemize

&=23160; &=23160;=5Cstopitemize
=5Cstopitemize

=5Cstoptext
--670a43f6_238e1f29_135-- --===============5592110211042290963== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============5592110211042290963==--