makedoc 33.2 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
4
5
6
7
8
#! /usr/bin/env perl
#
# makedoc
#
$prog       = "CDO";
$longname   = "Climate Data Operators";
$moddir     = "mod";
$modules    = "Modules";
9
$help       = "../../src/operator_help.h";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
10
$catalog    = "catalog.tex";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
11
12
$abclist    = "alphabetic_list.tex";
@oplist     = ();
Uwe Schulzweida's avatar
Uwe Schulzweida committed
13
14
15
16
17
$refover    = "cdo_ref_over.tex";
#$reference  = "xxx.tex";
$refcard    = "cdo_refcard.tex";
$class      = "cdo_class";
#
18
open(README,   ">../../OPERATORS");
Uwe Schulzweida's avatar
Uwe Schulzweida committed
19
open(CDOHTML,  ">cdo_oper.html");
Uwe Schulzweida's avatar
Uwe Schulzweida committed
20
21
open(HELPFILE, ">$help");
open(TCFILE,   ">$catalog");
Uwe Schulzweida's avatar
Uwe Schulzweida committed
22
open(ABCLIST,  ">$abclist");
Uwe Schulzweida's avatar
Uwe Schulzweida committed
23
24
25
26
27
open(TROVER,   ">$refover");
#open(TRFILE,   ">$reference");
open(TRCARD,   ">$refcard");
open(CLASS,    ">$class");
#
28
29
30
31
32
33
34
35
36
37
################################################################################
# Preprocess EcaIndices file for grabbing the variable names, which are creates
# by theses operators
my $ecaIndicesFile = "../../src/EcaIndices.c";
my $search_pattern = '(\w*)_NAME\d*\[\] .* = "(\w+)"';
my %ecaVars;

open(ECANAMES,$ecaIndicesFile);
while (<ECANAMES>) {
  if (my ($found) = m/($search_pattern)/o) {
Ralf Mueller's avatar
Ralf Mueller committed
38
39
    my $eca        = "eca_".lc($2);
    my $var        = $3;
40
    $ecaVars{$eca} = [] unless exists $ecaVars{$eca};
Ralf Mueller's avatar
Ralf Mueller committed
41
    push @{$ecaVars{$eca}}, $var;
42
43
44
45
46
47
48
49
50
51
  }
}
#foreach $eca (sort keys %ecaVars) {
#  print "$eca: ";
#  my @vars = @{$ecaVars{$eca}};
#  print join ', ', @vars;
#  print ".\n";
#}
################################################################################
#
Uwe Schulzweida's avatar
Uwe Schulzweida committed
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
$threecols = 0;
#
if ( $threecols == 1 ) {
  $len1 = "3.65in";
  $len2 = "0.75in";
  $len3 = "2.56in";
} else {
  $len1 = "3.95in";
  $len2 = "0.85in";
  $len3 = "2.76in";
}
#
$noper = 0;
#
#
open(MOFILE, $modules) || die "Open failed on module file $modules: $!\n";
#
#
print README "===========================\n";
print README "$prog  $longname\n";
print README "===========================\n";
print README "\n";
print README "Operator catalog:\n\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
75
print CDOHTML "<H2 align=\"center\">CDO  -  Climate Data Operators</H2>\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
76
77
78
print TCFILE "\\chapter*{\\label{opercat}Operator catalog}\n";
print TCFILE "\\addcontentsline{toc}{chapter}{Operator catalog}\n";
print TCFILE "\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
79
80
81
82
83
print ABCLIST "\\chapter*{\\label{operlist}Alphabetic List of Operators}\n";
print ABCLIST "\\addcontentsline{toc}{chapter}{Operator list}\n";
print ABCLIST "\n";
print ABCLIST "\\noindent\n";
print ABCLIST "\\begin{longtable}{ll}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
84
85
86
87
88
89
90
91
92
93
#
if ( $threecols == 1 ) {
  print TRCARD "\\documentclass[landscape,a4paper]{article}\n";
  print TRCARD "\\usepackage{threecolumn}\n";
} else {
  print TRCARD "\\documentclass[a4paper,twocolumn,11pt]{article}\n";
}
print TRCARD "\n";
print TRCARD "\\usepackage{graphics}\n";
print TRCARD "\\usepackage{array,colortbl}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
94
print TRCARD "\\usepackage{color}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
print TRCARD "\n";
print TRCARD "% A4 29.7x21.0cm  11.7x8.26\n";
print TRCARD "\\setlength{\\hoffset}{-0.8in}\n";
print TRCARD "\\setlength{\\voffset}{-0.7in}\n";
print TRCARD "\n";
print TRCARD "\\setlength{\\headheight}{0in}\n";
print TRCARD "\\setlength{\\headsep}{0in}\n";
print TRCARD "\\setlength{\\topmargin}{0in}\n";
print TRCARD "\n";
if ( $threecols == 1 ) {
  print TRCARD "\\setlength{\\textwidth}{11.3in}\n";
  print TRCARD "\\setlength{\\textheight}{7.8in}\n";
} else {
  print TRCARD "\\setlength{\\textwidth}{7.85in}\n";
  print TRCARD "\\setlength{\\textheight}{11.2in}\n";
}
print TRCARD "\\setlength{\\oddsidemargin}{0in}     % default=0in\n";
print TRCARD "\\setlength{\\evensidemargin}{0in}    % default=0in\n";
print TRCARD "\n";
print TRCARD "\\setlength{\\columnsep}{0.2in}       % default=10pt\n";
print TRCARD "%\\setlength{\\columnseprule}{1pt}     % default=0pt (no line)\n";
print TRCARD "\n";
print TRCARD "%\\setlength{\\topmargin}{-0.15in}    % default=0.20in\n";
print TRCARD "%\\setlength{\\headsep}{0.15in}       % default=0.35in\n";
print TRCARD "\n";
print TRCARD "\\setlength{\\parskip}{-0.02in}\n";
print TRCARD "\\setlength{\\parindent}{0in}\n";
print TRCARD "\n";
print TRCARD "\\newenvironment{defalist}[1]\n";
print TRCARD "{\\begin{list}{}\n";
print TRCARD "{\\settowidth{\\labelwidth}{\\bf #1\\ \\ }\n";
print TRCARD "\\setlength{\\topsep}{-0.5mm}\n";
print TRCARD "\\setlength{\\parsep}{0mm}\n";
print TRCARD "\\setlength{\\itemsep}{0mm}\n";
print TRCARD "\\setlength{\\itemindent}{0mm}\n";
print TRCARD "\\setlength{\\leftmargin}{\\labelwidth}\n";
print TRCARD "\\setlength{\\labelsep}{0mm}\n";
print TRCARD "\\addtolength{\\leftmargin}{\\labelsep}\n";
print TRCARD "}}\n";
print TRCARD "{\\end{list}}\n";
print TRCARD "\n";
print TRCARD "\\begin{document}\n";
print TRCARD "\\footnotesize\n";
if ( $threecols == 1 ) {
  print TRCARD "\\threecolumn\n";
  print TRCARD "\n";
  print TRCARD "\\input{cdoprog}\n";
} else {
  print TRCARD "\\twocolumn\n";
  print TRCARD "\n";
  print TRCARD "\\input{cdoprog}\n";
}
print TRCARD "\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
148
print TRCARD "\\vspace*{2mm}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
149
150
151
print TRCARD "\\subsection*{Operators}\n";
print TRCARD "\n";
#
Uwe Schulzweida's avatar
Uwe Schulzweida committed
152
153
print HELPFILE "/* Automatically created with makedoc, don't edit! */\n";
#
Uwe Schulzweida's avatar
Uwe Schulzweida committed
154
155
156
157
158
159
160
161
162
163
164
$help_print = 1;
$oldchap = "oldchap";
$nline = 0;
while (<MOFILE>) {
    chomp;
    ($modulefile) = split(" ");
    print "process module: $modulefile\n";
    $modulefilename = "${moddir}/${modulefile}";
    open(MODFILE, "$modulefilename") || die "Open failed on module file $modulefilename: $!\n";
    $module    = "";
    $margs     = "";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
165
166
167
168
169
    $operators = "";
    $trskip = 0;
    $statpos = index($modulefile, "stat", 3);
    if ( $statpos != -1 ) { $statpos += 4; }
    if ( length($modulefile) == $statpos ) { $trskip = 1; }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
    undef @doclines;
    $lblock = 0;
    while (<MODFILE>) {
      chomp;
      if ( index($_ , "\@C ") != 0 ) {
	push(@doclines, $_);
      }
    }
    close(MODFILE);

    undef @modlines;
    $lblock = 0;
    foreach $tag (@doclines) {
      ($kword) = split(" ", $tag);
      $kword = uc($kword);
      if ( $lblock == 0 ) {
	if ( "$kword" eq "\@BEGINMODULE" ) {
	  $lblock = 1;
	  next;
	}
      }
      if ( $lblock == 1 ) {
	if ( "$kword" eq "\@ENDMODULE" ) { last; }
	push(@modlines, $tag);
      }
    }

    if ( $lblock == 0 ) {
      print "$modulefile: Module description not found!\n";
      next;
    }

    $mname      = "";
    $mtitle     = "";
    $msection   = "";
    $marguments = "";
    $moperators = "";
    $newpage = 0;
    $oclass     = "Other";
    foreach $tag (@modlines) {
      $line = $tag;
      $line =~ s/^\s+|\s+$//og;
      ($kword, $value) = split(/\s*=\s*/, $line, 2);
      $kword = uc($kword);
      if ( "$kword" eq "\@NAME" ) {
	$mname = $value;
      }
      elsif ( "$kword" eq "\@TITLE" ) {
	$mtitle = $value;
      }
      elsif ( "$kword" eq "\@SECTION" ) {
	$msection = $value;
      }
      elsif ( "$kword" eq "\@ARGUMENTS" ) {
	$marguments = $value;
      }
      elsif ( "$kword" eq "\@OPERATORS" ) {
	$moperators = $value;
      }
      elsif ( "$kword" eq "\@CLASS" ) {
	$oclass = $value;
      }
      elsif ( "$kword" eq "\@NEWPAGE" ) {
	$newpage = 1;
      }
    }

    $chap = $msection;

    $nline = $nline + 1;
    if ( "$chap" ne "$oldchap" ) {
      $oldchap = $chap;
      if ( $nline > 1 ) {
# 	print TCFILE "\\end{tabular*}\n";
# 	print TCFILE "\n";
      }

      print README "-------------------------------------------------------------\n";
      print README "   $chap\n";
      print README "-------------------------------------------------------------\n";
      print TCFILE "\\subsection*{$chap}\n";

      $shortname = lc(substr($chap, 0, 6));
      $shortname =~ s/ /_/og;
      $reference  = "ref_man_${shortname}.tex";
      open(TRFILE, ">$reference");

      $reflist   = "ref_list_${shortname}.tex";
      open(TRLIST, ">$reflist");

Uwe Schulzweida's avatar
Uwe Schulzweida committed
260
261
      print CDOHTML "<A NAME=\"${shortname}\"></A><H3>$chap</H3>\n";

Uwe Schulzweida's avatar
Uwe Schulzweida committed
262
263
264
265
266
267
268
269
270
      print TRLIST "\n";
      print TRLIST "Here is a short overview of all operators in this section:\\\\\n";
      print TRLIST "\n";

      print TROVER "\\newpage\n";
      print TROVER "\\section{$chap}\n";
      print TROVER "\\input{ref_intro_${shortname}}\n";
      print TROVER "\\input{ref_list_${shortname}}\n";
      print TROVER "\\input{ref_man_${shortname}}\n\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
271
272
273
274
275
#      if ( $chap eq "ECA indices" ) {
#	print "find eca!";
#	$refskip = 1;
#      }
#      else {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
276
277
	print TRCARD "\\subsubsection*{$chap}\n";
	$refskip = 0;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
278
279
280
      if ( $chap eq "Statistical values" ) {
	print TRCARD "\\noindent\n";
	print TRCARD "\\hspace*{0.5in}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
281
282
	print TRCARD "\\begin{tabular*}{2.8in}{|>{\\columncolor{pcolor1}}l>{\\columncolor{pcolor2}}l|} \\hline\n";
	print TRCARD "\\rowcolor{pcolor3}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
283
	print TRCARD "\\makebox[1.8in][c]{Available statistical functions} &\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
284
285
	print TRCARD "\\makebox[0.65in][c]{\$<\\!stat\\!>\$} \\\\ \n";
#	print TRCARD "\\makebox[0.65in][c]{\$<\\!stat\\!>\$} \\\\ \\hline\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
286
287
288
289
290
	print TRCARD "minimum  & {\\bf min}   \\\\ \n";
	print TRCARD "maximum  & {\\bf max}   \\\\ \n";
	print TRCARD "sum      & {\\bf sum}  \\\\ \n";
	print TRCARD "mean     & {\\bf mean}  \\\\ \n";
	print TRCARD "average            & {\\bf avg}  \\\\ \n";
291
292
	print TRCARD "variance           & {\\bf var, var1}  \\\\ \n";
	print TRCARD "standard deviation & {\\bf std, std1}  \\\\ \n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
293
294
295
296
	print TRCARD "\\hline\n";
	print TRCARD "\\end{tabular*}\n";
	print TRCARD "\\vspace{2mm}\n\n";
      }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
297
#      }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
#      print TCFILE "\\begin{tabular*}{13cm}{ll}\n";
#      print TCFILE "\\hspace*{30mm} &  \\\\ \n";

#      print TRFILE "\n\n\\section{$chap}\n";
    }

    print HELPFILE "\n";
    print HELPFILE "static char *${mname}Help[] = {\n";

    @hkeys = split(" ", $moperators);
#    print "$#hkeys @hkeys \n";

    print TRFILE "\n";
    if ( $newpage == 1 ) {
       print TRFILE "\n\\newpage\n";
    }
    $modname = uc($mname);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
315
316
317
    $mtitlem = $mtitle;
    $mtitlem =~ s/</\$<\$/og;
    $mtitlem =~ s/>/\$>\$/og;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
318
    $mtitlem =~ s/ wrt / w.r.t. /og;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
319
    print TRFILE "\\subsection{$modname - $mtitlem}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
320
321
322
323
#    print TRFILE "\\index{$modname}\n";
    foreach $tag (@hkeys) {
      $ntag = $tag;
      $ntag =~ s/^-//;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
324
      $ntag =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
      print TRFILE "\\index{$ntag}\n";
    }
    print TRFILE "\\label{$modname}\n";
    foreach $tag (@hkeys) {
      $ntag = $tag;
      $ntag =~ s/^-//;
      print TRFILE "\\label{$ntag}\n";
    }

#   Decription (module)

    undef @moddeslines;
    $lblock = 0;
    foreach $tag (@modlines) {
      ($kword) = split(" ", $tag);
      $kword = uc($kword);
      if ( $lblock == 0 ) {
	if ( "$kword" eq "\@BEGINDESCRIPTION" ) {
	  $lblock = 1;
	  next;
	}
      }
      if ( $lblock == 1 ) {
	if ( "$kword" eq "\@ENDDESCRIPTION" ) { last; }
	push(@moddeslines, $tag);
      }
    }


#  Operators

    print TCFILE "\\noindent\n";
    print TCFILE "\\begin{tabular*}{13cm}{ll}\n";

    print TRLIST "\\noindent\n";
    print TRLIST "\\begin{tabular*}{13cm}{ll}\n";

Uwe Schulzweida's avatar
Uwe Schulzweida committed
362
363
    print CDOHTML "<table WIDTH=\"60%\" border=\"0\">\n";

Uwe Schulzweida's avatar
Uwe Schulzweida committed
364
365
    if ( $refskip == 0 ) {
      print TRCARD "\\noindent\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
366
      print TRCARD "\\begin{tabular*}{$len1}{|>{\\columncolor{pcolor2}}l>{\\columncolor{pcolor1}}l|} \\hline\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
367
    }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
368
369
370
371
372
373
374
375
376
377
378

    print HELPFILE "    \"NAME\",\n";
    print HELPFILE "    \"    ";
    $maxlen = 0;
    $maxitem = "";
    foreach $operator (@hkeys) {
      $len = length($operator);
      if ( index("$operator", "-") == 0 ) { $len -= 1; }
      if ( $len > $maxlen ) {
	$maxlen = $len;
        $maxitem = $operator;
379
	$maxitem =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
      }
    }
    $maxlen += 2;

    $icount = 0;
    $slen = 0;
    foreach $operator (@hkeys) {
      if ( $icount > 0 ) {
	print HELPFILE ", ";
        $slen += 2;
      }
      $norefoper = 0;
#      $operator =~ s/^-//;
      if ( index("$operator", "-") == 0 ) {
	$operator =~ s/^-//;
        $norefoper = 1;
      }
      $len = length($operator);
      if ( $len + $slen > 76 ) {
	$slen = 0;
	print HELPFILE "\",\n";
	print HELPFILE "    \"    ";
      }
      $slen += $len;
      print HELPFILE "${operator}";
      if ( $norefoper == 1 ) {
	$operator =~ s/^/-/;
      }
      $icount++;
    }
    print HELPFILE " - ";
    $len = length(${mtitle});
    if ( $len + $slen > 76 ) {
      $slen = 0;
      print HELPFILE "\",\n";
      print HELPFILE "    \"    ";
    }
    print HELPFILE "${mtitle}\",\n";

    undef @oper_title;
    undef @oper_parameter;
    $opercnt = 0;
    foreach $operator (@hkeys) {
      $opercnt += 1;
      $norefoper = 0;
      if ( index("$operator", "-") == 0 ) {
	$operator =~ s/^-//;
        $norefoper = 1;
      }

      undef @oplines;
      $lblock = 0;
      $opname = "";
      foreach $tag (@doclines) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
434
	($kword, $value) = split("_", $tag,2);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
	$kword = uc($kword);
	if ( $lblock == 0 ) {
	  if ( "$kword" eq "\@BEGINOPERATOR" ) {
	    $lblock = 1;
	    $opname = $value;
	    next;
	  }
	}
	if ( $lblock == 1 ) {
	  if ( "$kword" eq "\@ENDOPERATOR" ) {
	    $lblock = 0;
	    if ( "$operator" eq "$opname" ) { last; }
	    else                            { next; }
	  }
	  if ( "$operator" eq "$opname" ) {
	    push(@oplines, $tag);
	  }
	}
      }

      $otitle     = "";
      $oparameter = "";
      foreach $tag (@oplines) {
	$line = $tag;
	$line =~ s/^\s+|\s+$//og;
	($kword, $value) = split(/\s*=\s*/, $line, 2);
	$kword = uc($kword);
	if ( "$kword" eq "\@TITLE" ) {
	  $otitle = $value;
	}
	elsif ( "$kword" eq "\@PARAMETER" ) {
	  (@param) = split(/\s+/, $value);
	  $nopt = 0;
	  for ( $i = 0; $i <= $#param; $i++ ) {
	    $tag = @param[$i];
	    $len = length($tag);
	    $x1 = 0;
	    if ( index($tag, "[") == 0 ) {
	      $nopt++;
	      $x1 = 1;
              $len = $len - 2;
	      $oparameter = "$oparameter\[";
	    }
	    $otag = substr $tag, $x1, $len;
	    $oparameter = "$oparameter,$otag";
	  }
	  for ( $i = 0; $i < $nopt; $i++ ) {
	    $oparameter = "$oparameter\]";
	  }
	}
      }
      @oper_title[$opercnt-1] = $otitle;
      @oper_parameter[$opercnt-1] = $oparameter;

      if ( $norefoper == 1 ) {
	$operator =~ s/^/-/;
      }
    }
#    print "@hkeys\n";
#    print "@oper_title\n";

496
    $istart = 0;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
497
    if ( $#hkeys > 0 ) {
498
      $istart = $#hkeys + 1;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
499
500
501
502
      for ( $i = 1; $i <= $#hkeys; $i++ ) {
#	printf ("%d: %s\n",$i, @hkeys[$i]);
	if ( "@oper_parameter[$i]" ne "@oper_parameter[0]" )
	  {
503
	    $istart = $i;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
504
505
506
507
	    last;
	  }
      }

508
509
      if ( $istart == 1 ) { $istart = 0; }
    }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
510
511
512
513

    print HELPFILE "    \"\",\n";
    print HELPFILE "    \"SYNOPSIS\",\n";
    print TRFILE "\n\\subsection*{Synopsis}\n\n";
514
515

    if ( $istart > 0 )  {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
516
      $parameter = @oper_parameter[0];
517
518
519
520
521
522
523
524
525
526
527
      print HELPFILE "    \"    <operator>${parameter}  ${marguments}\",\n";
      print TRFILE "\\hspace*{8mm}{\$<\\!operator\\!>\$}{\\sl $parameter} \\ {\\tt $marguments}\n\n";
    }

   for ( $i = $istart; $i <= $#hkeys; $i++ ) {
      $operator = @hkeys[$i];
      $parameter = @oper_parameter[$i];
      printf HELPFILE ("    \"    %s%s  %s\",\n", $operator, $parameter, $marguments);
      $operatorx = $operator;
      $operatorx =~ s/_/\\_/g;
      print TRFILE "\\hspace*{8mm}{\\bf $operatorx}{\\sl $parameter} \\ {\\tt $marguments}\n\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
528
529
530
531
532
533
534
535
536
537
538
539
    }

    print HELPFILE "    \"\",\n";
    print HELPFILE "    \"DESCRIPTION\",\n";

    print TRFILE "\n\\subsection*{Description}\n\n";
    if ( $#moddeslines >= 0 ) {
      print TRFILE "\\setlength{\\miniwidth}{\\textwidth}\n";
      print TRFILE "\\addtolength{\\miniwidth}{-8mm}\n";
      print TRFILE "\\hspace*{8mm}\\begin{minipage}{\\miniwidth}\n";
    }

540
541
    # Add list of variables created by this operator. This can only be done for
    # eca_* operators
542
    if (exists $ecaVars{$hkeys[0]}) {
543
544
545
546
547
548
      push(@moddeslines, "The following variables are created: ");
      push(@moddeslines, '@BEGINITEMIZE');
      foreach $var (@{$ecaVars{$hkeys[0]}}) {
        push(@moddeslines, '@ITEM = '.$var);
      }
      push(@moddeslines, '@ENDITEMIZE');
549
    }
550

551
552
553
    $help_spaces = 0;
    print_description(@moddeslines);

Uwe Schulzweida's avatar
Uwe Schulzweida committed
554
555
556
557
558
559
560
561
562
563
    if ( $#moddeslines >= 0 ) {
      print TRFILE "\\end{minipage}\n";
      print TRFILE "\\addtolength{\\miniwidth}{8mm}\n";
    }

    if ( $#hkeys > 0 ) {
      print HELPFILE "    \"\",\n";
      print HELPFILE "    \"OPERATORS\",\n";
      print TRFILE "\n\\subsection*{Operators}\n\n";
    }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
564
565
566
567
568
    else {
      print TRFILE "\\setlength{\\miniwidth}{\\textwidth}\n";
      print TRFILE "\\addtolength{\\miniwidth}{-8mm}\n";
      print TRFILE "\\hspace*{8mm}\\begin{minipage}{\\miniwidth}\n";
    }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589

    $opercnt = 0;
    $xopercnt = 0;
    $operpara = "";
    foreach $operator (@hkeys) {
      $norefoper = 0;
      if ( index("$operator", "-") == 0 ) {
	$operator =~ s/^-//;
        $norefoper = 1;
      }
      $opercnt += 1;
      $xopercnt += 1;
      print "      operator: $operator\n";
      $noper += 1;

      print CLASS "$operator\t$oclass\n";

      undef @oplines;
      $lblock = 0;
      $opname = "";
      foreach $tag (@doclines) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
590
	($kword, $value) = split("_", $tag, 2);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
	$kword = uc($kword);
	if ( $lblock == 0 ) {
	  if ( "$kword" eq "\@BEGINOPERATOR" ) {
	    $lblock = 1;
	    $opname = $value;
	    next;
	  }
	}
	if ( $lblock == 1 ) {
	  if ( "$kword" eq "\@ENDOPERATOR" ) {
	    $lblock = 0;
	    if ( "$operator" eq "$opname" ) { last; }
	    else                            { next; }
	  }
	  if ( "$operator" eq "$opname" ) {
	    push(@oplines, $tag);
	  }
	}
      }

      if ( "$operator" ne "$opname" ) {
	print "$modulefile($operator): Operator description not found!\n";
	next;
      }

      $otitle = @oper_title[$opercnt-1];
      $oparameter = @oper_parameter[$opercnt-1];

619
620
      $opernamex = $opername;
      $opernamex =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
621
622
      $operatorx = $operator;
      $operatorx =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
623
      if ( $#hkeys > 0 ) {
624
	printf HELPFILE ("    \"    %-*s%s\",\n", $maxlen, $operator, $otitle);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
625
	if ( $xopercnt == 1 ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
626
	  print TRFILE "\\begin{defalist2}{\\bf $maxitem \\ }\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
627
	}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
628
	print TRFILE "\\item[{\\bf $operatorx}\\ \\ \\hfill]\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
629
630
631
632
	print TRFILE "$otitle \\\\\n";
      }

      if ( "$otitle" ne "" ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
633
	if ( $refskip == 0 && $xopercnt > 1 && "$oparameter" ne "$operpara" ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
634
#	  print TRCARD "\\rowcolor[gray]{.9}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
635
	  print TRCARD "\\multicolumn{2}{|>{\\columncolor{pcolor3}}l|}";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
636
	  if ( $xopercnt == 2 ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
637
	    print TRCARD "{{\\bf $opernamex}{\\sl $operpara} \ {\\tt $marguments}} ";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
638
	  } else {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
639
	    print TRCARD "{{\$<\\!operator\\!>\$}{\\sl $operpara} \ {\\tt $marguments}} ";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
640
641
642
643
644
645
646
647
	  }
	  print TRCARD "\\\\ \\hline \n";
	  $xopercnt = 1;
	}
	$opername = $operator;
	$operpara = $oparameter;

	if ( $norefoper == 0 ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
648
	  printf README ("   %-13s %-15s %s\n", $modulefile, $operator, $otitle);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
649
650
651
652
	  print CDOHTML "<tr>\n";
	  print CDOHTML "<td WIDTH=\"30%\" BGCOLOR=\"#FFF1B3\"> $operator </A> </td>\n";
	  print CDOHTML "<td WIDTH=\"70%\" BGCOLOR=\"#FFFFCC\"> $otitle </td>\n";
	  print CDOHTML "</tr>\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
653
654
	}

Uwe Schulzweida's avatar
Uwe Schulzweida committed
655
	$operatorx = $operator;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
656
	$operatorx =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
657
 	print TCFILE "\\hspace*{5mm}\\makebox[3cm][l]{\\bf \\htmlref{$operatorx}{$operator}} ";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
658
659
 	print TCFILE "& $otitle ";
 	print TCFILE "\\\\ \n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
660
        push @oplist, "\\hspace*{5mm}\\makebox[3cm][l]{\\bf \\htmlref{$operatorx}{$operator}} & $otitle \\\\ \n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
661

Uwe Schulzweida's avatar
Uwe Schulzweida committed
662
663
664
	$otitlem = $otitle;
	$otitlem =~ s/</\$<\$/og;
	$otitlem =~ s/>/\$>\$/og;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
665
	$otitlem =~ s/ wrt / w.r.t. /og;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
666
 	print TRLIST "\\hspace*{5mm}\\makebox[3cm][l]{\\bf \\htmlref{$operatorx}{$operator}} ";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
667
 	print TRLIST "& $otitlem ";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
668
669
 	print TRLIST "\\\\ \n";

Uwe Schulzweida's avatar
Uwe Schulzweida committed
670
671
672
673
674
675
	$modulname = lc($modulefile);
	$modulname =~ s/stat//;
	$operfunc = $operatorx;
	$operfunc =~ s/$modulname//;
	$statfunc = 0;
	if ( $trskip == 1 ) {
676
	  if ( $operfunc eq "min" || $operfunc eq "max" || $operfunc eq "sum" || $operfunc eq "mean" || $operfunc eq "avg" || $operfunc eq "var" || $operfunc eq "var1" || $operfunc eq "std" || $operfunc eq "std1" ) { $statfunc = 1; }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
677
	}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
678
	if ( $refskip == 0 && $norefoper == 0 ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
679
680
681
682
683
684
	  if ( $statfunc == 0 ) {
	    print TRCARD "\\makebox[$len2][l]{\\bf {$operatorx}} ";
	    print TRCARD "& \\makebox[$len3][l]{$otitle} ";
	    print TRCARD "\\\\ \n";
	  }
	  elsif ( $statfunc == 1 && $operfunc eq "min" ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
685
	    print TRCARD "\\makebox[$len2][l]{\\bf {$modulname\$<\\!stat\\!>\$}} ";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
686
687
688
	    print TRCARD "& \\makebox[$len3][l]{$mtitle} ";
	    print TRCARD "\\\\ \n";
	  }
Uwe Schulzweida's avatar
Uwe Schulzweida committed
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
	}
      } else {
 	print "$operator: TITLE not found!\n";
      }


#   Decription (operator)

      undef @deslines;
      $lblock = 0;
      foreach $tag (@oplines) {
	($kword) = split(" ", $tag);
	$kword = uc($kword);
	if ( $lblock == 0 ) {
	  if ( "$kword" eq "\@BEGINDESCRIPTION" ) {
	    $lblock = 1;
	    next;
	  }
	}
	if ( $lblock == 1 ) {
	  if ( "$kword" eq "\@ENDDESCRIPTION" ) { last; }
	  push(@deslines, $tag);
	}
      }

      if ( $#hkeys > 0 ) {
	$help_spaces = $maxlen;
      } else {
	$help_spaces = 0;
      }
      print_description(@deslines);
    }

    if ( $#hkeys > 0 ) {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
723
724
725
726
727
      print TRFILE "\\end{defalist2}\n";
    }
    else {
      print TRFILE "\\end{minipage}\n";
      print TRFILE "\\addtolength{\\miniwidth}{8mm}\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
    }

#   Parameter

    undef @parlines;
    $lblock = 0;
    foreach $tag (@doclines) {
      ($kword,$kopt) = split(" ", $tag);
      $kword = uc($kword);
      if ( $lblock == 0 ) {
	if ( "$kword" eq "\@BEGINPARAMETER" ) {
	  $lblock = 1;
	  next;
	}
      }
      if ( $lblock == 1 ) {
	if ( "$kword" eq "\@ENDPARAMETER" ) { last; }
	push(@parlines, $tag);
      }
    }

    if ( $lblock == 1 ) {
      $maxlen = 0;
      $maxitem = "";
      foreach $tag (@parlines) {
	$line = $tag;
	($kword,$kopt) = split(" ", $line);
	$kword = uc($kword);
#	if ( index("$kword", "\@ITEM") != -1 ) {
	if ( "$kword" eq "\@ITEM" ) {
	  ($kopt, $value) = split(/\s*=\s*/, $line, 2);
	  $len = length($value);
	  if ( $len > $maxlen ) {
	    $maxlen = $len;
	    $maxitem = $value;
763
	    $maxitem =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
	  }
	}
      }

      print HELPFILE "    \"\",\n";
      print HELPFILE "    \"PARAMETER\",\n";

      print TRFILE "\n\\subsection*{Parameter}\n\n";
      print TRFILE "\\setlength{\\miniwidth}{\\textwidth}\n";
      print TRFILE "\\addtolength{\\miniwidth}{-8mm}\n";
      print TRFILE "\\hspace*{8mm}\\begin{minipage}{\\miniwidth}\n";
      print TRFILE "\\begin{defalist}{\\sl $maxitem \\ }\n";

      foreach $tag (@parlines) {
	$line = $tag;
	($kword,$kopt) = split(" ", $line);
	$kword = uc($kword);
#	if ( index("$kword", "\@ITEM") != -1 ) {
	if ( "$kword" eq "\@ITEM" ) {
	  ($kopt, $value) = split(/\s*=\s*/, $line, 2);
	  printf HELPFILE ("    \"    %-*s  ", $maxlen, $value);
	  print TRFILE "\\item[{\\sl $value}\\ \\ \\hfill]\n";
	} else {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
787
788
789
790
	  $line =~ s/^DOUBLE/FLOAT/g;
	  $hline = $line;
	  $hline =~ s/\\%/%/g;
	  print HELPFILE "$hline\",\n";
Uwe Schulzweida's avatar
Uwe Schulzweida committed
791
792
793
	  $line =~ s/^FLOAT/\\makebox[20mm][l]{\\sf \\small FLOAT}/;
	  $line =~ s/^INTEGER/\\makebox[20mm][l]{\\sf \\small INTEGER}/;
	  $line =~ s/^STRING/\\makebox[20mm][l]{\\sf \\small STRING}/;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
794
	  $line =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
	  print TRFILE "$line\n";
	}
      }
      print TRFILE "\\end{defalist}\n";
      print TRFILE "\\end{minipage}\n";
      print TRFILE "\\addtolength{\\miniwidth}{8mm}\n";
    }

#   Environment

    undef @parlines;
    $lblock = 0;
    foreach $tag (@doclines) {
      ($kword,$kopt) = split(" ", $tag);
      $kword = uc($kword);
      if ( $lblock == 0 ) {
	if ( "$kword" eq "\@BEGINENVIRONMENT" ) {
	  $lblock = 1;
	  next;
	}
      }
      if ( $lblock == 1 ) {
	if ( "$kword" eq "\@ENDENVIRONMENT" ) { last; }
	push(@parlines, $tag);
      }
    }

    if ( $lblock == 1 ) {
      $maxlen = 0;
      $maxitem = "";
      foreach $tag (@parlines) {
	$line = $tag;
	($kword,$kopt) = split(" ", $line);
	$kword = uc($kword);
#	if ( index("$kword", "\@ITEM") != -1 ) {
	if ( "$kword" eq "\@ITEM" ) {
	  ($kopt, $value) = split(/\s*=\s*/, $line, 2);
	  $len = length($value);
	  if ( $len > $maxlen ) {
	    $maxlen = $len;
	    $maxitem = $value;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
836
	    $maxitem =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
	  }
	}
      }

      print HELPFILE "    \"\",\n";
      print HELPFILE "    \"ENVIRONMENT\",\n";

      print TRFILE "\n\\subsection*{Environment}\n\n";
      print TRFILE "\\setlength{\\miniwidth}{\\textwidth}\n";
      print TRFILE "\\addtolength{\\miniwidth}{-8mm}\n";
      print TRFILE "\\hspace*{8mm}\\begin{minipage}{\\miniwidth}\n";
      print TRFILE "\\begin{defalist}{\\tt $maxitem \\ }\n";

      foreach $tag (@parlines) {
	$line = $tag;
	($kword,$kopt) = split(" ", $line);
	$kword = uc($kword);
#	if ( index("$kword", "\@ITEM") != -1 ) {
	if ( "$kword" eq "\@ITEM" ) {
	  ($kopt, $value) = split(/\s*=\s*/, $line, 2);
	  printf HELPFILE ("    \"    %-*s\",\n", $maxlen, $value);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
858
	  $value =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
859
860
861
862
863
864
865
866
867
868
869
870
871
	  print TRFILE "\\item[{\\tt $value}\\ \\ \\hfill]\n";
	} else {
	  $hline = $line;
	  $hline =~ s/\"/\\\"/g;
	  $hline =~ s/\\cite//og;
#	  if ( $lines == 0 ) {
#	    print HELPFILE "$hline\",\n";
#	  }
#	  else {
	    print HELPFILE "    \"        $hline\",\n";
#	  }
#	    $line = /\sFLOAT/XXX
	  $line =~ s/^FLOAT/\\makebox[20mm][l]{\\sf \\small FLOAT}/;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
872
	  $line =~ s/^DOUBLE/\\makebox[20mm][l]{\\sf \\small FLOAT}/;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
873
874
	  $line =~ s/^INTEGER/\\makebox[20mm][l]{\\sf \\small INTEGER}/;
	  $line =~ s/^STRING/\\makebox[20mm][l]{\\sf \\small STRING}/;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
875
	  $line =~ s/_/\\_/g;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
876
	  $line =~ s/\@env\{([^}]*)\}/{\\tt \1}/og;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
	  print TRFILE "$line\n";
	  $lines = $lines + 1;
	}
      }
      print TRFILE "\\end{defalist}\n";
      print TRFILE "\\end{minipage}\n";
      print TRFILE "\\addtolength{\\miniwidth}{8mm}\n";
    }

#   Note

    undef @parlines;
    $lblock = 0;
    foreach $tag (@doclines) {
      ($kword,$kopt) = split(" ", $tag);
      $kword = uc($kword);
      if ( $lblock == 0 ) {
	if ( "$kword" eq "\@BEGINNOTE" ) {
	  $lblock = 1;
	  next;
	}
      }
      if ( $lblock == 1 ) {
	if ( "$kword" eq "\@ENDNOTE" ) { last; }
	push(@parlines, $tag);
      }
    }

    if ( $lblock == 1 ) {
906
907
908
      print HELPFILE "    \"\",\n";
      print HELPFILE "    \"NOTE\",\n";

Uwe Schulzweida's avatar
Uwe Schulzweida committed
909
910
911
912
913
914
      print TRFILE "\n\\subsection*{Note}\n\n";
      print TRFILE "\\setlength{\\miniwidth}{\\textwidth}\n";
      print TRFILE "\\addtolength{\\miniwidth}{-8mm}\n";
      print TRFILE "\\hspace*{8mm}\\begin{minipage}{\\miniwidth}\n";

      $help_spaces = 0;
915
      $help_print = 1;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
      print_description(@parlines);
      $help_print = 1;

      print TRFILE "\\end{minipage}\n";
      print TRFILE "\\addtolength{\\miniwidth}{8mm}\n";
    }

#   Example

    undef @parlines;
    $lblock = 0;
    foreach $tag (@doclines) {
      ($kword,$kopt) = split(" ", $tag);
      $kword = uc($kword);
      if ( $lblock == 0 ) {
	if ( "$kword" eq "\@BEGINEXAMPLE" ) {
	  $lblock = 1;
	  next;
	}
      }
      if ( $lblock == 1 ) {
	if ( "$kword" eq "\@ENDEXAMPLE" ) { last; }
	push(@parlines, $tag);
      }
    }

    if ( $lblock == 1 ) {
      print TRFILE "\n\\subsection*{Example}\n\n";
      print TRFILE "\\setlength{\\miniwidth}{\\textwidth}\n";
      print TRFILE "\\addtolength{\\miniwidth}{-8mm}\n";
      print TRFILE "\\hspace*{8mm}\\begin{minipage}{\\miniwidth}\n";

      $help_spaces = 0;
      $help_print = 0;
      print_description(@parlines);
      $help_print = 1;

      print TRFILE "\\end{minipage}\n";
      print TRFILE "\\addtolength{\\miniwidth}{8mm}\n";
    }

#   See also

#    $nop = 0;
#    $linelen = 0;
#    $lineend = 0;
#    foreach $oper (@hkeys) {
#      if ( $oper ne $operator ) {
#	$nop = $nop + 1;
#	if ( $nop == 1 ) {
#	  print HELPFILE "    \"\",\n";
#	  print HELPFILE "    \"SEE ALSO\",\n";
#	}
#	if ( $linelen > 70 ) {
#	  $linelen = 0;
#	  print HELPFILE ",\",\n";
#	}
#	if ( $linelen == 0 ) {
#	  print HELPFILE "    \"    $oper";
#	}
#	else {
#	  print HELPFILE ", $oper";
#	}
#	$linelen = $linelen + length($oper) + 2;
#      }
#    }
#    if ( $lineend == 0 && $nop > 0 ) {
#      print HELPFILE "\",\n";
#    }

#   End

#      print HELPFILE "    \"\",\n";
#      print HELPFILE "    \"\@End_${operator}\",\n";

    print HELPFILE "    NULL\n";
    print HELPFILE "};\n";

    print TCFILE "\\end{tabular*}\n";
    print TCFILE "\\vspace{1mm}\n";
    print TCFILE "\n";

Uwe Schulzweida's avatar
Uwe Schulzweida committed
998
999
    print CDOHTML "</table>\n";

Uwe Schulzweida's avatar
Uwe Schulzweida committed
1000
    print TRLIST "\\end{tabular*}\n";
For faster browsing, not all history is shown. View entire blame