=webmac — fwebmac.web —

Copyright (C) 1987 Princeton University

Original authors: D. Knuth, S. Levy

Upgraded by J.A. Krommes for FWEB version 1.31

@—————————————————————————–

FWEBMACL

@x

1. INTRODUCTION. These are the standard macros for (v. 1.30) listings (in addition to those of ṖLAIN.TEX and/or LaTEX).

WARNING: Some of these macros are not independent of stuff hard-coded into . In other words, if you change something here, you may also need to recompile . So caution!

2. Print a comment at the beginning of the .̇sty file that is created.

3. First, we have a flag
{FWEBisloaded that prevents ḟwebmac.sty from being loaded twice. For the use of this flag, see the Dirty Tricks appendix of the TEXbook.

4. Various things need to know the current version number and date.

5. now offers full LaTEX support. Here's how to refer to it (borrowed from LaTEX's Ḃ p@LaTeX macro):

6. We need to distinguish whether or not LaTEX is loaded. Assuming that only TEX or LaTEX will be used, one way of doing this is to discriminate on whether
{documentstyle is defined.

undefined

7. now supports LaTEX's NFSS (new font selection scheme). Macros courtesy of Charles Karney, Princeton U.

8. NFSS2 uses
{mathrm and
{mathit. These won't be defined for Plain TEX and standard LaTEX.

9. If LaTEX is loaded, we equate
{pageno to
LaTEX's counter so that the $&labelmacroworkscorrectly.Also,L$\Csc$aTEX doesitsownthingwiththe$ &end command, so we redefine it. To finish up the document, we write to the ȧux file ``
{gdef
{Wdepth$| n$ ˙´,́
where$| n
is
the
maximum
section
depth
that
was
achieved.
{catcode` = 11
{ifLaTeXisloaded
{let
{pageno
| c@
page%
{WEB
{has
its
own
name &for
the
page
number.
{gdef
{FWEBendby1 uxout;''