Received: via tmail-4.1(11) (invoked by user schoepf) for schoepf; Sun, 30 Jan 2000 00:06:07 +0100 (MET) Received: from mailgate1.zdv.Uni-Mainz.DE (mailgate1.zdv.Uni-Mainz.DE [134.93.8.56]) by mail.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id AAA05079 for ; Sun, 30 Jan 2000 00:06:07 +0100 (MET) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BF6AAD.6C635980" Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mailgate1.zdv.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id AAA17460 for ; Sun, 30 Jan 2000 00:06:05 +0100 (MET) Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <1.38E480D7@mail.listserv.gmd.de>; Sun, 30 Jan 2000 0:05:46 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 448513 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Sun, 30 Jan 2000 00:00:44 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id AAA14218 for ; Sun, 30 Jan 2000 00:00:43 +0100 (MET) Received: from musse.tninet.se (musse.tninet.se [195.100.94.12]) by relay.uni-heidelberg.de (8.9.3+Sun/8.9.3) with SMTP id AAA02281 for ; Sun, 30 Jan 2000 00:00:43 +0100 (MET) Received: (qmail 23519 invoked from network); 30 Jan 2000 00:02:10 +0100 Received: from garibaldi.tninet.se (195.100.94.103) by musse.tninet.se with SMTP; 30 Jan 2000 00:02:10 +0100 Received: from [195.100.226.139] (du139-226.ppp.su-anst.tninet.se [195.100.226.139]) by tninet.se (BLUETAIL Mail Robustifier1.1.7) with ESMTP id s2985600t388966-bmr-garibaldi for ; Sun, 30 Jan 2000 00:02:08 +0100 Return-Path: x-vm-v5-data: ([nil nil nil nil nil nil nil nil nil]["1265" "Sun" "30" "January" "2000" "00:01:21" "+0100" "Hans Aberg" "haberg@MATEMATIK.SU.SE" nil "24" "LaTeX3 & Pascal" "^Date:" nil nil "1" nil nil nil nil nil]nil) X-Sender: haberg@pop.matematik.su.se Content-class: urn:content-classes:message Subject: LaTeX3 & Pascal Date: Sun, 30 Jan 2000 00:01:21 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Hans Aberg" Sender: "Mailing list for the LaTeX3 project" To: "Multiple recipients of list LATEX-L" Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 3526 This is a multi-part message in MIME format. ------_=_NextPart_001_01BF6AAD.6C635980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I think that the LaTeX Pascal style "preamble", forcing certain stuff to = be entered before the \begin{document}, must be changed. The problem arises when one wants to join several documents together, say in a journal. On the level of implementation, the command \document that = \begin{document} executes cancels the \begingroup that \begin{...} always executes. = However, when I worked on the "environments with hooks", I discovered one cannot allow for an environment which does not have this \begingroup ... = \endgroup locality, because it will screw up the local variables needed in order = how keep track of how the environments stack up. -- So, in particular, these more advanced environments structures do not work with the old = "document" environment (which really isn't an environment, but only faked to make = it look like one to the user). On the semantic level, if one should be able to stack up programs in libraries, this Pascal idea of LaTeX seems wrong. Instead one should go with the style of languages such as C++ and Java, which does not have = it. So this idea of LaTeX with a preamble seems simply wrong from the = semantic point of view. I think it should be changed somehow, so that one can add environments above the "document" level. Hans Aberg ------_=_NextPart_001_01BF6AAD.6C635980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable LaTeX3 & Pascal

I think that the LaTeX Pascal style = "preamble", forcing certain stuff to be
entered before the \begin{document}, must be changed. = The problem arises
when one wants to join several documents together, = say in a journal.

On the level of implementation, the command \document = that \begin{document}
executes cancels the \begingroup that \begin{...} = always executes. However,
when I worked on the "environments with = hooks", I discovered one cannot
allow for an environment which does not have this = \begingroup ... \endgroup
locality, because it will screw up the local = variables needed in order how
keep track of how the environments stack up. -- So, = in particular, these
more advanced environments structures do not work = with the old "document"
environment (which really isn't an environment, but = only faked to make it
look like one to the user).

On the semantic level, if one should be able to stack = up programs in
libraries, this Pascal idea of LaTeX seems wrong. = Instead one should go
with the style of languages such as C++ and Java, = which does not have it.

So this idea of LaTeX with a preamble seems simply = wrong from the semantic
point of view. I think it should be changed somehow, = so that one can add
environments  above the "document" = level.

  Hans Aberg

------_=_NextPart_001_01BF6AAD.6C635980--