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 DAB8A2D6B7 for ; Sat, 12 Oct 2024 13:30:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2552C485834 for ; Sat, 12 Oct 2024 13:29:19 +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= 1728732555; x=1731324556; bh=zl90xxueRKFiZyXyKYnM9BxUzrbtY3A52p8 zsS7ZPpc=; b=LXu38eqjN52MxWSJBw79IhEDsFH+KjkJ0VxawXDopWVAgtOlGdx Oil2DrTCV9y9+PPDhYdcaCfOdgqG3E3kr0nQ6Eh2qMq+7rVCKqLJ8BreD6PnZZmo ao/KlrYmj6Pe9P9ruMtdFxADMSOo57YmBR1XaQe3BHMfpAqkx0JzAKZI= 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 nmfyo0iHkewi for ; Sat, 12 Oct 2024 13:29:15 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0A5E34854DC for ; Sat, 12 Oct 2024 13:24:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id CF7F84850F0 for ; Sat, 12 Oct 2024 13:24:23 +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 uPuIw5NWrIiF for ; Sat, 12 Oct 2024 13:24:19 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.42; helo=mail-wr1-f42.google.com; envelope-from=desdechaves@gmail.com; receiver= Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 278634850AF for ; Sat, 12 Oct 2024 13:24:18 +0200 (CEST) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-37d51055097so1409856f8f.3 for ; Sat, 12 Oct 2024 04:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728732258; x=1729337058; darn=ntg.nl; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=sJzdtlNoR7ppZ0pW0iVNg3ow2l2YAlEgOqoGh5KqZKE=; b=WgbsBqcHQHOut1PyQ60XTBzDhmubkHMdfunaYk/EFTgdPwyMg7oD08k4t9yVnmJWiF fBs7N4Gs2t35CrZ9ZLaP2QrVv5sDtLq7I1M7CPXBrXa4lq+ktf38z2r+9743n2Tdk6ZX J2NniFAXGu1am3jOgVpmwddwoj7q7CwEPi7HXzIceKY5KM1GHCV4P4jMnfRtJFUN/oXY 5gQUuwp1rsP40bp06SJoAsAL0nKPmgbFkwj0EUzZqtVylLsixaxB9X0phQwMq7hDwCVs oET9njS+dLdxx0J1RrqkDHFptsCeOkVaayFGNx5scEGhyXHa230NlgwkTlOvIWvWkb3M 4oog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728732258; x=1729337058; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sJzdtlNoR7ppZ0pW0iVNg3ow2l2YAlEgOqoGh5KqZKE=; b=VzWELE+I4eBe9229MIbfqqC0qmwuWH9VtOFN6KMoWqYK4NqRSPiq7MxpZ/5tq6BWBp kh4caSt1KD8BZa30qUDT5RLsua6mRoSqXE8DhL3fOXBcUlLLNCPsk67xVdSu8DomvmTr X93Y2Xy7Wa6MNoeSJkq9qh8JAXb9t8SG0llsagW1MqbySVNzyx1NroxB+S1My/VgZZYi 33CEvs4WDAuB4Xg3r35oneuFYlmhfhK8tPrtSzF2aGCp0O2jztmY/w1x8wsrtUj3kW4i dyFOPnuigdGeqpyDq/7cITOUZ/mY2iz46hR0JKhQYv7r29OLcQmIWYwJGiLRs6+6gP95 j5yA== X-Gm-Message-State: AOJu0YyG2A5DU1QwlwYWUSxF98AqkEUSkRosREBCOY0mBCbsrv4L4GcB ChZzzk8nQ96lMWycvLcnQ+oulX8VfaSSDyy/pR+qj3dw3RfwrbVcpbBLvA== X-Google-Smtp-Source: AGHT+IE1aW710DowMZPbL50pM2u2YyGslH+7jfjr9wnfnMZZjyqJkjeZSe8sOChJy3dgHueS4pfuOQ== X-Received: by 2002:a5d:47c2:0:b0:37d:37e4:f904 with SMTP id ffacd0b85a97d-37d5ffb9976mr2201885f8f.36.1728732257916; Sat, 12 Oct 2024 04:24:17 -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-430ccf1f801sm98335145e9.9.2024.10.12.04.24.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Oct 2024 04:24:17 -0700 (PDT) Date: Sat, 12 Oct 2024 12:24:10 +0100 From: Jorge Manuel To: Wolfgang Schuster Message-ID: <1b674ebf-be37-4662-8610-0ff665e069db@Spark> In-Reply-To: <95005a33-5c13-4e0a-8cb9-da33b86fa5be@Spark> References: <385b6085-f741-a7c8-f6c9-c0428fab17dd@gmail.com> <172864688458.1601626.15010054578069456025@cgl.ntg.nl> <6f8a48ed-ef4f-09f7-71cb-7c102d7ec1f3@gmail.com> <95005a33-5c13-4e0a-8cb9-da33b86fa5be@Spark> X-Readdle-Message-ID: 1b674ebf-be37-4662-8610-0ff665e069db@Spark MIME-Version: 1.0 Message-ID-Hash: 5YSZYU5YPVAYTLGBSGIU5Y3E22VDP626 X-Message-ID-Hash: 5YSZYU5YPVAYTLGBSGIU5Y3E22VDP626 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 CC: mailing list for ConTeXt users 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="===============0166373675307189594==" --===============0166373675307189594== Content-Type: multipart/alternative; boundary="670a5c5f_515f007c_135" --670a5c5f_515f007c_135 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I applied a trick: I created a phantom itemize. =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, repeat=5D=5Bstopper=3D,di= stance=3D=5Cspaceamount=5D =C2=A0 =C2=A0 =C2=A0=5Citem multiple choice =C2=A0=5Cstartitemize=5Bnorepeat=5D =C2=A0=5Citem Your choice: =5C=5F=5C=5F=5C=5F=5C=5F =C2=A0=5Cstartitemize=5BA, columns, two, random, fit=5D=5Bstopper=3D=7B)=7D= ,style=3Dbold=5D %% =C2=A0=5Citem choice 1 =C2=A0=5Citem choice 2 =C2=A0=5Citem choice 3 =C2=A0=5Citem choice 4 =C2=A0=5Cstopitemize =C2=A0=5Cstopitemize =C2=A0=5Citem normal question 1 =C2=A0=5Cstartitemize=5BBoxedNumber, repeat=5D %% =C2=A0=5Citem question 1 =5Cpar=5Cthinrules=5Bn=3D2=5D =C2=A0=5Citem question2 =5Cpar=5Cthinrules=5Bn=3D2=5D =C2=A0=5Cstopitemize =C2=A0 =C2=A0=5Cstopitemize =5Cstopitemize =5Cstoptext --670a5c5f_515f007c_135 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I applied a trick: I created a phantom it= emize.

=5Cdefine=5B1=5D=5CBoxedNumber=7B= =5Cinframed=5Bwidth=3D3ex=5D=7B=5Cconvertnumber=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, repeat=5D=5Bstopper=3D= ,distance=3D=5Cspaceamount=5D
&=23160; &=23160; &=23160;=5Citem multiple choice
&=23160;=5Cstartitemize=5Bnorepeat=5D
&=23160;=5Citem Your choice: =5C=5F=5C=5F=5C=5F=5C=5F &=23160;=5Cstartitemize=5BA, columns, two, random, fit=5D=5Bstopper=3D=7B= )=7D,style=3Dbold=5D %%
&=23160;=5Citem choice 1
&=23160;=5Citem choice 2
&=23160;=5Citem choice 3
&=23160;=5Citem choice 4
&=23160;=5Cstopitemize
&=23160;=5Cstopitemize

&=23160;=5Citem normal question 1
&=23160;=5Cstartitemize=5BBoxedNumber, repeat=5D %%
&=23160;=5Citem question 1 =5Cpar=5Cthinrules=5Bn=3D2=5D
&=23160;=5Citem question2 =5Cpar=5Cthinrules=5Bn=3D2=5D

&=23160;=5Cstopitemize


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

=5Cstoptext

--670a5c5f_515f007c_135-- --===============0166373675307189594== 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 ___________________________________________________________________________________ --===============0166373675307189594==--