Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by h2774747.stratoserver.net (8.15.2/8.15.2/Debian-3) with ESMTP id x2VE4q1Q020211 for ; Sun, 31 Mar 2019 16:04:53 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx115 [212.227.17.5]) with ESMTP (Nemesis) id 1M3kU7-1hBQQH2Tq7-000xnZ for ; Sun, 31 Mar 2019 16:04:46 +0200 IronPort-SDR: zvepA6IZ86YkzYmsQzGKQRZBBytdMV3x2J+Pt0t82PlYLAKlwekeBNprppr/gkQNQaZbzqU4eF p/IN8aj1Y4LRzCZJJX0dIsUsWuDpbVUpfHY4mpVI0Agqcj/aM88mw/c7KH/O2+ipX0EPhYxeEp 7EoPKbgDXN4LcKj+26SvfwomXLdUaeGjI6aHQ9oISTOIncQ6z95H/I+reDLh6UsXM93yGVUdaR B+R/AAYAUgK87U3dTt/zYlmpiQAmwyW0ZKBsS3S6w7qSnL2AnTUFm9fIsS+L+JiNsYqDpkPFiQ 7ZQ= Received: from listserv.uni-heidelberg.de ([129.206.100.94]) by relay.uni-heidelberg.de with ESMTP; 31 Mar 2019 16:04:46 +0200 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 0BC25128264; Sun, 31 Mar 2019 16:00:02 +0200 (CEST) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 34675257 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 31 Mar 2019 16:00:01 +0200 Delivered-To: LATEX-L@listserv.uni-heidelberg.de Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.119.212]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id CEF59128266 for ; Sun, 31 Mar 2019 16:00:01 +0200 (CEST) X-Ironport-Dmarc-Check-Result: validskip IronPort-SDR: nUN2DMkY/X/DI9zRuVRZvA3mP7o7IEQFU86WPNGQkTvttNpRDx7CmzX44XQRJwZjbNkEa9dnxD NokF05LnhPDtcx4FH+JhawNveCpPp3BG1N1WUSye9XE4p2QmSuKaFjVCqwYzzAHo24CofDwaKK HsRUT/odK0D6wr0yQD5hoXLez3RuO1JFzLCT1Z3t/MmEia6jQi2VPSvA6VWswavCwia2C3Ilzl 0oE+zCls+KqI8m5ncveKz0leD0rBbSz+Ky+kG9O2dLs1Ncr6xEazqSXvb4mUwYsIEyU5u7ga0g T6OIfFiESX6PTnifC0hdbfNG X-IronPort-MID: 16381413 X-IronPort-RemoteIP: 144.76.43.62 X-IronPort-SenderGroup: SUSPECTLIST X-IronPort-MailFlowPolicy: $THROTTLED X-IronPort-Reputation: None IronPort-PHdr: =?us-ascii?q?9a23=3AA16ZGxbRCVNoQkLu5tsGZSj/LSx94efdIxIV55?= =?us-ascii?q?w7irlHbqWk+dHYMVfC4el21gaSD5/W7/tV0azLtaGlWWEB7ZuFun0Yf9pAWk?= =?us-ascii?q?xNhcYXmlkmB8iIQQ3+IeXxZiM3VMJFSBd+/n69PEQUUMbzblHfuDuzuDgVHB?= =?us-ascii?q?isfRFtKLHTHYjfx9+yy/j044faNg9Fgji0ZLJ0BA63tR7WstQKgIxkMeA3xw?= =?us-ascii?q?ea6mBQdbFwwmVlbUmWgw66486x+JB59CEFsf8n9cdFUKPSZKUgVrtcESgnNG?= =?us-ascii?q?YuosvmqUqLVhOBs10bVGheiR9UG07F4RX9C4/2qTf/v/Fh1TOyJszuVrcwRC?= =?us-ascii?q?ij6KFwDhnllH5dZQQ0+2zWlMF8yZljjkn7/05ZxIjZKMGPOf53b/mbYNUbAG?= =?us-ascii?q?pMX8pcUyZMGIz6Y4ZdR+wGdf1VqYXwvT5s5VO3GBWsCeXzyzRJmm6+3Ks01P?= =?us-ascii?q?4kGB3H2wpoFswHsXDdptH4fKkIVuX9wK7NxDTFJ/RYvFW1oILFdBIopPCKda?= =?us-ascii?q?lxadHWzVQzFgTDlROWpJCkdzKZ2+IRsnSKuvJ6XLH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9Xdtzui04AQvr/eZzfb2+3h2asFEOIy7eLP++IMy?= =?us-ascii?q?0W2CTQDlRBkhhGpCrac1dgQHv65TyEX3R0GFniYl3h67xkpXeyXxVy0geLKk?= =?us-ascii?q?1s1ra4/hQYn/PaR/5Au9BM8ContThwG06wmtzMDN/V7QBseqdVZNI7yExGzX?= =?us-ascii?q?nesxFhP5umNOZki0JUIGEV9wv+kg56DIlNi51gtHQx0A97Mr6VyntadiuD2p?= =?us-ascii?q?TtJrzQLHK0+h2zIf2zuBmWwJOd/aEB7+49olPosVSyF0YsxH5g1sFcz3qW4p?= =?us-ascii?q?iTXVgiFKnpW0NyzCBU4rTTYy0z/YTRjC0+KqisqTjGxs4oA+0+jBCtY4UHaf?= =?us-ascii?q?/WJErJC8QfQvOWBqkygVHwPkAfPfhJ86opI8KhceDA3qO3br45wWCWyF9f6Y?= =?us-ascii?q?U46XqisipxTumRj8QewumD2Q+aSzb7ikzntM3ry9hJ?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DIBACQhqBc/z4rTJBjhCVrcQMECye?= =?us-ascii?q?EDoh7pxACCQUYCwgBihMGBjQSAQEDAQEJAQMBAW0cDIVSASGBMwICXIM3gXU?= =?us-ascii?q?PqE+BL4VHhE8KBYEvgUqKAIF/g3Uugx8EgiyCPYJXA5IQhmaMVAmCBEyFIYw?= =?us-ascii?q?JaopPAYhyiEOJDY1lgWQhKIEuMxoIJgqDKIsLhUFAMIEDAY9XAQE?= X-IronPort-AV: E=Sophos;i="5.60,292,1549926000"; d="asc'?scan'208";a="16381413" X-MGA-submission: =?us-ascii?q?MDG+BqKZcXdd+UFiFHzZVAuGM6pdI6ja2sUwNZ?= =?us-ascii?q?g/7c08r/CP+g1iHHwUvkvOhbEu1FR25wao5CgaEVwSiKwEfpUu7ALtP9?= =?us-ascii?q?W7TMmbd51SjbtNFLBgVnqaWqFi9VCyhWBs4wXwWAWovSbLtm1XKiOg7S?= =?us-ascii?q?AGj5ZtIElKn2ad63zp1hjxcQ=3D=3D?= Received: from s3.sipsolutions.net (HELO sipsolutions.net) ([144.76.43.62]) by relay2.uni-heidelberg.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2019 11:23:02 +0200 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-RC5) (envelope-from ) id 1hAWg9-0000dL-4V for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 31 Mar 2019 11:23:01 +0200 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-C0Pmlfu8/cUUGECFSWU7" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Message-ID: <856ff273317abf46dda9ce8c6fb0d6bd8d22472b.camel@sipsolutions.net> Date: Sun, 31 Mar 2019 11:22:56 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Benjamin Berg Subject: Rescanning first token of environment when no optional argument is given To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-Spam-Flag: NO X-UI-Filterresults: notjunk:1;V03:K0:0EJt0E1d9lU=:fVurH2gid1WO7o0WUyE9WS43+d XXOD0Rcnr2PzOvfqZ40p9L71+5aTiD1EqBajEOiXOmHeFKGFtl5+FzC7R3AYxdq2HwMv8tswY rlrT8+ST+xJAO+PtMDS9v9X+87BXGX4C/7oPwDLD7TUOfpg2IV/9e8DuMsbGiYwdGxSVIzKHd I7Fxu1zMWIDBhSyUYg83kXSw4g4VcBA1JxoN7XdyCiZfuN5RvRP+MhVOKAR1aCsfs1IV+D/wF KkstrGlHG/lPZi89ZfxcdAeNCsBN3EA8+6N/DIL+LS32dm55e+FjGINXhJvu8SXgAQE+r1qsV N7p2wmOVpuUC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VOmnq44vW/1IknJYoXnSZTbaTcmZajISOV0roV43sn1OdVhZWVivUAfwVkzoBhW5aYwC08 fAMBZKSOrdsCqVWEQQrnL9wEDgSl6bJ9X0fwwIeOqN1dzvbeInJji2Sak31hw2S5XAz5XzQP7 k723WuHxInRblRoaHuHMqMnwb+ZytIfcDzHH0uRHvQwOgbkvNWQKxXy9Nl6xKEtVpPXuR73b0 xKh81W3z/fxuD3VGivPW7PtsyF7AopO3HR36EUNBSUgZCou56Q10KQ/jluvkX X-Scanned-By: MIMEDefang 2.78 on 81.169.212.23 Status: R X-Status: X-Keywords: X-UID: 8168 --=-C0Pmlfu8/cUUGECFSWU7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I created an environment where I override the & character to be active and use it as a macro (rather than an alignment character). I am now running into the issue, that theoretically the user might not pass an optional argument and also use the & token as the first character inside the environment. In that case the token is interpreted as an alignment character. The environment in question is currently defined with: \NewDocumentEnvironment { sdapsarray } { o } Now, this is a very rare corner case for me, and I am happy to simply document the limitation. But, I do wonder whether this may be considered a bug in the optional argument parser. Benjamin PS: This is in my custom SDAPS array environment (which is weird in a number of regards) https://sdaps.org/class-doc/sdapsarray.html#\sdaps_array_newline%3a=20 shows the example with a workaround (last one on the page) Failing code is: \begin{sdapsarray} & col 1 & col 2 \\ row header 1 & cell1 & cell 2 \end{sdapsarray} while either: \begin{sdapsarray}[] & col 1 & col 2 \\ row header 1 & cell1 & cell 2 \end{sdapsarray} or \begin{sdapsarray} {} & col 1 & col 2 \\ row header 1 & cell1 & cell 2 \end{sdapsarray} works fine. --=-C0Pmlfu8/cUUGECFSWU7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEED2NO4vMS33W8E4AFq6ZWhpmFY3AFAlyghvAACgkQq6ZWhpmF Y3AohA//QaodUPoo9+Y9iH3/FRIIgPwsWlsOR0nPOtAuJklDlUuRWp5iDs+NRfO5 GYDuFYUl0tpA4DEQV44XafWC/OiUedIxxHFwxpZJ1N9LwAJnXj/jLCHKKfPuwbx5 U6TmWuqya0qGXG9A75x4CAJWMko09G/XVYBWxcdxpTC2+DswW/tWXfspNdeXG0Uq IftoseGNmB98Jq4TTM+Smeu1GmFlc0EXDlaJCUl6LTlkBDA/vTNiRueAj+x9PO/C hsBBPPGv+ewsHsEtr7uSkv1vfXrC0GdRt/eBmvYDVYO68sj2QoFSbK6ZPSvP+rAT hHHBRtrBcunhzxV5zjCSc2NlXSdf7ClHWVb1xA1ru0yf3UnvdptJc9nXTklenClf Qde6sdhJJzDEuMBTh84UYbCUUamSN+XmXDGiN2JmWrX3jL7/O7h1nQrx/t15bICi 6kg1v6YQ2efPKxatOfRJtOHYdovFZuNTv6b/nJKgEElfN7junXF3y4dnf/SwLcTM fM8Dth4hMt4ecPjLJAvdeyLXBkNK2wkNIcpYJJ3ZSNn47Zf3BEKYVTSV2/Hq6vSy wXPNgIJKqFoLbcJVoQQIkE8Sfa07ws1W/Tz9VrvfZd8L1gJZVQCjAX6fg7j0Dk03 jG2+3PPvd7L7mnDdtP/OhRzApvOAZ+yqo58fj8B0tJunng4BZQY= =wkUN -----END PGP SIGNATURE----- --=-C0Pmlfu8/cUUGECFSWU7--