~ubuntu-branches/ubuntu/maverick/texlive-extra/maverick

« back to all changes in this revision

Viewing changes to texmf-dist/source/latex/progkeys/keywords.dtx

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-05-05 09:18:38 UTC
  • mfrom: (1.1.8 upstream) (3.1.12 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090505091838-n4cyrz5wncwsu0ml
Tags: 2007.dfsg.17-2ubuntu1
* Merge with Debian unstable; remaining Ubuntu changes:
  - Drop texpower Recommends to Suggests. It is in universe, and drags in
    context and xpdf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
% \iffalse meta-comment
2
 
%
3
 
% 'keywords.dtx'
4
 
%
5
 
% Copyright (C) 1993,1994,1995 by Miguel Alabau.  All rights reserved.
6
 
%
7
 
% COMMANDS FOR TYPESETTING KEYWORDS
8
 
%
9
 
% **WARNING** If the file 'keywords.ins' does not accompany the file
10
 
% 'keywords.dtx', then you must strip this last file by hand.
11
 
% (1) Run 'latex docstrip' on 'keywords.dtx' and indicate 'drv' as
12
 
%     suffix file and 'driver' as selector for extraction.
13
 
% (2) Run 'latex docstrip' on 'keywords.dtx' and indicate 'sty' as
14
 
%     suffix file and 'style' as selector for extraction.
15
 
% (3) Run 'latex docstrip' on 'keywords.dtx' and indicate 'ist' as
16
 
%     suffix file and 'index' as selector for extraction.
17
 
% Then, if you want to produce the documentation, proceed as follows:
18
 
%     latex keywords.drv; latex keywords.drv; latex keywords.drv
19
 
%     makeindex -s keywords.ist keywords.idx
20
 
%     latex keywords.drv
21
 
%
22
 
%<style>\NeedsTeXFormat{LaTeX2e}
23
 
%<style>\ProvidesPackage{keywords}
24
 
%
25
 
% \fi
26
 
%
27
 
%
28
 
% \def\fileversion{v1.0}
29
 
% \def\filedate{95/04/01}
30
 
% \def\docdate {96/01/31}
31
 
%
32
 
%
33
 
% ^^A -*-LaTeX-*-
34
 
35
 
%\catcode`\<=12
36
 
 
37
 
% \CheckSum{564}
38
 
%% \CharacterTable
39
 
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
40
 
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
41
 
%%   Digits        \0\1\2\3\4\5\6\7\8\9
42
 
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
43
 
%%   Dollar        \$     Percent       \%     Ampersand     \&
44
 
%%   Acute accent  \'     Left paren    \(     Right paren   \)
45
 
%%   Asterisk      \*     Plus          \+     Comma         \,
46
 
%%   Minus         \-     Point         \.     Solidus       \/
47
 
%%   Colon         \:     Semicolon     \;     Less than     \<
48
 
%%   Equals        \=     Greater than  \>     Question mark \?
49
 
%%   Commercial at \@     Left bracket  \[     Backslash     \\
50
 
%%   Right bracket \]     Circumflex    \^     Underscore    \_
51
 
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
52
 
%%   Right brace   \}     Tilde         \~}
53
 
%%
54
 
%
55
 
% \DoNotIndex{\@,\@@par,\@beginparpenalty,\@empty}
56
 
% \DoNotIndex{\@flushglue,\@gobble,\@input}
57
 
% \DoNotIndex{\@makefnmark,\@makeother,\@maketitle}
58
 
% \DoNotIndex{\@namedef,\@ne,\@spaces,\@tempa}
59
 
% \DoNotIndex{\@tempb,\@tempswafalse,\@tempswatrue}
60
 
% \DoNotIndex{\@thanks,\@thefnmark,\@topnum}
61
 
% \DoNotIndex{\@@,\@elt,\@forloop,\@fortmp,\@gtempa,\@totalleftmargin}
62
 
% \DoNotIndex{\",\/,\@ifundefined,\@nil,\@verbatim,\@vobeyspaces}
63
 
% \DoNotIndex{\|,\~,\ ,\active,\advance,\aftergroup,\begingroup,\bgroup}
64
 
% \DoNotIndex{\cal,\csname,\def,\documentstyle,\dospecials,\edef}
65
 
% \DoNotIndex{\documentclass}
66
 
% \DoNotIndex{\egroup}
67
 
% \DoNotIndex{\else,\endcsname,\endgroup,\endinput,\endtrivlist}
68
 
% \DoNotIndex{\expandafter,\fi,\fnsymbol,\futurelet,\gdef,\global}
69
 
% \DoNotIndex{\hbox,\hss,\if,\if@inlabel,\if@tempswa,\if@twocolumn}
70
 
% \DoNotIndex{\ifcase}
71
 
% \DoNotIndex{\ifcat,\iffalse,\ifx,\ignorespaces,\index,\input,\item}
72
 
% \DoNotIndex{\jobname,\kern,\leavevmode,\leftskip,\let,\llap,\lower}
73
 
% \DoNotIndex{\m@ne,\next,\newpage,\nobreak,\noexpand,\nonfrenchspacing}
74
 
% \DoNotIndex{\obeylines,\or,\protect,\raggedleft,\rightskip,\rm,\sc}
75
 
% \DoNotIndex{\setbox,\setcounter,\small,\space,\string,\strut}
76
 
% \DoNotIndex{\strutbox}
77
 
% \DoNotIndex{\thefootnote,\thispagestyle,\topmargin,\trivlist,\tt}
78
 
% \DoNotIndex{\twocolumn,\typeout,\vss,\vtop,\xdef,\z@}
79
 
% \DoNotIndex{\,,\@bsphack,\@esphack,\@noligs,\@vobeyspaces,\@xverbatim}
80
 
% \DoNotIndex{\`,\catcode,\end,\escapechar,\frenchspacing,\glossary}
81
 
% \DoNotIndex{\hangindent,\hfil,\hfill,\hskip,\hspace,\ht,\it,\langle}
82
 
% \DoNotIndex{\leaders,\long,\makelabel,\marginpar,\markboth,\mathcode}
83
 
% \DoNotIndex{\mathsurround,\mbox,\newcount,\newdimen,\newskip}
84
 
% \DoNotIndex{\nopagebreak}
85
 
% \DoNotIndex{\parfillskip,\parindent,\parskip,\penalty,\raise,\rangle}
86
 
% \DoNotIndex{\section,\setlength,\TeX,\topsep,\underline,\unskip,\verb}
87
 
% \DoNotIndex{\vskip,\vspace,\widetilde,\\,\%,\@date,\@defpar}
88
 
% \DoNotIndex{\[,\{,\},\]}
89
 
% \DoNotIndex{\count@,\ifnum,\loop,\today,\uppercase,\uccode}
90
 
% \DoNotIndex{\baselineskip,\begin,\tw@}
91
 
% \DoNotIndex{\a,\b,\c,\d,\e,\f,\g,\h,\i,\j,\k,\l,\m,\n,\o,\p,\q}
92
 
% \DoNotIndex{\r,\s,\t,\u,\v,\w,\x,\y,\z,\A,\B,\C,\D,\E,\F,\G,\H}
93
 
% \DoNotIndex{\I,\J,\K,\L,\M,\N,\O,\P,\Q,\R,\S,\T,\U,\V,\W,\X,\Y,\Z}
94
 
% \DoNotIndex{\1,\2,\3,\4,\5,\6,\7,\8,\9,\0}
95
 
% \DoNotIndex{\!,\#,\$,\&,\',\(,\),\+,\.,\:,\;,\<,\=,\>,\?,\_}
96
 
% \DoNotIndex{\discretionary,\immediate,\makeatletter,\makeatother}
97
 
% \DoNotIndex{\meaning,\newenvironment,\par,\relax,\renewenvironment}
98
 
% \DoNotIndex{\repeat,\scriptsize,\selectfont,\the,\undefined}
99
 
% \DoNotIndex{\arabic,\do,\makeindex,\null,\number,\show,\write,\@ehc}
100
 
% \DoNotIndex{\@author,\@ehc,\@ifstar,\@sanitize,\@title,\everypar}
101
 
% \DoNotIndex{\if@minipage,\if@restonecol,\ifeof,\ifmmode}
102
 
% \DoNotIndex{\lccode,\newtoks,\onecolumn,\openin,\p@,\SelfDocumenting}
103
 
% \DoNotIndex{\settowidth,\@resetonecoltrue,\@resetonecolfalse,\bf}
104
 
% \DoNotIndex{\clearpage,\closein,\lowercase,\@inlabelfalse}
105
 
% \DoNotIndex{\selectfont,\mathcode,\newmathalphabet,\rmdefault}
106
 
% \DoNotIndex{\bfdefault}
107
 
%
108
 
% \DoNotIndex{\addtocounter,\baselinestretch,\em,\noindent}
109
 
% \DoNotIndex{\linewidth,\columnwidth,\newcounter,\newif,\newlength}
110
 
% \DoNotIndex{\normalsize,\refstepcounter,\rlap,\rule}
111
 
% \DoNotIndex{\@@tempa,\@@tempb,\@ifnextchar,\@nameuse}
112
 
%
113
 
% \title{The ``{\sf{}keywords.sty}'' style file\thanks{%
114
 
%    This file has version number \fileversion{} dated \filedate{}.
115
 
%    The documentation was last revised on \docdate{}.}}
116
 
%
117
 
% \author{Miguel Alabau\\
118
 
%         {\small{}LaBRI, Universit\'e Bordeaux~I (France)}\\
119
 
%         {\small{\em{}e-mail\/}: {\tt{}Miguel.Alabau@labri.u-bordeaux.fr}}}
120
 
%
121
 
% \maketitle
122
 
%
123
 
% \begin{abstract}
124
 
%    This style file contains a set of definitions that allow keywords
125
 
%    to be defined and printed in several convenient ways.
126
 
%    For each keyword two definitions may be provided. This is to
127
 
%    allow the use of keywords in two contexts (for instance
128
 
%    English/French translation of the keywords).
129
 
%    At the same time, keyword can be printed in roman, teletype,
130
 
%    boldfaced or underlined.
131
 
%    The user can define other styles for printing keywords.
132
 
%    A set of keywords is provided by default. Of course a user can
133
 
%    define new keywords or redefine existing ones without modifying
134
 
%    the style file.
135
 
% \end{abstract}%
136
 
%
137
 
% \newif\ifmulticols
138
 
% \makeatletter
139
 
% \ifhave@multicol\multicolstrue\else\multicolsfalse\fi
140
 
% \makeatother
141
 
%
142
 
% \begin{footnotesize}
143
 
%     \ifmulticols \begin{multicols}{2} \fi
144
 
%     \tableofcontents
145
 
%     \ifmulticols \end{multicols} \fi
146
 
% \end{footnotesize}
147
 
%
148
 
%
149
 
% \ifmulticols
150
 
% \begin{multicols}{2}[\section{Introduction}]
151
 
% \else \section{Introduction} \fi
152
 
%
153
 
% When typing programs or algorithms, it often happens for a same
154
 
% text to appear as an algoritm (pseudo-code) or as a program. In such
155
 
% cases different fonts are used. For instance, algorithms may appear
156
 
% with keywords italicised or underlined, while the same keywords
157
 
% appear boldfaced in the program text.
158
 
% Moreover algorithms are often typed with keywords belonging to the
159
 
% native language of the writer while program keywords appear usually
160
 
% to be english ones.
161
 
%
162
 
% The file {\em{}keywords.sty\/} provides simple solutions to both of
163
 
% these problems by giving the user capability to define each keyword
164
 
% in two simultaneaous different manners and by providing different
165
 
% printing styles.
166
 
%
167
 
% Keywords are commands to be issued in text. Hence this style file is
168
 
% origimally intended to be used in conjunction with the features
169
 
% provided by the {\em{}programs.sty\/} style file~\cite{alabau95-d}.
170
 
% However, it can be used independently.
171
 
%
172
 
% \ifnoprogsfile \relax\else
173
 
%
174
 
% For instance, let be the following piece of program:
175
 
%
176
 
% \begin{verbatim}
177
 
%     \BEGIN
178
 
%         statements
179
 
%     \END
180
 
% \end{verbatim}
181
 
%
182
 
% \vspace{-\baselineskip}
183
 
% \noindent%
184
 
% where \verb+\BEGIN+ and \verb+\END+ are two predefined commands in
185
 
% this style file. 
186
 
% If we issue the command \verb+\ProgKeywords+, then we get:
187
 
%
188
 
% \ProgKeywords
189
 
% \begin{programf}*
190
 
%     \BEGIN
191
 
%         statements
192
 
%     \END
193
 
% \end{programf}
194
 
%
195
 
% \vspace{-\baselineskip}
196
 
% \noindent%
197
 
% If we prefer to use the second language, we can issue the
198
 
% \verb+\FProgKeywords+:
199
 
%
200
 
% \FProgKeywords
201
 
% \begin{programf}*
202
 
%     \BEGIN
203
 
%         statements
204
 
%     \END
205
 
% \end{programf}
206
 
%
207
 
% \vspace{-\baselineskip}
208
 
% \noindent%
209
 
% We can also use other typesetting rules, like underlined emphasized
210
 
% fonts (\verb+UAlgoKeywords+):
211
 
%
212
 
% \UAlgoKeywords
213
 
% \begin{programf}*
214
 
%     \BEGIN
215
 
%         statements
216
 
%     \END
217
 
% \end{programf}
218
 
%
219
 
% \vspace{-\baselineskip}
220
 
% \noindent%
221
 
% It is also possible to define new keywords or to redefine existing
222
 
% ones, by issuing a command like:
223
 
%
224
 
% \begin{verbatim}
225
 
% \NewKeyword{\BEGIN}{this is the beginning}
226
 
% \NewKeyword{\END}{this is the end}
227
 
% \end{verbatim}
228
 
%
229
 
% \vspace{-\baselineskip}
230
 
% \noindent%
231
 
% which leads to the following piece of code (default typesetting used
232
 
% is the last one specified, i.e. \verb+UAlgoKeywords+):
233
 
%
234
 
% \NewKeyword{\BEGIN}{this is the beginning}
235
 
% \NewKeyword{\END}{this is the end}
236
 
% \begin{programf}*
237
 
%     \BEGIN
238
 
%         statements
239
 
%     \END
240
 
% \end{programf}
241
 
%
242
 
% \fi
243
 
244
 
% \ifmulticols\end{multicols}\fi
245
 
%
246
 
% ^^A **********************************************
247
 
% ^^A **          USERS's MANUAL                  **
248
 
% ^^A **********************************************
249
 
%
250
 
% \section{User's Manual}
251
 
%
252
 
% A set of default keywords is provided in this file (see
253
 
% section~\ref{default-keywords}). For each keyword, two definitions
254
 
% are provided: the first one in english, and the second one in french
255
 
% (because I am French).
256
 
% The switch between the two languages is performed by global commands
257
 
% wich serve also to define the font used for printing.
258
 
%
259
 
% \subsection{Selecting a printing style}
260
 
% \label{user:selecting-printing-styles}
261
 
%
262
 
% \DescribeMacro{\ProgKeywords}
263
 
% \DescribeMacro{\FProgKeywords}
264
 
% \DescribeMacro{\ttKeywords}
265
 
% \DescribeMacro{\FttKeywords}
266
 
% \DescribeMacro{\AlgoKeywords}
267
 
% \DescribeMacro{\FAlgoKeywords}
268
 
% \DescribeMacro{\NormalKeywords}
269
 
% \DescribeMacro{\FNormalKeywords}
270
 
%
271
 
% The following printing styles are provided:
272
 
%
273
 
% \begin{center}
274
 
% \begin{tabular}{lll}
275
 
%     \hline
276
 
%     \multicolumn{1}{c}{style}
277
 
%     & \multicolumn{1}{c}{definition~1}
278
 
%     & \multicolumn{1}{c}{definition~2}\\
279
 
%     \hline\hline
280
 
%     \verb+\bf+            & \verb+\ProgKeywords+   & \verb+\FProgKeywords+\\
281
 
%     \verb+\tt+            & \verb+\ttKeywords+     & \verb+\FttKeywords+\\
282
 
%     \verb+\em+            & \verb+\AlgoKeywords+   & \verb+\FAlgoKeywords+\\
283
 
%     \verb+\rm+            & \verb+\NormalKeywords+ & \verb+\FNormalKeywords+\\
284
 
%     \hline
285
 
% \end{tabular}
286
 
% \end{center}
287
 
%
288
 
% \DescribeMacro{\UAlgoKeywords}
289
 
% \DescribeMacro{\UFAlgoKeywords}
290
 
% \DescribeMacro{\FUAlgoKeywords}
291
 
% There are also two underlined styles:
292
 
%
293
 
% \begin{center}
294
 
% \begin{tabular}{lll}
295
 
%     \hline
296
 
%     \multicolumn{1}{c}{style}
297
 
%     & \multicolumn{1}{c}{definition~1}
298
 
%     & \multicolumn{1}{c}{definition~2}\\
299
 
%     \hline\hline
300
 
%     underlined \verb+\em+ & \verb+\UAlgoKeywords+  & \verb+\FUAlgoKeywords+\\
301
 
%     \hline
302
 
% \end{tabular}
303
 
% \end{center}
304
 
%
305
 
% For compatability with previous versions of keywords.sty, the
306
 
% command \verb+\UFAlgoKeywords+ has been defined as a synonym for
307
 
% \verb+\FUAlgoKeywords+.
308
 
%
309
 
% \subsection{Defining and Re-defining keywords}
310
 
% \label{user:program-keywords}
311
 
%
312
 
% \DescribeMacro{\NewKeyword}
313
 
% The command
314
 
%
315
 
% \begin{verbatim}
316
 
%     \NewKeyword{\WORD}{SENTENCE1}[SENTENCE2]
317
 
% \end{verbatim}
318
 
%
319
 
% \vspace{-\baselineskip}
320
 
% defines the command \verb+\WORD+ to issue the text in
321
 
% \verb+SENTENCE1+ or in \verb+SENTENCE2+ when it is typed, according
322
 
% to the style currently in use.
323
 
%
324
 
% For instance, one could use \verb+SENTENCE1+ for defining english
325
 
% keywords and \verb+SENTENCE2+ for defining their french translation.
326
 
%
327
 
% If ``\verb+[SENTENCE2]+'' is omitted, all happens as if the
328
 
% following command had been issued: 
329
 
%
330
 
% \begin{verbatim}
331
 
%     \NewKeyword{\WORD}{SENTENCE1}[SENTENCE1]
332
 
% \end{verbatim}
333
 
%
334
 
% \vspace{-\baselineskip}
335
 
% The command \verb+\NewKeyword+ serves also to redefine existing
336
 
% keywords. 
337
 
%
338
 
% \subsection{Defining a printing style}
339
 
% \label{user:defining-printing-styles}
340
 
%
341
 
% \DescribeMacro{\DefineKeywordsStyles}
342
 
% The command 
343
 
%
344
 
% \begin{verbatim}
345
 
%     \DefineKeywordsStyles{MODE}{\STYLE}
346
 
% \end{verbatim}
347
 
%
348
 
% \vspace{-\baselineskip}
349
 
% allows for the user to define particular printing modes.
350
 
% Its main effect is to define the commands \verb+\MODEs+ and
351
 
% \verb+\FMODEs+ that will lead to print respectively the
352
 
% \verb+SENTENCE1+ part or the \verb+SENTENCE2+ part of the
353
 
% \verb+\NewKeyword+ definitions.
354
 
% For instance, the commands \verb+\ProgKeywords+ and
355
 
% \verb+\FProgKeywords+ have been automatically defined from a
356
 
% \verb+\DefineKeywordsStyles{ProgKeyword}{\bf}+ command.
357
 
%
358
 
% \DescribeMacro{\DefineUnderlinedKeywordsStyles}
359
 
% \ \\
360
 
% For \verb+SENTENCE+$_i$ to be underlined, it is necessary to issue a 
361
 
%
362
 
% \begin{verbatim}
363
 
%     \DefineUnderlinedKeywordsStyles{MODE}{\STYLE}
364
 
% \end{verbatim}
365
 
%
366
 
% \vspace{-\baselineskip}
367
 
% command, instead of the ``\verb+\DefineKeywordsStyles+'' described
368
 
% above. 
369
 
% This is how the \verb+\UAlgoKeywords+ and \verb+\FUAlgoKeywords+
370
 
% commands have been defined, by issuing a
371
 
% \verb+\DefineUnderlinedKeywordsStyles{UAlgoKeyword}{\em}+ command.
372
 
%
373
 
% \subsection{The Index File}
374
 
%
375
 
% In order for the processing of this file to be complete, an index
376
 
% format file is required. Let us assume that it is named
377
 
% \verb+keywords.ist+, then the following command must be run and then
378
 
% another compilation of the current file:
379
 
%
380
 
%    \begin{macrocode}
381
 
%<index>
382
 
%<index>%% -----------------------------------------------------------
383
 
%<index>%% Assuming this file is named "keywords.ist" (after being
384
 
%<index>%% generated from "keywords.dtx" by running "latex docstrip"),
385
 
%<index>%% the following command will produce a well formated index:
386
 
%<index>%% 
387
 
%<index>%%                  makeindex -s keywords.ist keywords.idx
388
 
%<index>%% -----------------------------------------------------------
389
 
%<index>
390
 
%    \end{macrocode}
391
 
%
392
 
% Another possibility is to set the environment variable
393
 
% \verb+INDEXSTYLE+ to a directory name where the ``.ist'' files
394
 
% (index format files) may be found.
395
 
%
396
 
% A possible index file is given below\footnote{It can be generated by
397
 
% invoquing the compilation of ``docstrip'' with the ``index''
398
 
% option.}: 
399
 
%
400
 
%    \begin{macrocode}
401
 
%<index>actual '='
402
 
%<index>quote '!'
403
 
%<index>level '>'
404
 
%<index>preamble
405
 
%<index>"\n \\begin{theindex} \n \\makeatletter\\scan@allowedfalse\n"
406
 
%<index>postamble
407
 
%<index>"\n\n \\end{theindex}\n"
408
 
%<index>item_x1   "\\efill \n \\subitem "
409
 
%<index>item_x2   "\\efill \n \\subsubitem "
410
 
%<index>delim_0   "\\pfill "
411
 
%<index>delim_1   "\\pfill "
412
 
%<index>delim_2   "\\pfill "
413
 
%<index>% The next lines will produce some warnings when
414
 
%<index>% running Makeindex as they try to cover two different
415
 
%<index>% versions of the program:
416
 
%<index>lethead_prefix   "{\\bf\\hfil "
417
 
%<index>lethead_suffix   "\\hfil}\\nopagebreak\n"
418
 
%<index>lethead_flag       1
419
 
%<index>heading_prefix   "{\\bf\\hfil "
420
 
%<index>heading_suffix   "\\hfil}\\nopagebreak\n"
421
 
%<index>headings_flag       1
422
 
%    \end{macrocode}
423
 
%
424
 
% \subsection{The Driver File}
425
 
%
426
 
% There is also a driver file, called {\em{}programs.drv\/}, that is
427
 
% included in the distribution. 
428
 
% It is devoted to control the latex compilation of the documentation.
429
 
% Its code is given below.
430
 
%
431
 
%    \begin{macrocode}
432
 
%<*driver>
433
 
\newif\ifnoprogsfile
434
 
\openin1 programs.sty
435
 
\ifeof1 \noprogsfiletrue\else\noprogsfilefalse\fi\closein1
436
 
\ifnoprogsfile \relax\else
437
 
\openin1 keywords.sty
438
 
\ifeof1 \noprogsfiletrue\else\noprogsfilefalse\fi\closein1
439
 
\fi
440
 
\ifnoprogsfile
441
 
    \typeout{*************************************************************}
442
 
    \typeout{To get a more complete documentation, you should:}
443
 
    \typeout{(1) generate the file 'programs.sty'(see 'programs.dtx'), and}
444
 
    \typeout{(2) copy the current file into 'keywords.sty'}
445
 
    \typeout{*************************************************************}
446
 
\fi
447
 
\ifnoprogsfile
448
 
    \documentclass{ltxdoc}
449
 
\else
450
 
    \documentclass{ltxdoc}
451
 
    \usepackage{programs}
452
 
    \usepackage{keywords}
453
 
\fi
454
 
\MakePercentIgnore%
455
 
%
456
 
\setlength{\textwidth}{31pc}%
457
 
\setlength{\textheight}{54pc}%
458
 
\setlength{\parindent}{0pt}%
459
 
\setlength{\parskip}{2pt plus 1pt minus 1pt}%
460
 
\setlength{\oddsidemargin}{8pc}%
461
 
\setlength{\marginparwidth}{8pc}%
462
 
\setlength{\topmargin}{-2.5pc}%
463
 
\setlength{\headsep}{20pt}%
464
 
\setlength{\columnsep}{1.5pc}%
465
 
\setlength{\columnwidth}{18.75pc}%
466
 
%%
467
 
\setcounter{IndexColumns}{2}%
468
 
\EnableCrossrefs%
469
 
\RecordChanges
470
 
\CodelineIndex
471
 
%\OldMakeindex     % use if your MakeIndex is pre-v2.9%
472
 
\begin{document}%
473
 
    \DocInput{keywords.dtx}
474
 
\end{document}
475
 
%</driver>
476
 
%    \end{macrocode}
477
 
%
478
 
% \subsection{Extracting the documents included in the file keywords.dtx}
479
 
%
480
 
% There are three documents included in the {\em{}keywords.dtx\/} file:
481
 
% the style file ({\em{}keywords.sty}),
482
 
% the index style file for printing a cross-referenced document
483
 
% ({\em{}keywords.ist}),
484
 
% and the driver file for printing the document: {\em{}keywords.drv\/}.
485
 
%
486
 
% For file extraction it is necessary to use the \verb"docstrip"
487
 
% utility, which is part of the \verb"doc"
488
 
% distribution~\cite{art:doc}. 
489
 
% Normally, a file \verb"docstrip.tex" should exist on the \LaTeX\
490
 
% style files directory.
491
 
% Extraction is performed by typing:
492
 
%
493
 
% \begin{verbatim}
494
 
%    latex docstrip
495
 
% \end{verbatim}
496
 
%
497
 
% \vspace{-\baselineskip}
498
 
% This is an interactive program, and the dialogue for generating the
499
 
% style file should be:
500
 
%
501
 
% \begin{verbatim}
502
 
%    **********************************************************
503
 
%    * This program converts documented macro-files into fast *
504
 
%    * loadable files by stripping off (nearly) all comments! *
505
 
%    **********************************************************
506
 
%    
507
 
%    ****************************************************
508
 
%    * First type the extension of your input file(s):  *
509
 
%    \infileext=doc
510
 
%    ****************************************************
511
 
%    
512
 
%    ****************************************************
513
 
%    * Now type the extension of your output file(s)  : *
514
 
%    \outfileext=sty
515
 
%    ****************************************************
516
 
%    
517
 
%    ****************************************************
518
 
%    * Now type the name(s) of option(s) to include   : *
519
 
%    \Options=style
520
 
%    ****************************************************
521
 
%    
522
 
%    ****************************************************
523
 
%    * Finally give the list of input file(s) without   *
524
 
%    * extension seperated by commas if necessary     : *
525
 
%    \filelist=Programs
526
 
%    ****************************************************
527
 
% \end{verbatim}
528
 
%
529
 
% \vspace{-\baselineskip}
530
 
% For generating the index file it suffices to rerun the
531
 
% \verb"docstrip" utility and to answer ``ist/index'' instead of
532
 
% ``sty/style'' int the above steps~2 and~3.
533
 
%
534
 
% \medskip
535
 
%
536
 
% The three files may be produced in a single pass, by simply latexing
537
 
% the file {\em{}keywords.ins\/} which goes along with the file
538
 
% {\em{}keywords.dtx\/}. 
539
 
%
540
 
% \medskip
541
 
%
542
 
% Generation of the documentation is then simply performed as follows
543
 
% (the {\em{}keywords.dtx\/} file includes its own driver):
544
 
%
545
 
% \begin{verbatim}
546
 
%    latex keywords.dtx
547
 
%    latex keywords.dtx
548
 
%    latex keywords.dtx
549
 
%    makeindex  -s keywords.ist keywords.idx
550
 
%    latex keywords.dtx
551
 
% \end{verbatim}
552
 
%
553
 
% \StopEventually{
554
 
%  \begin{thebibliography}{1}
555
 
%    \bibitem{book:KnuthA} {\sc D.E. Knuth}.
556
 
%      \newblock Computers \& Typesetting (The \TeX book).
557
 
%      \newblock Addison-Wesley, Vol. A, 1986.
558
 
%    \bibitem{lamport86}{\sc L. Lamport}.
559
 
%      \newblock {\em {\LaTeX}: a Document Preparation System}.
560
 
%      \newblock Addison-Wesley Publishing Company, 1986.
561
 
%    \bibitem{art:doc} {\sc F. Mittelbach}.
562
 
%      \newblock The {\tt doc}-option.
563
 
%      \newblock {\sl TUGboat}, Vol.~10(2), {\it pp}.~245--273, July
564
 
%        1989.
565
 
%    \bibitem{alabau95-d} {\sc M. Alabau}.
566
 
%      \newblock The ``{\sf{}programs.sty}'' style file.
567
 
%      \newblock March 1995.
568
 
%         {\em{}e-mail:\/} {\tt{}Miguel.Alabau@labri.u-bordeaux.fr}
569
 
%  \end{thebibliography}
570
 
571
 
% } ^^A end \StopEventually
572
 
%
573
 
%    \begin{macrocode}
574
 
%<*style>
575
 
%    \end{macrocode}
576
 
%
577
 
 
578
 
% ^^A **********************************************
579
 
% ^^A **          TECHNICAL DESCRIPTION           **
580
 
% ^^A **********************************************
581
 
 
582
 
\typeout{Document style `keywords.sty' <1993,1994,1995>}
583
 
 
584
 
% \section{Description of Macros}
585
 
%
586
 
% \begin{macro}{\AlreadyDefined@@Keywords}
587
 
%    This macro can be tested by any style file to know if the file
588
 
%    ``{\sf{}keywords.sty}'' has been input. But it allows a modular
589
 
%    programming style similar to the one used with the C~header
590
 
%    files. 
591
 
%    Hence, the first time the ``{\sf{}keywords.sty}'' style file is
592
 
%    included all of its body will be included; the second time, the
593
 
%    body will not be included.
594
 
%    \begin{macrocode}
595
 
\expandafter\ifx\csname AlreadyDefined@@Keywords\endcsname\relax%
596
 
\expandafter\def\csname AlreadyDefined@@Keywords\endcsname{}%
597
 
\else\endinput\fi
598
 
%    \end{macrocode}
599
 
% \end{macro}%
600
 
%
601
 
%    A test for the existence of this macro is performed for
602
 
%    compatability with ancient versions of \LaTeX.
603
 
%    \begin{macrocode}
604
 
\@ifundefined{reset@font}{\global\let\reset@font\relax}{}
605
 
%    \end{macrocode}
606
 
 
607
 
% \subsection{Defining and Re-defining keywords}
608
 
%
609
 
% \begin{macro}{\NewKeyword}
610
 
% \begin{macro}{\@@newkwrd}
611
 
%     The \verb+\NewKeyword+ command has three parameters, but the
612
 
%     third one is optional. By default it is assumed to be equal to
613
 
%     the second one:
614
 
%    \begin{macrocode}
615
 
\def\NewKeyword#1#2{\@ifnextchar[{\@@newkwrd{#1}{#2}}{\@@newkwrd{#1}{#2}[#2]}}
616
 
%    \end{macrocode}
617
 
% \end{macro}
618
 
%
619
 
%    The \verb+\@@newkwrd+ performs the real work. It calls the
620
 
%    command \verb+\@@KeywordsCurrentStyle+ whose effect is to define
621
 
%    the command \verb+\@@kwrd+ and then invokes this last command.
622
 
%    \begin{macrocode}
623
 
\def\@@newkwrd#1#2[#3]{\def#1{\@@KeywordsCurrentStyle{\@@kwrd}{#2}{#3}\@@kwrd}}
624
 
%    \end{macrocode}
625
 
% \end{macro}
626
 
 
627
 
% \subsection{Defining printing styles}
628
 
%
629
 
% \begin{macro}{\@@TypeStyle}
630
 
%     This command is expected to be called with a command name as
631
 
%     first parameter. Its effect is to define \verb+#1+ as the
632
 
%     command that print \verb+#3+ with style \verb+#2+~:
633
 
%    \begin{macrocode}
634
 
\def\@@TypeStyle#1#2#3{\def#1{\mbox{\reset@font#2{}#3\/}}}
635
 
%    \end{macrocode}
636
 
% \end{macro}
637
 
%
638
 
% \begin{macro}{\DefineKeywordsStyles}
639
 
%     The macro \verb+\DefineKeywordsStyles+ has two parameters, let
640
 
%     them be \verb+toto+ and \verb+bf+. Its effect is to define
641
 
%     two commands called \verb+\@@toto+ and \verb+\F@@toto+. Each of
642
 
%     these two new commands has three parameters: the first one must
643
 
%     be the name of a command (the keyword to be defined) and the
644
 
%     other two must be two texts associated to the keyword. The
645
 
%     \verb+\@@toto+ command will select the first text while the
646
 
%     \verb+\F@@toto+ command will select the second text.
647
 
%    \begin{macrocode}
648
 
\newif\if@@underline \@@underlinefalse
649
 
\def\DefineKeywordsStyles#1#2{
650
 
    \if@@underline
651
 
        \@namedef{@@#1}##1##2##3{\@@TypeStyle{##1}{#2}{\underline{##2}}}
652
 
        \@namedef{F@@#1}##1##2##3{\@@TypeStyle{##1}{#2}{\underline{##3}}}
653
 
    \else
654
 
        \@namedef{@@#1}##1##2##3{\@@TypeStyle{##1}{#2}{##2}}
655
 
        \@namedef{F@@#1}##1##2##3{\@@TypeStyle{##1}{#2}{##3}}
656
 
    \fi
657
 
%    \end{macrocode}
658
 
%    A boolean switch is used to select underlined fonts. By default
659
 
%    non underlined fonts are used, and a reset to non boolean fonts
660
 
%    is performed after every definition of keyword:
661
 
%    \begin{macrocode}
662
 
    \@@underlinefalse
663
 
%    \end{macrocode}
664
 
%    At last two commands are provided to the user: \verb+\totos+ and
665
 
%    \verb+\Ftotos+ whose effect is to set the command
666
 
%    \verb+\@@KeywordsCurrentStyle+ respectively to \verb+\@@toto+ or
667
 
%    \verb+\F@@toto+~:
668
 
%    \begin{macrocode}
669
 
    \@namedef{#1s}{\def\@@KeywordsCurrentStyle{\@nameuse{@@#1}}}
670
 
    \@namedef{F#1s}{\def\@@KeywordsCurrentStyle{\@nameuse{F@@#1}}}
671
 
}
672
 
%    \end{macrocode}
673
 
%     By this way when a command 
674
 
%
675
 
%     \begin{verbatim}
676
 
%         \NewKeyword{\WORD}{SENTENCE1}[SENTENCE2]
677
 
%     \end{verbatim}
678
 
%
679
 
%     \vspace{-\baselineskip}
680
 
%     is issued, then \verb+\WORD+ is defined to
681
 
%
682
 
%     \begin{verbatim}
683
 
%         \@@KeywordsCurrentStyle{\@@kwrd}{SENTENCE1}{SENTENCE2}\@@kwrd}
684
 
%     \end{verbatim}
685
 
%
686
 
%     \vspace{-\baselineskip}
687
 
%     Hence, every time the command \verb+\WORD+ is issued by the
688
 
%     user in the text of its programs, \verb+\@@kwrd+ is redefined
689
 
%     and invoked under the running definition of
690
 
%     \verb+\@@KeywordsCurrentStyle+. 
691
 
%     This complicated trick ensures that every keyword, even if it is
692
 
%     not defined in the style file (e.g. if it is defined in the text
693
 
%     typed by the user) will be typed with the correct font selection.
694
 
% \end{macro}
695
 
 
696
 
% \begin{macro}{\DefineUnderlinedKeywordsStyles}
697
 
%     This macro serves to switch to underlined fonts:
698
 
%    \begin{macrocode}
699
 
\def\DefineUnderlinedKeywordsStyles#1#2{
700
 
    \@@underlinetrue
701
 
    \DefineKeywordsStyles{#1}{#2}
702
 
}
703
 
%    \end{macrocode}
704
 
% \end{macro}
705
 
 
706
 
% \subsection{Predefined printing styles}
707
 
%
708
 
% The commands in the margin are automatically generated (see above and
709
 
% section~\ref{user:selecting-printing-styles}) by issuing the
710
 
% following commands:
711
 
%
712
 
% \begin{macro}{\ProgKeywords}
713
 
% \begin{macro}{\FProgKeywords}
714
 
% \ 
715
 
%    \begin{macrocode}
716
 
\DefineKeywordsStyles{ProgKeyword}{\bf}
717
 
%    \end{macrocode}
718
 
% \end{macro}
719
 
% \end{macro}
720
 
721
 
% \begin{macro}{\ttKeywords}
722
 
% \begin{macro}{\FttKeywords}
723
 
% \ 
724
 
%    \begin{macrocode}
725
 
\DefineKeywordsStyles{ttKeyword}{\tt}
726
 
%    \end{macrocode}
727
 
% \end{macro}
728
 
% \end{macro}
729
 
730
 
% \begin{macro}{\AlgoKeywords}
731
 
% \begin{macro}{\FAlgoKeywords}
732
 
% \ 
733
 
%    \begin{macrocode}
734
 
\DefineKeywordsStyles{AlgoKeyword}{\em}
735
 
%    \end{macrocode}
736
 
% \end{macro}
737
 
% \end{macro}
738
 
739
 
% \begin{macro}{\UAlgoKeywords}
740
 
% \begin{macro}{\FUAlgoKeywords}
741
 
% \ 
742
 
%    \begin{macrocode}
743
 
\DefineUnderlinedKeywordsStyles{UAlgoKeyword}{\em}
744
 
%    \end{macrocode}
745
 
% \end{macro}
746
 
% \end{macro}
747
 
748
 
% \begin{macro}{\NormalKeywords}
749
 
% \begin{macro}{\FNormalKeywords}
750
 
% \ 
751
 
%    \begin{macrocode}
752
 
\DefineKeywordsStyles{NormalKeyword}{\relax}
753
 
%    \end{macrocode}
754
 
% \end{macro}
755
 
% \end{macro}
756
 
% \ 
757
 
% \begin{macro}{\UFAlgoKeywords}
758
 
%     This macro is defined for compatability with previous versions
759
 
%     of the style:
760
 
%    \begin{macrocode}
761
 
\let\UFAlgoKeywords\FUAlgoKeywords
762
 
%    \end{macrocode}
763
 
% \end{macro}
764
 
 
765
 
% \subsection{Predefined keywords}
766
 
% \label{default-keywords}
767
 
%
768
 
%     The macros below are sorted alphabetically:
769
 
%    \begin{macrocode}
770
 
%<style>%% DEFAULT KEYWORDS
771
 
\NewKeyword{\ABORT}{abort}[avorter]
772
 
\NewKeyword{\ABS}{abs}
773
 
\NewKeyword{\ABSTRACT}{abstract}[abstrait]
774
 
\NewKeyword{\ACCEPT}{accept}[accepter]
775
 
\NewKeyword{\ACCESS}{access}[acc\`es]
776
 
\NewKeyword{\ALIASED}{aliased}[alias\'e]
777
 
\NewKeyword{\ALL}{all}[tout]
778
 
\NewKeyword{\ALT}{alt}
779
 
\NewKeyword{\AND}{and}[et]
780
 
\NewKeyword{\APPEND}{append}[ajouter\_\-en\_\-fin]
781
 
\NewKeyword{\ARRAY}{array}[tableau]
782
 
\NewKeyword{\ASSERT}{assert}[assertion]
783
 
\NewKeyword{\ASSIGN}{:=}
784
 
\NewKeyword{\AT}{at}
785
 
\NewKeyword{\BEGIN}{begin}[d\'ebut]
786
 
\NewKeyword{\BLOCK}{block}[bloc]
787
 
\NewKeyword{\BOOLEAN}{boolean}[bool\'een]
788
 
\NewKeyword{\BODY}{body}
789
 
\NewKeyword{\BOT}{$\bot$}
790
 
\NewKeyword{\BOX}{$<>$}
791
 
\NewKeyword{\BY}{by}[pas]
792
 
\NewKeyword{\CASE}{case}[choix]
793
 
\NewKeyword{\CATINDEX}{catindex}
794
 
\NewKeyword{\CHAN}{chan}[canal]
795
 
\NewKeyword{\CHANNEL}{channel}[canal]
796
 
\NewKeyword{\CHAR}{char}[car]
797
 
\NewKeyword{\CHARACTER}{character}[caract\`ere]
798
 
\NewKeyword{\CLOSE}{close}[fermer]
799
 
\NewKeyword{\CO}{co}
800
 
\NewKeyword{\COBEGIN}{cobegin}
801
 
\NewKeyword{\COEND}{coend}
802
 
\NewKeyword{\COMMUTATIVE}{commutative}[commutatif]
803
 
\NewKeyword{\COMPLEX}{complex}[complexe]
804
 
\NewKeyword{\COMPUTE}{compute}[calculer]
805
 
\NewKeyword{\CONNECT}{$\longrightarrow$}
806
 
\NewKeyword{\CONNECTB}{$\Longrightarrow$}
807
 
\NewKeyword{\CONST}{const}
808
 
\NewKeyword{\CONSTANT}{constant}[constante]
809
 
\NewKeyword{\CONSTRAINTS}{constraints}[contraintes]
810
 
\NewKeyword{\CONTINUE}{continue}
811
 
\NewKeyword{\DATA}{data}[donn\'ee]
812
 
\NewKeyword{\DECLARE}{declare}
813
 
\NewKeyword{\DECOMPOSE}{decompose}
814
 
\NewKeyword{\DELAY}{delay}[d\'elai]
815
 
\NewKeyword{\DELTA}{delta}
816
 
\NewKeyword{\DEPTH}{depth}[profondeur]
817
 
\NewKeyword{\DIGITS}{digits}[chiffres]
818
 
\NewKeyword{\DIMENSION}{dimension}
819
 
\NewKeyword{\DIST}{dist}
820
 
\NewKeyword{\DISTRIBUTE}{distribute}[r\'epartir]
821
 
\NewKeyword{\DIV}{div}
822
 
\NewKeyword{\DO}{do}[faire]
823
 
\NewKeyword{\DOALL}{doall}[faire en parall\`ele]
824
 
\NewKeyword{\DOM}{dom}
825
 
\NewKeyword{\DOMAIN}{domain}[domaine]
826
 
\NewKeyword{\DOMAINS}{domains}[domaines]
827
 
\NewKeyword{\DONE}{done}[fait]
828
 
\NewKeyword{\DOPAR}{dopar}[faire en parall\`ele]
829
 
\NewKeyword{\DOWNTO}{downto}[jusqu'\`a]
830
 
\NewKeyword{\DYNAMIC}{dynamic}[dynamique]
831
 
\NewKeyword{\EACH}{each}[chaque]
832
 
\NewKeyword{\EGO}{MyId}[EGO]
833
 
\NewKeyword{\ELSE}{else}[sinon]
834
 
\NewKeyword{\ELSIF}{elsif}[sinon si]
835
 
\NewKeyword{\END}{end}[fin]
836
 
\NewKeyword{\ENDCASE}{end case}[fin choix]
837
 
\NewKeyword{\ENDIF}{end if}[finsi]
838
 
\NewKeyword{\ENDDO}{end do}[fait]
839
 
\NewKeyword{\ENDLOOP}{end loop}[fait]
840
 
\NewKeyword{\ENTRY}{entry}[entr\'ee]
841
 
\NewKeyword{\EOT}{eot}
842
 
\NewKeyword{\EQ}{$=$}
843
 
\NewKeyword{\EXCEPTION}{exception}
844
 
\NewKeyword{\EXIT}{exit}[sortir]
845
 
\NewKeyword{\EXTERNAL}{external}[externe]
846
 
\NewKeyword{\FI}{fi}[finsi]
847
 
\NewKeyword{\FILE}{file}[fichier]
848
 
\NewKeyword{\FIRST}{first}[premier]
849
 
\NewKeyword{\FOR}{for}[pour]
850
 
\NewKeyword{\FORALL}{forall}[pour tout]
851
 
\NewKeyword{\FOREACH}{foreach}[pour chaque]
852
 
\NewKeyword{\FORWARD}{forward}
853
 
\NewKeyword{\FUNCTION}{function}[fonction]
854
 
\NewKeyword{\GE}{$\geq$}
855
 
\NewKeyword{\GENERIC}{generic}[g\'en\'erique]
856
 
\NewKeyword{\GETNODE}{getnode}[prendre\_\-noeud]
857
 
\NewKeyword{\GOTO}{goto}[aller\_\-\`a]
858
 
\NewKeyword{\GRAPH}{graph}[graphe]
859
 
\NewKeyword{\GT}{$>$}
860
 
\NewKeyword{\IF}{if}[si]
861
 
\NewKeyword{\IMPLICATION}{$\Rightarrow$}
862
 
\NewKeyword{\IMPLY}{$\Rightarrow$}
863
 
\NewKeyword{\IMPORT}{import}[importer]
864
 
\NewKeyword{\IN}{in}[dans]
865
 
\NewKeyword{\IND}{ind}
866
 
\NewKeyword{\INDEX}{index}
867
 
\NewKeyword{\INIT}{init}
868
 
\NewKeyword{\INOUT}{inout}
869
 
\NewKeyword{\INPORT}{inport}
870
 
\NewKeyword{\INPUT}{input}
871
 
\NewKeyword{\INTEGER}{integer}[entier]
872
 
\NewKeyword{\INTO}{into}
873
 
\NewKeyword{\IS}{is}[est]
874
 
\NewKeyword{\LABEL}{label}[\'etiquette]
875
 
\NewKeyword{\LAST}{last}[dernier]
876
 
\NewKeyword{\LE}{$\leq$}
877
 
\NewKeyword{\LENGTH}{length}[longueur]
878
 
\NewKeyword{\LIMITED}{limited}[limit\'e]
879
 
\NewKeyword{\LOOP}{loop}[faire]
880
 
\NewKeyword{\LT}{$<$}
881
 
\NewKeyword{\MAP}{map}[placer]
882
 
\NewKeyword{\MOD}{mod}
883
 
\NewKeyword{\MODULE}{module}
884
 
\NewKeyword{\MODULO}{modulo}
885
 
\NewKeyword{\MULTIPLE}{multiple}
886
 
\NewKeyword{\MYID}{MyId}[EGO]
887
 
\NewKeyword{\NE}{$\neq$}
888
 
\NewKeyword{\NEIGHBOUR}{neighbour}[voisin]
889
 
\NewKeyword{\NEIGHBOURS}{neighbours}[voisins]
890
 
\NewKeyword{\NEW}{new}[nouveau]
891
 
\NewKeyword{\NEWBLOCK}{newblock}
892
 
\NewKeyword{\NIL}{nil}
893
 
\NewKeyword{\NODE}{node}[noeud]
894
 
\NewKeyword{\NOT}{not}[non]
895
 
\NewKeyword{\NUL}{nul}
896
 
\NewKeyword{\NULL}{null}[nul]
897
 
\NewKeyword{\OD}{od}[fait]
898
 
\NewKeyword{\ODPAR}{odpar}[fait]
899
 
\NewKeyword{\OF}{of}
900
 
\NewKeyword{\ON}{on}
901
 
\NewKeyword{\OPEN}{open}[ouvrir]
902
 
\NewKeyword{\OR}{or}[ou]
903
 
\NewKeyword{\OTHERS}{others}
904
 
\NewKeyword{\OUT}{out}
905
 
\NewKeyword{\OUTPORT}{outport}
906
 
\NewKeyword{\OUTPOUT}{outpout}
907
 
\NewKeyword{\PACKAGE}{package}[paquetage]
908
 
\NewKeyword{\PARALLEL}{parallel}
909
 
\NewKeyword{\PARFOR}{parfor}[en parall\`ele: pour]
910
 
\NewKeyword{\PAR}{par}[en parall\`ele]
911
 
\NewKeyword{\PERCENT}{\%}
912
 
\NewKeyword{\PLACE}{place}[placer]
913
 
\NewKeyword{\PORT}{port}
914
 
\NewKeyword{\PRAGMA}{pragma}
915
 
\NewKeyword{\PRI}{pri}
916
 
\NewKeyword{\PRIVATE}{private}[priv\'e]
917
 
\NewKeyword{\PROCEDURE}{procedure}[proc\'edure]
918
 
\NewKeyword{\PROCESS}{process}[processus]
919
 
\NewKeyword{\PROGRAM}{program}[programme]
920
 
\NewKeyword{\PROTECTED}{protected}[prot\'eg\'e]
921
 
\NewKeyword{\RAISE}{raise}[lever]
922
 
\NewKeyword{\RANGE}{range}[intervalle]
923
 
\NewKeyword{\READ}{read}[lire]
924
 
\NewKeyword{\READY}{ready}[pr\^et]
925
 
\NewKeyword{\REAL}{real}[r\'eel]
926
 
\NewKeyword{\RECORD}{record}[enregistrement]
927
 
\NewKeyword{\RECV}{recv}[recevoir]
928
 
\NewKeyword{\RECEIVE}{receive}[recevoir]
929
 
\NewKeyword{\REM}{rem}
930
 
\NewKeyword{\RENAMES}{renames}[renomme]
931
 
\NewKeyword{\REPEAT}{repeat}[r\'ep\'eter]
932
 
\NewKeyword{\REQUEUE}{requeue}
933
 
\NewKeyword{\RESET}{reset}
934
 
\NewKeyword{\RETURN}{return}[retour]
935
 
\NewKeyword{\REVERSE}{reverse}
936
 
\NewKeyword{\REWIND}{rewind}
937
 
\NewKeyword{\REWRITE}{rewrite}
938
 
\NewKeyword{\ROOT}{root}[racine]
939
 
\NewKeyword{\SELECT}{select}
940
 
\NewKeyword{\SEND}{send}[\'emettre]
941
 
\NewKeyword{\SENDEOT}{sendeot}[\'emettre eot]
942
 
\NewKeyword{\SEPARATE}{separate}[s\'epar\'ement]
943
 
\NewKeyword{\SEQ}{seq}
944
 
\NewKeyword{\SET}{set}
945
 
\NewKeyword{\SIZE}{size}[taille]
946
 
\NewKeyword{\SKIP}{skip}[sauter]
947
 
\NewKeyword{\STRING}{string}[cha\^{\i}ne de caract\`eres]
948
 
\NewKeyword{\SUBTYPE}{subtype}[sous\_\-type]
949
 
\NewKeyword{\SWITCH}{switch}
950
 
\NewKeyword{\TAGGED}{tagged}[\'etiquett\'e]
951
 
\NewKeyword{\TASK}{task}[t\^ache]
952
 
\NewKeyword{\TERMINATE}{terminate}[terminer]
953
 
\NewKeyword{\THEN}{then}[alors]
954
 
\NewKeyword{\TO}{to}[jusqu'\`a]
955
 
\NewKeyword{\TOWARDS}{towards}[vers]
956
 
\NewKeyword{\TRANSMIT}{transmit}[\'emettre]
957
 
\NewKeyword{\TUPLE}{tuple}[n\_\-uplet]
958
 
\NewKeyword{\TYPE}{type}
959
 
\NewKeyword{\UNDEF}{undef}[ind\'efini]
960
 
\NewKeyword{\UNTIL}{until}[jusqu'\`a]
961
 
\NewKeyword{\USE}{use}
962
 
\NewKeyword{\VAR}{var}
963
 
\NewKeyword{\VARIABLE}{variable}
964
 
\NewKeyword{\WHEN}{when}[si]
965
 
\NewKeyword{\WHERE}{where}[si]
966
 
\NewKeyword{\WHILE}{while}[tant que]
967
 
\NewKeyword{\WITH}{with}[avec]
968
 
\NewKeyword{\WRITE}{write}[\'ecrire]
969
 
\NewKeyword{\XOR}{xor}
970
 
%<style>%% 
971
 
%<style>%% French syntax
972
 
%<style>%% 
973
 
\NewKeyword{\EMETTRE}{send}[\'emettre]
974
 
\NewKeyword{\RECEVOIR}{receive}[recevoir]
975
 
\NewKeyword{\POUR}{for}[pour]
976
 
\NewKeyword{\FAIRE}{do}[faire]
977
 
\NewKeyword{\FAIT}{end do}[fait]
978
 
\NewKeyword{\SI}{if}[si]
979
 
\NewKeyword{\ALORS}{then}[alors]
980
 
\NewKeyword{\SINON}{else}[sinon]
981
 
\NewKeyword{\FINSI}{end if}[fin si]
982
 
\NewKeyword{\DEBUT}{begin}[d\'ebut]
983
 
\NewKeyword{\FIN}{end}[fin]
984
 
%    \end{macrocode}
985
 
%    Then we terminate by instructing \LaTeX\ to switch to the default
986
 
%    font for typing keywords (which, in the current implementation is
987
 
%    underlined \verb+\em+).
988
 
%    \begin{macrocode}
989
 
\FUAlgoKeywords
990
 
%    \end{macrocode}
991
 
 
992
 
%    \begin{macrocode}
993
 
%</style>
994
 
%    \end{macrocode}
995
 
 
996
 
% ^^A The four commented lines below may be used to output an index on
997
 
% ^^A a page layout greater than the one used till now.
998
 
% ^^A -----
999
 
% ^^A \newpage
1000
 
% ^^A \setlength{\oddsidemargin}{0pt}
1001
 
% ^^A \setlength\textwidth{15cm}
1002
 
% ^^A \normalsize
1003
 
% ^^A -----
1004
 
%
1005
 
% \IndexPrologue{%
1006
 
%       \section*{Index}%
1007
 
%       \markboth{Index}{Index}%
1008
 
%       {\it{}The italic numbers denote the pages where the
1009
 
%       corresponding entry is described,
1010
 
%       numbers underlined point to the definition,
1011
 
%       all others indicate the places where it is used
1012
 
%       (ie. the line numbers where it appears).
1013
 
%       }}
1014
 
% \Finale
1015
 
% \newpage
1016
 
% \PrintIndex \PrintChanges