X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1252" "Thu" "10" "February" "1994" "16:02:49" "LCL" "Mike Piff" "M.Piff@sheffield.ac.uk" "<199402101625.AA25405@mail.cs.tu-berlin.de>" "35" "Re: The difference between option and packages in 2e" "^Date:" nil nil "2" "1994021016:02:49" "The difference between option and packages in 2e" nil nil]) Return-Path: Received: from sc.ZIB-Berlin.DE (mailserv) by dagobert.ZIB-Berlin.DE (4.1/SMI-4.0/24.6.93) id AA17239; Thu, 10 Feb 94 17:26:59 +0100 Received: from mail.cs.tu-berlin.de by sc.ZIB-Berlin.DE (4.1/SMI-4.0-sc/03.06.93) id AA03059; Thu, 10 Feb 94 17:25:27 +0100 Received: from tubvm.cs.tu-berlin.de by mail.cs.tu-berlin.de with SMTP id AA25405 (5.65c8/IDA-1.4.4(mail.m4[1.12]) for <@MAIL.CS.TU-BERLIN.DE:Schoepf@SC.ZIB-BERLIN.DE>); Thu, 10 Feb 1994 17:25:25 +0100 Message-Id: <199402101625.AA25405@mail.cs.tu-berlin.de> Received: from TUBVM.CS.TU-BERLIN.DE by tubvm.cs.tu-berlin.de (IBM VM SMTP V2R2) with BSMTP id 4972; Thu, 10 Feb 94 17:25:13 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE (NJE origin MAILER@DHDURZ1) by TUBVM.CS.TU-BERLIN.DE (LMail V1.2a/1.8a) with BSMTP id 4971; Thu, 10 Feb 1994 17:25:13 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE (NJE origin LISTSERV@DHDURZ1) by VM.URZ.UNI-HEIDELBERG.DE (LMail V1.2a/1.8a) with BSMTP id 0815; Thu, 10 Feb 1994 17:24:39 +0000 Reply-To: Mailing list for the LaTeX3 project Date: Thu, 10 Feb 1994 16:02:49 LCL From: Mike Piff Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: The difference between option and packages in 2e Status: R X-Status: X-Keywords: X-UID: 1524 I shall not here repeat everything that Frank has said in his very long reply to my request. I can perhaps summarize by saying that a package/class must do the following: -- define its options---all of them -- execute default options -- execute given options -- carry on with its code Thus the options must come first, else presumably something will go wrong later, eg, some parameter gets its default value, some other parameter gets half that value, then the first one changes its value. Thus \input{article.sty} \input{a4.sty} would presumably fail. The problems are: -- option a4envelope will not be recognized. (This sets the page area to that of an envelope, so the printer doesn't object. -- option 14pt is not recognized either, to set the default size to 14pt. To have to define a new class to overcome these, and similar, problems seems madness. Should there not be a default action for all unrecognized options, rather than just ignoring them? Mike %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Dr M J Piff, School of Mathematics and Statistics, University of %% %% Sheffield, UK. e-mail: M.Piff@sheffield.ac.uk %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%