History

CWEB — Release 3.43, 1998-09-14.

Andreas Scherer committed 15 years ago

Commit d9d98d91 parent 9b7fced21 files · +227 −212Browse files

Showing the changes to examples (4 of 21 files). Show all

Unified · Split

4 files
  1. examples/extex.ch +23 −0
  2. examples/extex.w +2 −1
  3. examples/kspell.el +5 −0
  4. examples/oemacs.el +0 −1
examples/extex.ch+23−0
@@ -0,0 +1,23 @@
1+@x In my work (mainly TAOCP) I use \: (not \.) for the dot accent
2+'&`&\relax\^&"&\relax\~&=&.&u&v\cr
3+@y
4+'&`&\relax\^&"&\relax\~&=&:&u&v\cr
5+@z
6+@x
7+ 1,1,1,1,1,0,0,1, /* \.{\\-} and \.{\\.} */
8+ 1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1, /* \.{\\=} */
9+@y
10+ 1,1,1,1,1,0,1,1, /* \.{\\-} */
11+ 1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1, /* \.{:} and \.{\\=} */
12+@z
13+@x and I use |...xref-tag...| for cross-references
14+case '|': if (web>1) {
15+ save_skipping=skipping;
16+ goto skip_C_prime;
17+ }
18+@y
19+case '|': if (web>1) {
20+ save_skipping=skipping;
21+ goto skip_C_prime;
22+ } else discard_to('|');
23+@z
examples/extex.w+2−1
@@ -26,6 +26,7 @@ along too. If any of these control sequences is followed by \.\{, everything · 25 unmodified lines
2626 up to the next \.\} will also be retained. Thus, for example, the
2727 construction `\.{m\\=\{\\i\}n\\u\ us}' will be considered a single word,
2828 in spite of the control sequences and the space between the two u's.
29+Discretionary hyphens `\.{\char`\\-}' are treated in the same way as accents.
2930
3031 The \.{CWEB} conventions are essentially the same as the \TEX/ conventions,
3132 in the \TEX/ parts of a \.{CWEB} file. The \CEE/ parts of the file
@@ -229,7 +230,7 @@ special, otherwise~1; the conventions for letters are reversed. · 197 unmodified lines
229230
230231 @<Global...@>=
231232 char ptab[]={0,1,1,1,1,0, /* \.{\\"} and \.{\\'} */
232− 1,1,1,1,1,1,0,1, /* \.{\\.} */
233+ 1,1,1,1,1,0,0,1, /* \.{\\-} and \.{\\.} */
233234 1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1, /* \.{\\=} */
234235 1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,1, /* \.{\\H}, \.{\\L}, \.{\\O} */
235236 0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1, /* \.{\\\^} */
examples/kspell.el+5−0
@@ -18,6 +18,11 @@ · 17 unmodified lines
1818 ;; and nothing else, the probable cause is that the wordtest program
1919 ;; could not open /usr/local/lib/dict/words or ~/.words for reading.
2020
21+;; Note (10 Feb 1998): The spell-check logic failed to catch "obso1ete"
22+;; as a scanner-typo for "obsolete". The reason is that, although "obso"
23+;; and "ete" are non-words, they couldn't be found in query-replace
24+;; for the regexps "\bobso\b" and "\bete\b".
25+
2126 (provide 'kspell)
2227
2328 (defvar wordtest-command "wordtest" ;; maybe "/usr/local/bin/wordtest" better?
examples/oemacs.el+0−1
@@ -46,7 +46,6 @@ · 45 unmodified lines
4646 (define-key suntool-map "jt" 'narrow-to-region) ; F10
4747 (define-key suntool-map "j\M-t" 'narrow-to-page) ; M-F10
4848 (define-key suntool-map "kt" 'revert-buffer) ; F11
49− (define-key suntool-map "k\M-T" 'quick-revert-buffer) ; Shift-M-F11
5049 (define-key suntool-map "k\M-t" 'quick-revert-other-buffer) ; M-F11
5150 (define-key suntool-map "lt" 'goto-line) ; F12
5251 (define-key suntool-map "l\M-t" 'goto-line) ; M-F12

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t