From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23182 invoked from network); 18 Aug 2023 16:27:06 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 18 Aug 2023 16:27:06 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7472C4828FA for ; Fri, 18 Aug 2023 18:26:27 +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 zcBOwJvozZjQ for ; Fri, 18 Aug 2023 18:26:27 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 71610482987 for ; Fri, 18 Aug 2023 18:25:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 274AA480116 for ; Fri, 18 Aug 2023 18:25:05 +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 iivIB3UxusGj for ; Fri, 18 Aug 2023 18:25:04 +0200 (CEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 871204800F8 for ; Fri, 18 Aug 2023 18:25:04 +0200 (CEST) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-523476e868dso1362187a12.3 for ; Fri, 18 Aug 2023 09:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692375904; x=1692980704; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=bLjq0EtV7FaVn4lPO73dZg3192LGDIzT5a/t2c9/k/o=; b=dcIXe7+Zm+6YaoQKRVYBvekgJWQ78djhLUHWzJfoQmKamI8hVEDBNYZduLs8r5aEBX Fg4TjfDllqVbeiGg2YNkAs7kIOQP9zuoU+6N/jn6yQYhNGkdhLVST5IwJ5IcmtTsHFiN C291HsJ+K+s4IeHfwwtEt6BgYqhHa30f59P4jNc4xH2MXOP+oO7fyx2RduBa9ZpaAn/x RgeblbnzU384VclL3klt05qH/j0o/qkMUpBnyoAhcdcGXkn45erEnheJukbP1Vv9sFCQ MGRFJx59WSj6rDu6FMauXii0Bvu+hkEA8o2fySaHBGxqNkj+8S2aACVZAoSUR7Ypa9su Uhcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692375904; x=1692980704; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bLjq0EtV7FaVn4lPO73dZg3192LGDIzT5a/t2c9/k/o=; b=ZjyN9akbGjeJBGM/0KRtMHRTHszD1GjjJMxj0q+cxZ6c6dCebbVusijoddbY6cT1yp Q9S9+MlFKeHmxjjiena5mBgLcWzE2sFVDE3FfrFmzfoITnjn+mWc3VkbHitS8dYZKhLb Rteqf0rR7S3UecaVm395Uq/vTnVA/6Cwf7aD+AsO3zR8osqmJ6MD3nqs/tH7mAffNaWz d/VYqRr84Vdl1XqtlhdiJNmw5JpayFZwcwy7kM6z7ukWdeMEXkP9gnCQh4W4apEg9vQ6 5Tqz+2d9LrUyP/OU8QC7Tuwq/uEcayCiTwIX6NiNJTPGGsW9S7EdoKc352ZC35Xn9azx vClA== X-Gm-Message-State: AOJu0Yxz80pjUdrjQ5pdKqlDjKPekGBcLNHxYUnhiba55uIObYtyq4Xz 0yaGhxQdacJNPPKhqmGx4X5H82qDnwr06qeFr8YG1MEUCUwpFw== X-Google-Smtp-Source: AGHT+IHhJVb7TyCyoD6w5FNkThe8oxlNNAUr41AzZYo4HyAWttjP1wukBRz9WFlzjLbqne9DFOk+VYvUxzswie3PLB0= X-Received: by 2002:aa7:df0c:0:b0:523:3e77:7eb5 with SMTP id c12-20020aa7df0c000000b005233e777eb5mr2663848edy.2.1692375903596; Fri, 18 Aug 2023 09:25:03 -0700 (PDT) MIME-Version: 1.0 From: Andres Conrado Montoya Date: Fri, 18 Aug 2023 11:24:27 -0500 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: UU2TSMOTXCQZW64W7STKNSWTISLBG3Q5 X-Message-ID-Hash: UU2TSMOTXCQZW64W7STKNSWTISLBG3Q5 X-MailFrom: andresconrado@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.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Experiments with \doloopoverlist 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="===============5385629316963968377==" --===============5385629316963968377== Content-Type: multipart/alternative; boundary="0000000000008f7290060334f885" --0000000000008f7290060334f885 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I was using an old LMTX copy, and that was the issue. Thanks to Hans for pointing that out. Now I'm trying to expand my solution a little more. Is there any way to retrieve an element in a dataset by using the key? For example, given an "authors" dataset, I would like to do something similar to: %% Given this data structure ... \setdataset[authors][ nombre=3D{Andr=C3=A9s Conrado Montoya Acosta}, bio=3D{This is a bio, it could be two or three paragraphs long}, email=3D{loremipsum@email.edu.co}, cvlac=3D{ https://scienti.minciencias.gov.co/cvlac/visualizador/generarCurriculoCv.do= ?cod_rh=3D0002125949 }, orcid=3D{https://orcid.org/0009-0007-0765-4241}, gscholar=3D{ https://scholar.google.com/citations?user=3DGpYTTU0AAAAJ&hl=3Des&authuser= =3D1}, ] %% I want to do something like.... \startGetAuthor[nombre=3D{Andr=C3=A9s Conrado Montoya Acosta}] \datasetentry{bio}\par email: \mailhref{\datasetentry{email}} \stopGetAuthor So, if my name is found in the dataset, get the data for that name. Is something like that possible? Thank you for your time. --=20 Andr=C3=A9s Conrado Montoya Andi K=C3=BA andresconrado@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a utiliz= ar, no por los fines que proclamamos. ---------------------------------------- =E2=80=9CYou develop an instant global consciousness, a people orientation,= an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, =E2=80=98Look at that, you so= n of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut Edgar Mitchell --0000000000008f7290060334f885 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was using an old LMTX copy, and that was the issue. Than= ks to Hans for pointing that out.=C2=A0

Now I'm tryi= ng to expand my solution a little more. Is there any way to retrieve an ele= ment in a dataset by using the key? For example, given an "authors&quo= t; dataset, I would like to do something similar to:

%% Given this d= ata structure ...
\setdataset[authors][
=C2=A0 nombre=3D{Andr=C3=A9s = Conrado Montoya Acosta},
=C2=A0 bio=3D{This is a bio, it could be two or= three paragraphs long},
=C2=A0 email=3D{loremipsum@email.edu.co},
=C2=A0 cvlac=3D{https://scienti.minciencias.gov.co/cvlac/visualiz= ador/generarCurriculoCv.do?cod_rh=3D0002125949},
=C2=A0 orcid=3D{https://orcid.org/0009-0007-= 0765-4241},
=C2=A0 gscholar=3D{https://schola= r.google.com/citations?user=3DGpYTTU0AAAAJ&hl=3Des&authuser=3D1= },
]

%% I want to do something like= ....
\startGetAuthor[nombre=3D{Andr=C3=A9s Conrado Montoya Acosta= }]
=C2=A0 =C2=A0 \datasetentry{bio}\par
=C2=A0 =C2=A0 email: \= mailhref{\datasetentry{email}}
\stopGetAuthor

<= /div>
So, if my name is found in the dataset, get the data for that nam= e. Is something like=C2=A0that possible?

Thank you= for your time.=C2=A0

--
----------------------------------------
Los = fines no justifican los medios, porque la medida verdadera de nuestro car= =C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a utilizar,= no por los fines que proclamamos.
-------------------------------------= ---

=E2=80=9CYou develop an instant global consciousness, a people or= ientation,=20 an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international=20 politics look so petty. You want to grab a politician by the scruff of=20 the neck and drag him a quarter of a million miles out and say, =E2=80=98Lo= ok at that, you son of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut = Edgar Mitchell

--0000000000008f7290060334f885-- --===============5385629316963968377== 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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============5385629316963968377==--