The macro NOTRANS
copies its one argument literally to the output file,
without expanding macros in it (except for CHAR
, which is expanded) and
without translating the characters with the current translation table. The
NOTRANS
macro is typically used to send commands for the output format to
the output file.
For example, consider the following code fragment:
COMMENT(--- Define character translations for \{} in LaTeX. ---) DEFINECHARTABLE(standard)( '\\' = "$\\backslash$" '{' = "\\verb+{+" '}' = "\\verb+}+" ) COMMENT(--- Activate the translation table. ---) USECHARTABLE(standard) COMMENT(--- Now two tests: ---) NOEXPAND(\input{epsf.tex}) NOTRANS(\input{epsf.tex})
The NOEXPAND
macro in this example will send
$\backslash$input\verb+{+epsf.tex\verb+}+
since the characters in its argument are translated with the standard
translation table. In contrast, the NOTRANS
macro, will send literally
\input{epsf.tex}
.
The parameter list of the NOTRANS
macro must be balanced in respect to its
parentheses. When using an unbalanced number of parentheses, use
CHAR(40)
to send a literal (, or CHAR(41)
to send
a )
.
Please send Yodl questions and comments to yodl@icce.rug.nl.
Please send comments on these web pages to (address unknown)
Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.