Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id v7RCGj7L014088 for ; Sun, 27 Aug 2017 14:16:46 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx016 [212.227.15.9]) with ESMTPS (Nemesis) id 1MtN4G-1dX1VR3n8o-00urdH for ; Sun, 27 Aug 2017 14:16:40 +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 v7RCFt8i014821; Sun, 27 Aug 2017 14:15:55 +0200 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 0B3C91270AE; Sun, 27 Aug 2017 14:15:55 +0200 (CEST) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 20271094 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 27 Aug 2017 14:15:54 +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 EA15212349A for ; Sun, 27 Aug 2017 14:15:54 +0200 (CEST) Received: from sipsolutions.net (s3.sipsolutions.net [5.9.151.49]) by relay.uni-heidelberg.de (8.15.2/8.15.2) with ESMTPS id v7RCFlbY002441 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 27 Aug 2017 14:15:50 +0200 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dlwTj-0007kf-Ms for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 27 Aug 2017 14:15:47 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Message-ID: <1503836146.27303.32.camel@sipsolutions.net> Date: Sun, 27 Aug 2017 14:15:46 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Benjamin Berg Subject: Allowing usage of fragile content To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-MIME-Autoconverted: from 8bit to quoted-printable by relay2.uni-heidelberg.de id v7RCFt8i014821 Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-UI-Filterresults: notjunk:1;V01:K0:qusaYVLO7FE=:OsihPJT6+IG/EeNijkFIHfSn+6 Ech5ep/uOQO65fZcP9+F26/Om0KGB/zcvCKIOpRZ2MRY9maeLO0H2n5FlZ22ec5gJwL87kQFn zm8vuAtj5Ahp//t19rs/hnf6AL2Rim+zrewQCsob2/hQDA2PpqFV7Ta7JB8XFrSmxWecDkHIL bfnDi1DQ8IDaKDhgW8FSX/yGG2qR/2ZwOEMYi6ONFi7WkKyqI/hgp+AD+H2fZhX070W4Q3GyH 8dfZw6X3RoMIJW4rKXlC/32PgXjfZ84UHrOeWXgQqROOReB50gOx7YQZStt+yG54p/fYWTtZ+ MEnBDTywJK2gJ8dejedQGu/MpvrYhCKZTCNfnxhHb10IUbefzhHCIwG8W0P/7N6UtAEsHX6bi 4SqnIRi0fKrMUF16uFU3JLYwIho1NE3epk5IhVCrE8rJvYddtIqTRcWx3NZMSHOBzda8uYivc +BDuDvyO8O+ahQGsktgYkFfnFr1nl0WEv640N60CUP2rkjm3m/9BubqvNzTuZoqAUW2qxPOWw kIKEpBCEl/Se5JJvJ9QCOxPl3zfyUrUwqd3c802jJjOCHRB+XP9S8976CqbdjMrP3NeXCjt/F AOjJNajXGJMpsggqECne9vzfwpUL/cHf84SaVyaxsmagVToVqJ9iuh5KAo9IIegTN0knuiL2k fQQNU9cQBJ5ya05O/VH/pZCvhi+JbcW2plz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-UI-Out-Filterresults: notjunk:1;V01:K0:5XvOAWnmHhM=:pWCyV6gJg6i2/fyVSny3GW H33t3lCCxxutJ/HYAJCUToGCKfw+pTp8qVOKeL9DFYmgOgGj3JbGJKQunFW9kid/cjbF3vMff 0yh4wFzwgHSJBMzLDrG44+ORZiNFAPwQKisjXHhJipzGIVuCBU1Ta2knKFHNa93sbhsKckM+7 D9mHiKyl7Lhw49shNrsm2q2+MENj0n2FDMGGEGSO03q1h8WcoWe34q/dv3ZmdWtOYdarkvvaV 6uxWi4kdV/FcStRSjm4NKPe7UWYihtrrwULr2w4lOXSL7ZT9z+SrzbxJcMse1GjOzBfVJfImD 3sMYPfi5ACafHCJGG+GN/mXmbkpsHUNQhOsfYg2QONuVSxuL1ZyAUCVE05w7Y6Ic6deSVXFE5 z+UCcPbbvpSvasttiuPVxkZqTf2p4dU0u4lWXrkxQd3Mw4KExThbK3+7e8cnT4U1gf9D26EBP xQWjSNZQmn9qgdOdO5KfCAozyKT9z4A= X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by h1439878.stratoserver.net id v7RCGj7L014088 Status: R X-Status: X-Keywords: X-UID: 8004 On Tue, 2017-08-22 at 20:41 +0930, Will Robertson wrote: > On 22 Aug 2017, at 6:57 pm, Benjamin Berg wrote: > > Oh, of course it is not a great plan … but in the end I have users that > > try to do exactly these kind of things. Forcing them to use savebox or > > similar is quite cumbersome and this is a command structure that is > > easy to teach to users even if it can break in really odd ways (e.g. if > > the opening braces is missing). >  > I agree this can be awkward. IMO the way to overcome this sort of > problem is to also introduce environment versions of the same so they > can use either the more verbose and general syntax or the shorthand > but slightly-less-flexible syntax. Yes, I could actually do that, so   \begin{choicearray}     \choice{Choice 1}     \choice{Choice 2}     \question{Question one}     \question[text=question two]{Question two with \verb^verbatim^}   \end{choicearray} could become   \begin{choicearray}     \choice{Choice 1}     \choice{Choice 2}     \question{Question one}     \begin{question}{question two}       Question two with \verb^verbatim^     \end{question}   \end{choicearray} with a separate mandatory argument (to set the "text" keyword).[1] It does not quite convince me at this point though. The thing is that I am assuming is that most users don't understand the issue of "fragile" commands. So either way I need to explain them how to "magically" fix their issue. Only in one case the instructions are "add a text keyword argument" and in the other one it is "use the environment version". And adding the environment version has the disadvantage that it requires more overall documentation. I know, not a great argument. I guess I just don't mind that ugly hack too much as long as this is only used in user facing APIs. Benjamin [1] See http://sdaps.org/class-doc/sdapslayout.html#choicearray for some documentation.