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
Show All Mail Headers

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

Print Reply
Subject:
From:
"Michael J. Downes" <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Tue, 7 Jul 1998 07:50:41 -0400
Content-Type:
text/plain
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