Article View: comp.text.tex
Article #23scope of \newcommand{}
From: John W. Wooten
Date: Tue, 27 Oct 1992 19:15
Date: Tue, 27 Oct 1992 19:15
18 lines
879 bytes
879 bytes
I have a document in which I have the following:
\newcommand{\literacy}{This is what literacy means.....}
\literacy
Now that prints out the stuff defined just fine. Later I have an
\appendix section that starts renumbering etc.
and I have
\literacy
I get the message that \literacy is an undefined control sequence. The
reason for doing the above was to have the same wording in two
different places in the manuscript. What has happened?
-----------------
J. W. Wooten
Technical Details
Message-ID:
<1992Oct27.191524.7744@ornl.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!sgiblab!darwin.sura.net!rsg1.er.usgs.gov!ornl!usenetShow Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!sgiblab!darwin.sura.net!rsg1.er.usgs.gov!ornl!usenet
From: woo@ornl.gov(John W. Wooten)
Subject: scope of \newcommand{}
Message-ID: <1992Oct27.191524.7744@ornl.gov>
Sender: usenet@ornl.gov (News poster)
Organization: Oak Ridge National Laboratory
Date: Tue, 27 Oct 1992 19:15:24 GMT
Lines: 18