# [texhax] pagestyle{empty}

Martin Schröder martin at oneiros.de
Thu Mar 30 00:16:20 CEST 2006

On 2006-03-29 23:57:42 +0200, Reinhard Kotucha wrote:
> For AMS-LaTeX there is a macro package which re-defines deprecated
> commands so that they print quite useful warning messages on screen or
> even errors if requested.
>
> From:
>
>   http://ctan.org/tex-archive/macros/latex/contrib/onlyamsmath/onlyamsmath.dtx
>
> % This package inhibits the usage of plain \TeX\ and on demand of
> % standard \LaTeX\ math environments.
> % This is useful for class writers who want to force their clients to
> % use the environments provided by the amsmath package.
>
> IMO it would not be bad to have something like that for LaTeX.

A start would be the l3names package (in latex2e/exptl/project/expl3):
-------------------------------
l3names
=======

Documents the general naming scheme, and gives new names to all
the TeX primitives.

If this package is used with the option [removeoldnames] then the
original TeX primitive names (\hbox, \def, ...) are made
*undefined* and so free to be defined for other purposes if
needed. Of course this breaks almost all existing LaTeX2 code,
but it may be used for testing purposes, see test2.tex.
-------------------------------

Best
Martin
--
http://www.tm.oneiros.de