Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p29GrtSM001812 for ; Wed, 9 Mar 2011 17:53:56 +0100 Received: (qmail 18358 invoked by alias); 9 Mar 2011 16:53:49 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 09 Mar 2011 16:53:49 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx098) with SMTP; 09 Mar 2011 17:53:49 +0100 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 p29GpAA4030698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Mar 2011 17:51:10 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p29FdUJ4005446; Wed, 9 Mar 2011 17:51:00 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1266721 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 9 Mar 2011 17:51:00 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p29Gp0hd017475 for ; Wed, 9 Mar 2011 17:51:00 +0100 Received: from nm24-vm0.bullet.mail.ac4.yahoo.com (nm24-vm0.bullet.mail.ac4.yahoo.com [98.139.53.222]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with SMTP id p29Gon3F023348 for ; Wed, 9 Mar 2011 17:50:50 +0100 Received: from [98.139.52.195] by nm24.bullet.mail.ac4.yahoo.com with NNFMP; 09 Mar 2011 16:48:32 -0000 Received: from [74.6.228.37] by tm8.bullet.mail.ac4.yahoo.com with NNFMP; 09 Mar 2011 16:48:32 -0000 Received: from [127.0.0.1] by smtp106.mail.ac4.yahoo.com with NNFMP; 09 Mar 2011 16:48:32 -0000 X-Yahoo-Newman-Id: 35885.22929.bm@smtp106.mail.ac4.yahoo.com Received: from [192.168.1.32] (st_philipp@95.91.97.109 with plain) by smtp106.mail.ac4.yahoo.com with SMTP; 09 Mar 2011 08:48:28 -0800 PST X-Yahoo-SMTP: _jlT6bOswBCTfNEaYibKorijSw14_bs- X-YMail-OSG: 6YYCRNwVM1kmPISR37mKr6ERgHjGFq1SyT80x.8tHWKy0bj OiJ76DruS4hVBSzhoq6lU.UqHE21lLfCdC0us0qlm9j35h2BvoXNqqwnIOix .a.Oayu3Rj9ue20FtsZM9ZCyGPMF.gIPe3gFVxl_m_QZMiKxLf8jFu9NNSA5 8hMvfWr6sAE7HsFduOZLEGM2bxy4eg6esBQ2ikvn4wvRppIZ.6YwWuRal47k kTB5zOmKJX1g98Vnxq6YnE3vMbOiKV5gbeJB1u6XU89aXk6ETKU0nD6SSpN0 45ihliW9G08A7LC0hwPpVo2i2fPT4kXs.StjZv342Ux8fVFOMt5vMCKl.FQ4 mt9uGMlM2U1rxVxc0p1qw.83RXZYRkTI_.iD8nQ-- X-Yahoo-Newman-Property: ymail-3 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1082) References: <4D738DB1.3020807@gmx.de> <19831.22704.372331.894399@morse.mittelbach-online.de> <56ED2B8C-74D6-4163-A98C-52B8CA052724@frycomm.com> X-Mailer: Apple Mail (2.1082) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id p29Gp0hd017476 Message-ID: Date: Wed, 9 Mar 2011 17:48:22 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Philipp Stephani Subject: Re: format? To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <56ED2B8C-74D6-4163-A98C-52B8CA052724@frycomm.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7bp7qqSbssdDTHsQd8+gWzfjr4OMj5ambWQGofKK 3vIsQ==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6654 Am 09.03.2011 um 15:51 schrieb William Adams: > On Mar 9, 2011, at 5:38 AM, Frank Mittelbach wrote: > >> Now you can say that if somebody starts of the document with >> >> \usepackage{expl3,xparse,template} >> >> say then everything will be fine whether or not the document will be produced >> by ordinary 2e format or 2x. >> >> But history will tell us that what is likely to happen is that people start >> writing documents that will not \RequirePackage/\usepackage > > Would it be possible to build the format in such a way that the packages in question are built into it, but not activated unless such line(s) were present in the document? I thought about this issue, but how should this be done on the technical level? Once you have defined a TeX macro, there is no way to "deactivate" it. I had the hope that it would be possible to require either \NeedsTeXFormat{LaTeX2x} or \usepackage{expl3...}, but I don't think there is a simple way to do this. > Would there need to be an ``\activatepackage'' command? Or is there some better command which should be used in LaTeX3? I've complained in the past of LaTeX2e document pre-ambles being meaningless line-after-line of \usepackage{foo} and would really like to see a nicer interface here --- would this be a good opportunity to introduce it? This is not possible given the package system of LaTeX 2e: packages are just source code files that are read byte by byte, similar to C header files. After a package has been loaded, all macros defined by the package are defined and stay so forever. A more sound approach is to build a monolithic system and to get rid of TeX programming as far as possible—that is what ConTeXt Mk IV does.