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 w8EEo4fE009816 for ; Fri, 14 Sep 2018 16:50:05 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx116 [212.227.17.5]) with ESMTPS (Nemesis) id 1N80iZ-1fmeFo1AzD-0153sS for ; Fri, 14 Sep 2018 16:49:59 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.15.2/8.15.2) with ESMTP id w8EEnxSF022968; Fri, 14 Sep 2018 16:49:59 +0200 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 8737C12803A; Fri, 14 Sep 2018 14:26:06 +0200 (CEST) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 29551399 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 14 Sep 2018 14:26:06 +0200 Delivered-To: LATEX-L@listserv.uni-heidelberg.de Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 69C4A127B9E for ; Fri, 14 Sep 2018 14:26:06 +0200 (CEST) Received: from smtpout2.fz-rossendorf.de (smtpout2.fz-rossendorf.de [149.220.4.206]) by relay.uni-heidelberg.de (8.15.2/8.15.2) with ESMTP id w8ECQ1xC028052 for ; Fri, 14 Sep 2018 14:26:03 +0200 Received: from fz-rossendorf.de (mail.hzdr.de [149.220.4.66]) by smtpout2.fz-rossendorf.de (Postfix) with ESMTPS id E4611400ED for ; Fri, 14 Sep 2018 14:26:00 +0200 (CEST) Received: from [149.220.65.84] (HELO fwo045.hzdr.de) by hzdr.de (CommuniGate Pro SMTP 6.2.7i) with ESMTP id 20820440 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 14 Sep 2018 14:25:31 +0200 Received: by fwo045.hzdr.de (Postfix, from userid 1530) id 65762E8005; Fri, 14 Sep 2018 14:25:15 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Message-ID: <20180914122515.GA10658@hzdr.de> Date: Fri, 14 Sep 2018 14:25:15 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Alexander Grahn Subject: xparse: space swallowed after command with trailing option 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-UI-Filterresults: notjunk:1;V01:K0:Z6Tq4CrKX4k=:VSmUrXMxy6DDjM2EY3WrXTTwyH s/S01W02a9bMwJkCRfNHbj+pqJYOMt6a63kTJkpja3wmHoonNyX3YDV1HbW+YYBkTrBnuf0Xt xbDFJU0j+OR5yi+GpXkPtADHJu4DOuCteAAdY+d3i0l58ottMVikaDUmGW4ZpWpxWuXiIzNew dOOnrXmsbL2Zvre2KJe5LqyDYNVWcU/9Es/m9eTBshAd71Zn/PeiOrMdCEW4kmTYxFMdDJ7iM JeTfnILFMl5diEBLl2YtH3rOPO3YfuV0PzmMDTX0PY6tN5d1UnQJ1mp2pSbwP7/5WTdBy11JL LldRThUxl0g3K0ktYdQTBoVq+ufft2S98N9XF+oZZJML4QxEnfbj2AlFq50ohzeGY7lKm828m 72AoZAANUOTOthEcVN5j2kpfutBgAd3NmJRsHMPLR05iXrj4vEliT27dRJLU/Wf1YYBPkao2f wQ7pPDDCd6pgK2i1q81LQRXvTV/ZRfX/eUE/x+tV0jFdwl/hoJ6PzN2q1367Kra5W1vNU6kPa mk7d+oz69UZQtgiAttVVGOy1RjsRFmC3/MHKhf5RxpWVzJ8/x18WcuKmZe1L4RTrWrk9XZEVW ytAjMnv9XODiJMyUulTbO+fhH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2N3mLOkz40EKamfNt3YzwDCa9QhtiHUeFQUCCG9YruKscCzXc76N2faGZfeUYSwa5KRe9 CYvVJjFIuX7VKF36V3MpEKrvg0ufcEcdk2DXWkFfACNa0ianiXcV+XmqUtdpHwBJglqUmM+2J xkjPMaoSKCguHWpAkm1OGIX3jXtMdtE52yandJaBCh4ujWGD7rhjMc9elIj36WI0LK9O0p7qE BF51VH+bu/2Tpwe8WSIf4y4dpGNOKdZHhe+b7SJAR54K+alAXZMSVUmO+cYMD8izUkXEJ5xhQ yE45ftCfEYGW1qWUzDrGr40A3EbCS8= X-UI-Loop:V01:9s+DBSIzbhY=:ALV9hsGu99FymqhndrMe1ZRkCGTB+9LbeII/DZ02msc= X-UI-Out-Filterresults: notjunk:1;V01:K0:UmbNjnqDmZw=:pIIq5MZUEYcDgTVjPcUcuK +WOvD4pVFs9UfZH5KS4nxBYSRSNZtz9pP3ybM7+vAC8d1yZMkISreyDXZ/FlAf0x5ncjzooZO k1rEPfr8TilHg4DMGlCv0mzihdE29YWVbwY62eBaOvNntRfgXHYbUx/XtycXDbNTHfTIkipfn raVrK+uzhGgZm31ddVJZth6bJmox2isGUBtPteHtIsqTfA1VCB0uhCZuc3tIMS+kAkhvCTNzD UBt0LvyfgMqzQxRlquX9HD6NX0wdetIlxYzq6VrcMQTDOEmUVeYo9FldB6B1SUn+VYUJwxB0v D0PBati9m73UIDwH92EZfJBM1lLTSOdbdIFFqEz+ps3nDlwvz1OqhulWsxlQ130ur4aIjiFrC XKnFScyu0LIX4ldYjjBXRQ7ukOScjfxwW+Wq6mgyKveaNhG3yvVnfgd6lWpcj3WJ4clHsnS5V zc3Xoo1nMVRsQJL7vaPdSqq642SDjw4= X-Scanned-By: MIMEDefang 2.78 on 81.169.212.23 Status: R X-Status: X-Keywords: X-UID: 8085 Good afternoon, here is something that looks like a bug. A document-command with an _unused_ _trailing_ option swallows the space after it: \documentclass[a6paper,12pt]{scrbook} \usepackage{xparse} \NewDocumentCommand{\myCmd}{ m o }{% \IfValueT{#2}{\typeout{+++#2+++}}% #1% } \begin{document}\Huge This is a \myCmd{test} foo. %spacing wrong This is a \myCmd{test}[bla] foo. %spacing ok \end{document} This behaviour is new and probably not intended. Kind regards, Alexander.