LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
From:
"Michael J. Downes" <[log in to unmask]>
Date:
Tue, 7 Jul 1998 07:50:41 -0400
In-Reply-To:
David Carlisle's message of Tue, 07 Jul 1998 09:55:23 +0100
Comments:
Resent-From: [log in to unmask] Originally-From: Michael John Downes <[log in to unmask]>
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (18 lines)
For what it's worth, when writing packages and such I have acquired
the habit of putting a \relax after all the commands that have
trailing option lookahead, or the optional date if the command takes a
date:

  \ProcessOptions\relax

  \RequirePackage{latexsym}[1995/01/01]

  \LoadClass{foo}[1995/01/01]

(also \usepackage and \documentclass).

One reason is that if an error happens to occur while processing one
of these commands, \relax or [...] ensures that the error context
shown by TeX will be the line that triggered the error, not some
following line (past any comment lines that happen to follow).

ATOM RSS1 RSS2