Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t2UCE6d6028047 for ; Mon, 30 Mar 2015 14:14:07 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx104) with ESMTPS (Nemesis) id 0MSYmG-1Z45MK2wdQ-00RXRk for ; Mon, 30 Mar 2015 14:14:00 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t2UCC9ic023798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Mar 2015 14:12:09 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t2UBomTp012566; Mon, 30 Mar 2015 14:12:09 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12045373 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 30 Mar 2015 14:12:09 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t2UCC8uG007863 for ; Mon, 30 Mar 2015 14:12:08 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal01.urz.uni-heidelberg.de [129.206.100.97]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t2UCC8u5014348 for ; Mon, 30 Mar 2015 14:12:08 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by ix.urz.uni-heidelberg.de (Postfix) with ESMTPS id 70BF9223F2D9 for ; Mon, 30 Mar 2015 14:12:08 +0200 (CEST) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t2UCBrWu014163 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 30 Mar 2015 14:11:56 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YcYXR-00059Y-Ii for LATEX-L@URZ.UNI-HEIDELBERG.DE; Mon, 30 Mar 2015 14:11:29 +0200 Received: from p5b391023.dip0.t-ipconnect.de ([91.57.16.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2015 14:11:29 +0200 Received: from news3 by p5b391023.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2015 14:11:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 37 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b391023.dip0.t-ipconnect.de User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Level: X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-3.40 required=6 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS, URIBL_RHS_AHBL Message-ID: <42f7dnwoca7b$.dlg@nililand.de> Date: Mon, 30 Mar 2015 14:11:20 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: key-val syntax in class and package options 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-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:AeAoboPs+Q0=:6z/YW3GG5XuFLfUpNumb1oJSCQ jMVRGlv4zGVmV9VMR7V2sGEI+EgY7twE21B8lv7zJ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ABnqEGF7ncCjFfOcH3wEIaDOzsQIMAygPWZ1+nyuN3/ff6fmQs pI1gzWSmQQKvE9dpIJIJuXxq84isjr9IUmOwZt/za3IrPNNttHFv2/6/VAOO9f4P+9Z9uHg/t 8MBUX+xMyGx7RMI7nLOuu1h+VTD/3BNi0IzwRq9PHYfY45rU0h7/+DeWpBsnFWOlk5QPw797v he8Daj6FW7b27439PO9F9D+PQwK+BdrxwKtEU8eNO+VkT8l+TEIUO8X+IOtANMlK8WrhpsH0W vycsBqzzHWE7dlB+/YOt99IWEZIiDIu/OG3Xm4pmr6tMcTSGCKd6GjpwfuZHWt8iL/FT2jlS7 rzIKRKNgk5vF/R0FolRYqwPUYR1vIbUz+Fzp3spZRQCyJbbPzU X-UI-Loop:V01:iQiHRNxq0KI=:TgZkupKtLWFajUQcjr0GXMNMY39LBYOJyRm9bI+x5F8= X-UI-Out-Filterresults: notjunk:1; X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7692 The expanding use of key-val syntax in class and package options means that packages can break due to unknown values. I just tumble over this example in a real document: \documentclass[index=totoc]{scrbook} \usepackage{acro} \begin{document} \end{document} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LaTeX error: "kernel/boolean-values-only" ! ! Key 'index' accepts boolean values only. It is easy to provoke a similar error with e.g. siunitx: \documentclass[mode=special]{scrbook} \usepackage{siunitx} \begin{document} blub \end{document} I'm wondering what could/should be done to avoid such situations. Should package authors avoid package options altogether and use setup commands? Or can they (how?) parse the keys in the option list in a way which doesn't gives errors but imply ignores unknown values? Should the documentclass filter the options? How? -- Ulrike Fischer http://www.troubleshooting-tex.de/