Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id v6VEY0rE017947 for ; Mon, 31 Jul 2017 16:34:01 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx015 [212.227.15.9]) with ESMTPS (Nemesis) id 1Mejzj-1eA8wR0B5Z-00ajwM for ; Mon, 31 Jul 2017 16:33:55 +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 v6VEXkLQ007876; Mon, 31 Jul 2017 16:33:47 +0200 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id A3E72127404; Mon, 31 Jul 2017 16:33:46 +0200 (CEST) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 19649996 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 31 Jul 2017 16:33:46 +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 7D6251271C7 for ; Mon, 31 Jul 2017 16:23:46 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by relay2.uni-heidelberg.de (8.15.2/8.15.2) with ESMTPS id v6VENfjv001924 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 31 Jul 2017 16:23:44 +0200 Received: from gnu.org ([91.141.3.121]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LvV1X-1dkKkw2iDT-010h79 for ; Mon, 31 Jul 2017 16:23:41 +0200 X-Mailer: Mew version 6.7 on Emacs 26.0.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 X-Provags-ID: V03:K0:pK6H4FbrBtLhQ6dau+PWYKuymMXe+pqpdnuZ5S0mBdFORM8wf1r tR0xVvjAQ/4DafXvVnGeOMgz5KejQ1SWCYLJEQjbWChnVc/mHxN71BAcNfHMFy4cPC2H2IY qjYXsxJMQ0OCjEnb/8rEMLAaCR7ly+f1GRmlUYV1udNQ/EEPRCJDATizv4rnXj3DzvssMpV om2OcPGf/UZfAyaJyyq2w== Message-ID: <20170731.162337.688577912214660894.wl@gnu.org> Date: Mon, 31 Jul 2017 16:23:37 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Werner LEMBERG Subject: \usepackage problem with LaTeX 3 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:qpCfaRAj9iE=:L1wqSK5re5feObkVlqq2I0TVl2 nBuq/AO2w5+F/S9VTHn8ce10S/u3KW15III6y0KrLPh3kJoRjVRhWx3lNPUc1hDwSpfn2q4nK lK2EFjhtnvs3aoHNUbEwMvl9F+pBz5I/C4+t0DEDEt1zvO7kSuJjSsllC6Z1a/GJNJwKdXmoh +vT+bw4AsaqSkd4KDBQKBAghX1wP0zUCY8yXLqisBJP+Uzke4jc7ak2eNONmvnIcU7rSoE93k ufXQ6ObsaJ1xVW2R52HmvLVyMKnmQtddCZwfFW5rsZ9KsXvg95LOrX9duYV8L5oCYhEIScmSx B3pR9R9Y1+J2TkHnWMocd88KF2eFtNDlzMgsKPvagn9uLBHKAwvZFZf68YigbmZRQODa9114f jpOqChUozl6B4WzX+60ROgpbO14/UBlngG9Zu9Sd6CySgGX05AQm0jHeepIY4vRNNipS1QSGY SzGzOWgng195j4p9vmq6hSoyxI2ZG/e6ZZxffYpgeWrUezZBO0FzoIijvt4Or+pRbL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8USIENFSfYwiKlbwUIzDm66sSE51fYVi l6wpzxLMlNqLhHlgRu0+1kd5afK5R0aGPf37R1t2/UJlNxSPM/cYDC47mhhNv4iLtnbzFyUKH 28= X-UI-Loop:V01:rBm3dBqghZI=:rAVXYF0vBCPaWlVr5+iu33NzmCO96NXpDcDmwg7TDcI= X-UI-Out-Filterresults: notjunk:1;V01:K0:dB9RECFPots=:CZ8rwZuCpmk2FHQOYijPYN puWmMrHRih/Fd9OGglOSW8pL6CfBPTCy5B2JF1VFXXu+xgZcVRilD1Rn4qoMJByr6V0qLEG7g A7z5Sre/xK7l93pmZF6o9ON6VkVa/dpcXIWQ/f4ZJFEKCTIRau8BXClSqN7+4NeBYtY4sNFtd LM8czbo7Vy9QKf15CZNoPpF2OhBnBM+PV/plBv6l0plkWy0hJo1mmXQ7zDdyX/WTBvf9rKaqe xJvM6AcWbAe+ZKPgwEOewcKKopS2OhYNOZ/g4Ubf4mu9clORg41TqBNlaIW3k5k5WkXjEWhy/ O8ECJiAtdLQIC/3HCKjohlxZRO0DCqkEeG0no5qw/b9quUX0Pr0uyiWPDxBGEMHGG6OptRFQ4 m6RiEqyyqhSmnesBuSFysAy9I9wH7KGPwDNK1r3RwWZvxV5YwWl2qAVTIU3w2u0c2XkTks9iY W+jz8DGiRkj2741fHuA6NF0iiPNsZr0= X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by h1439878.stratoserver.net id v6VEY0rE017947 Status: R X-Status: X-Keywords: X-UID: 7983 [Not sure whether this is a generic LaTeX 3 problem or specific to `fontspec' – however, I guess this question is of greater importance, thus writing to this list.] Folks, let's assume that I want to modify the `fontspec' package, adding xelatex support for some new OpenType scripts, say. Let's further assume that no new fontspec release is planned in the near future so that I'm forced to use the modified package instead of waiting for the next release. To satisfy the LPPL I thought the right solution is to copy `fontspec.sty' to `fontspec-patched.sty', then applying the following change: < { \RequirePackageWithOptions{fontspec-xetex} \endinput } > { \RequirePackageWithOptions{fontspec-xetex-patched} \endinput } Consequently, I copied `fontspec-xetex.sty' to `fontspec-xetex-patched.sty' and applied my changes. Finally, I thought I can now distribute `fontspec-patched.sty' and `fontspec-xetex-patched.sty' within my package documentation directory, where the documentation TeX file simply contains \usepackage{fontspec-patched} to enforce loading the patched fontspec, then calling \usepackage{libertine} for Libertine font support (which would load the unpatched `fontspec' by itself otherwise). Unfortunately, this fails. xelatex bombs out with !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LaTeX error: "kernel/command-already-defined" ! ! Control sequence \l__fontspec_firsttime_bool already defined. ! ! See the LaTeX3 documentation for further information. ! ! For immediate help type H . !............................................... l.36 \bool_new:N \l__fontspec_firsttime_bool What can I do? Werner