LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Wed, 16 Jun 2010 19:23:02 +0200
Content-Disposition: inline
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
MIME-Version: 1.0
Message-ID: <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=us-ascii
From: Heiko Oberdiek <[log in to unmask]>
Parts/Attachments: text/plain (29 lines)
On Tue, Jun 15, 2010 at 10:38:46PM +0930, Will Robertson wrote:

> From: Christophe Jorssen <[log in to unmask]>
> Subject: ansinew.def makes @ other
> Hello all,
> I'm surprised that ansinew.def (from the inputenc package), and probably 
> other <inputenc>.def,  begins with a \makeatletter and ends with a 
> \makeatother, loosing the catcode that @ had when entering the file.
> Is there a reason for that? Wouldn't it better to save the catcode of @ 
> and then restore it?
> What do you think?

It's a bug, the catcode of `@' should be saved and restored.
It doesn't matter, if the the `.def' file is loaded via
option of \usepackage, because LaTeX restores the catcode
of `@' after the package, but the `.def' file can also
be loaded via \inputencoding. Afterwards the catcode of
`@' is always 12 regardless the previous settings.

BTW, the x-*.def files from package `inputenx' save and
restore the catcode of [log in to unmask]

Yours sincerely
  Heiko <[log in to unmask]>