aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-18 18:11:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-18 18:11:53 -0300
commit6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94 (patch)
treeaaa9315d3e799e10c1a7fa74cebebe2b5e11db84
parent60bdc370d90298723552b5c62e84052b1c06de91 (diff)
downloadlua-6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94.tar.gz
lua-6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94.tar.bz2
lua-6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94.zip
do not use $...$ to italic.
-rw-r--r--manual.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/manual.tex b/manual.tex
index 43ce4f3d..6e6d524e 100644
--- a/manual.tex
+++ b/manual.tex
@@ -1,11 +1,12 @@
1% $Id: manual.tex,v 2.0 1997/06/17 18:45:16 roberto Exp roberto $ 1% $Id: manual.tex,v 2.1 1997/06/18 20:14:52 roberto Exp roberto $
2 2
3\documentstyle[fullpage,11pt,bnf]{article} 3\documentstyle[fullpage,11pt,bnf]{article}
4 4
5\newcommand{\rw}[1]{{\bf #1}} 5\newcommand{\rw}[1]{{\bf #1}}
6\newcommand{\See}[1]{Section~\ref{#1}} 6\newcommand{\See}[1]{Section~\ref{#1}}
7\newcommand{\see}[1]{(see \See{#1})} 7\newcommand{\see}[1]{(see \See{#1})}
8\newcommand{\M}[1]{$#1$} 8\newcommand{\M}[1]{\emph{#1}}
9\newcommand{\Math}[1]{$#1$}
9\newcommand{\nil}{{\bf nil}} 10\newcommand{\nil}{{\bf nil}}
10\newcommand{\Line}{\rule{\linewidth}{.5mm}} 11\newcommand{\Line}{\rule{\linewidth}{.5mm}}
11\def\tecgraf{{\sf TeC\kern-.21em\lower.7ex\hbox{Graf}}} 12\def\tecgraf{{\sf TeC\kern-.21em\lower.7ex\hbox{Graf}}}
@@ -37,7 +38,7 @@ Waldemar Celes
37\tecgraf\ --- Computer Science Department --- PUC-Rio 38\tecgraf\ --- Computer Science Department --- PUC-Rio
38} 39}
39 40
40\date{\small \verb$Date: 1997/06/17 18:45:16 $} 41\date{\small \verb$Date: 1997/06/18 20:14:52 $}
41 42
42\maketitle 43\maketitle
43 44
@@ -2024,7 +2025,7 @@ and the part matching \verb|%s*| has number 3.
2024 2025
2025This library is an interface to some functions of the standard C math library. 2026This library is an interface to some functions of the standard C math library.
2026In addition, it registers a tag method for the binary operator \verb|^| that 2027In addition, it registers a tag method for the binary operator \verb|^| that
2027returns \M{x^y} when applied to numbers \verb|x^y|. 2028returns \Math{x^y} when applied to numbers \verb|x^y|.
2028 2029
2029The library provides the following functions: 2030The library provides the following functions:
2030\Deffunc{abs}\Deffunc{acos}\Deffunc{asin}\Deffunc{atan} 2031\Deffunc{abs}\Deffunc{acos}\Deffunc{asin}\Deffunc{atan}
@@ -2050,7 +2051,7 @@ The functions \verb|random| and \verb|randomseed| are interfaces to
2050the simple random generator functions \verb|rand| and \verb|srand|, 2051the simple random generator functions \verb|rand| and \verb|srand|,
2051provided by ANSI C. 2052provided by ANSI C.
2052The function \verb|random| returns pseudo-random numbers in the 2053The function \verb|random| returns pseudo-random numbers in the
2053range \M{[0,1)}. 2054range \Math{[0,1)}.
2054 2055
2055 2056
2056\subsection{I/O Facilities} \label{libio} 2057\subsection{I/O Facilities} \label{libio}
@@ -2265,8 +2266,8 @@ lua_Function lua_stackedfunction (int level);
2265\end{verbatim} 2266\end{verbatim}
2266It returns a handle (\verb|lua_Function|) to the {\em activation record\/} 2267It returns a handle (\verb|lua_Function|) to the {\em activation record\/}
2267of the function executing at a given level. 2268of the function executing at a given level.
2268Level 0 is the current running function, 2269Level~0 is the current running function,
2269while level \M{n+1} is the function that has called level \M{n}. 2270while level \Math{n+1} is the function that has called level \Math{n}.
2270When called with a level greater than the stack depth, 2271When called with a level greater than the stack depth,
2271\verb|lua_stackedfunction| returns \verb|LUA_NOOBJECT|. 2272\verb|lua_stackedfunction| returns \verb|LUA_NOOBJECT|.
2272 2273