From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107879 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Commands with arguments before in ConTeXt Date: Sun, 28 Jun 2020 15:48:14 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5269513066581282262==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67153"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 28 22:48:49 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 1jpeEK-000HNG-G6 for gctc-ntg-context-518@m.gmane-mx.org; Sun, 28 Jun 2020 22:48:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 13C45184F74; Sun, 28 Jun 2020 22:48:28 +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 oEax0CDX9X2C; Sun, 28 Jun 2020 22:48:27 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3D45D1852F6; Sun, 28 Jun 2020 22:48:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 47B0E185030 for ; Sun, 28 Jun 2020 22:48:26 +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 lOQHJQMbU0kQ for ; Sun, 28 Jun 2020 22:48:25 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.44; helo=mail-wm1-f44.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 B487B184F74 for ; Sun, 28 Jun 2020 22:48:25 +0200 (CEST) Original-Received: by mail-wm1-f44.google.com with SMTP id q15so13528741wmj.2 for ; Sun, 28 Jun 2020 13:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FJKgbY0S+znLhg48Ei9kdYIoPTbNvTZ4IsUwKY77X5A=; b=pxfriEfuBFNDjTWYx7Q0dHV6Gv1pdkuH1X7CJtFXbSbWBJhukf0RS7k0JPvIeV4eR5 P7MJWn2OgD6Z2S85XUSxTucE6kbmusuvxTe/JErUrcrqYBwgTeL9AvaxWQ21DfxrLUh+ F2pNzYCf/og4HI26Ce19sZ775peSDsqJKzJKnOWLpddiJqYRMh8Q1j3e0dRmXd1RV4v2 mN1ix28OxhHseGey010Dpegfi0D0jAtjDFSHIrRWW+inZZ+TFv0yhWYe1Zg3Dgg6qczN m5UF42mMZ1jBn9ggFfXc2y0caIwdeGMYWFS7FU28EiFi5PM+BUtUJ3jpA/aoC5Rt4e+n Z8ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FJKgbY0S+znLhg48Ei9kdYIoPTbNvTZ4IsUwKY77X5A=; b=GskWj6yD3BMtL96aRUU1n4LJTs464x7kHH09Rm5t7jFC3pPr+FqzBQb+fTz0SQ5S7m u2HPToG8daPjQY/B4Ok0bHYEJ8Ly+2qxyWvRrh3PdFTGJmd+Iao7AFIdevjEa3H4V8hk SfmhsGjp9vTZed1FYkaHmeLN435QGHVSJDEjDZV47IVC3GrVohObSbiP4fWdwDcdSXZC kDpjZVhgxOjUAlH5Whf4O5KZznNU5Ev1+4XL86qtB0VLUPqw5Vx9p7HBqa4tIO01Hbo7 syx4g+LVlhqXmZsO2uldtFn1DkaubgiyQLdBgAsaMHdsxi6FjsVuYGSBhnlHJbrNqg2Z 9T/w== X-Gm-Message-State: AOAM531KVfPgkVW0LQlQ1x5Kt/73VzgJyK1aCvFuknNQssnog2dCCyd8 sqZ87bfe3Qs9cmwZxj5wt9OvMqNR4ks6DF4m00yX5kl4 X-Google-Smtp-Source: ABdhPJwgXRy1YjJHVAET2cF10waJfCfPNehD9Rl2UfJnTbVFVvPbBv9Xo6cNkFowRAE1au6jPlXPEETBbH2Do3cy/9s= X-Received: by 2002:a7b:c250:: with SMTP id b16mr6599803wmj.30.1593377305169; Sun, 28 Jun 2020 13:48:25 -0700 (PDT) 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:107879 Archived-At: --===============5269513066581282262== Content-Type: multipart/alternative; boundary="0000000000004491e105a92b1061" --0000000000004491e105a92b1061 Content-Type: text/plain; charset="UTF-8" I've read the following is not possible in TeX \def#1\macro{blabla#1} where arguments come before. The only partial exceptions are commands like \atop or \over, which are in fact primitives. Is there a way to do this in ConTeXt? Could it be a feature request for LuaMetaTeX? I've seen Hans experimenting a lot with new primitives and new possibilities for arguments, like #0 and co., so I ask in case it's not too nonsensical to propose it. Regards Jairo :) --0000000000004491e105a92b1061 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've read the following is not possible in TeX

\def#1\macro{blabla#1}

where arguments come before. The only partial exceptions are commands like= \atop or \over, which are in fact primitives. Is there a way to do this in= ConTeXt?

Could it be a feature request for LuaMetaTeX? I= 've seen Hans experimenting a lot with new primitives and new possibili= ties for arguments, like #0 and co., so I ask in case it's not too nons= ensical to propose it. Regards

Jairo :)
--0000000000004491e105a92b1061-- --===============5269513066581282262== 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== --===============5269513066581282262==--