From 60712e2174bfaa66828692206c37af9b20d9fc9a Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Mon, 3 May 2021 13:03:46 +0000 Subject: [CWEB] New release 4.3.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This release is almost the same as CWEB 4.3 of 2021-04-16, but * it fixes the indexing bug in CWEAVE/CTWILL that got retracted * it extracts and collects all additions made in CTWILL, so that the section numbers of CWEAVE are retained up to ยง272 and new material is described in the (first) appendix, including the CTWILL user manual * it provides fully revised and (hopefully) corrected mini-indexes for CTWILL, if it is processed by itself (to be published in package 'knuth-pdf' on CTAN) git-svn-id: svn://tug.org/texlive/trunk@59061 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebdir/refsort.ch | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Build/source/texk/web2c/cwebdir/refsort.ch (limited to 'Build/source/texk/web2c/cwebdir/refsort.ch') diff --git a/Build/source/texk/web2c/cwebdir/refsort.ch b/Build/source/texk/web2c/cwebdir/refsort.ch new file mode 100644 index 00000000000..79a8867b84c --- /dev/null +++ b/Build/source/texk/web2c/cwebdir/refsort.ch @@ -0,0 +1,44 @@ +Changes for the REFSORT utility from the CTWILL tarball. + +This minimal set of changes tries to satisfy the GCC compiler. + +This file is not copyrighted and can be used freely. + +@x +\datethis +@y +\datethis +\let\maybe=\iffalse % print only sections that change +@z + +@x standard C library interface +#include "stdio.h" +#include "strings.h" +#include "ctype.h" +@y +#include +#include +#include +@z + +@x declare return type +main() +@y +int main() +@z + +@x variable not used +{ register int k; +@y +{ +@z + +@x add 'Index.' section + for (;*p;p++) *q++=*p; +} +@y + for (;*p;p++) *q++=*p; +} + +@* Index. +@z -- cgit v1.2.3