summaryrefslogtreecommitdiff
path: root/web/spiderweb/patches/005
blob: 52f9a47999d0960308f7d6d803ac57dba1ebd811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
*** master/spider.web~	Tue Apr 11 14:02:06 1989
--- master/spider.web	Mon Jul  3 12:46:05 1989
***************
*** 772,778 ****
  	} else if (length($2)>1) {
  		#<Handle multicharacter tokens#>
  	} else {
! 		temp = sprintf "'%s'", $2
  		tokenname[$2] = temp
  		tokenlength[$2]=1
  	}
--- 772,778 ----
  	} else if (length($2)>1) {
  		#<Handle multicharacter tokens#>
  	} else {
! 		temp = sprintf("'%s'", $2)
  		tokenname[$2] = temp
  		tokenlength[$2]=1
  	}
***************
*** 791,797 ****
  	tokennumbers[$2]=tokennumber
  	tokennumber--
  	## figure out how to recognize the token
! 	temp = sprintf "strncmp(\"%s\",loc-1,%d)==0", $2, length($2)
  	tokentest[$2]=temp
  	tokenlength[$2]=length($2)
  
--- 791,797 ----
  	tokennumbers[$2]=tokennumber
  	tokennumber--
  	## figure out how to recognize the token
! 	temp = sprintf( "strncmp(\"%s\",loc-1,%d)==0", $2, length($2))
  	tokentest[$2]=temp
  	tokenlength[$2]=length($2)
  
***************
*** 1738,1744 ****
  		$i = substr($i,2) ## peel off the \##
  		#<Make sure |1 <= $i < arrowpos|#>
  		targetcategory[prodnum]="Unnamed category"
! 		temp = sprintf "(pp+%d)->cat", $i-1
  		unnamed_cat[prodnum]=temp
  	} else if ($i ~ #=/[a-z][a-z_]*/#>) { ## a category
  		targetcategory[prodnum]=$i
--- 1738,1744 ----
  		$i = substr($i,2) ## peel off the \##
  		#<Make sure |1 <= $i < arrowpos|#>
  		targetcategory[prodnum]="Unnamed category"
! 		temp = sprintf("(pp+%d)->cat", $i-1)
  		unnamed_cat[prodnum]=temp
  	} else if ($i ~ #=/[a-z][a-z_]*/#>) { ## a category
  		targetcategory[prodnum]=$i
*** webkernel.tex.old	Mon Jun 26 12:32:33 1989
--- webkernel.tex	Mon Jun 26 12:35:38 1989
***************
*** 218,224 ****
    \global\output{\normaloutput\page\lheader\rheader\lfooter\rfooter}}
  \setpage
  \vbox to \vsize{} % the first \topmark won't be null
! \eject
  \write\cont{\string\catcode`\string\@=11}% a hack to make contents
  					 % take stuff in \.{---}
  
--- 218,226 ----
    \global\output{\normaloutput\page\lheader\rheader\lfooter\rfooter}}
  \setpage
  \vbox to \vsize{} % the first \topmark won't be null
! % Delete as per bug report from kademan@stat.wisc.edu
! % Causes headings on first page to be missing
! % \eject
  \write\cont{\string\catcode`\string\@=11}% a hack to make contents
  					 % take stuff in \.{---}