texlive[74544] Build/source/texk/web2c/cwebdir: [CWEB] Command-line

commits+ascherer at tug.org commits+ascherer at tug.org
Sun Mar 9 10:22:27 CET 2025


Revision: 74544
          https://tug.org/svn/texlive?view=revision&revision=74544
Author:   ascherer
Date:     2025-03-09 10:22:27 +0100 (Sun, 09 Mar 2025)
Log Message:
-----------
[CWEB] Command-line option 'm' is no SGB variable.

In 'Digital Typography' the wording is agnostic of the '-m' option.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/tests/ham-sorted.tex
    trunk/Build/source/texk/web2c/cwebdir/tests/ham.ch
    trunk/Build/source/texk/web2c/cwebdir/tests/ham.ref
    trunk/Build/source/texk/web2c/cwebdir/tests/ham.sref
    trunk/Build/source/texk/web2c/cwebdir/tests/ham.tex

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2025-03-09 09:22:22 UTC (rev 74543)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2025-03-09 09:22:27 UTC (rev 74544)
@@ -1,3 +1,11 @@
+2025-02-26  Andreas Scherer  <https://ascherer.github.io>
+
+	* tests/ham-sorted.tex,
+	* tests/ham.ch,
+	* tests/ham.ref,
+	* tests/ham.sref,
+	* tests/ham.tex: Command-line option 'm' is no SGB variable.
+
 2025-02-02  Andreas Scherer  <https://ascherer.github.io>
 
 	* ctwill-mini.ch: Avoid several 'Overfull \vbox'es.

Modified: trunk/Build/source/texk/web2c/cwebdir/tests/ham-sorted.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/tests/ham-sorted.tex	2025-03-09 09:22:22 UTC (rev 74543)
+++ trunk/Build/source/texk/web2c/cwebdir/tests/ham-sorted.tex	2025-03-09 09:22:27 UTC (rev 74544)
@@ -12,7 +12,7 @@
 and Tools\/ \bf15} (1994), 2--11.] The input graph should be in
 Stanford GraphBase format, and should be named on the command line
 as, for example, \.{foo.gb}. An optional second command-line parameter
-is a modulus \PB{\|m}, which causes every $m$th solution to be printed.
+is a modulus~$m$, which causes every $m$th solution to be printed.
 
 We use a utility field to record the vertex degrees.
 
@@ -65,7 +65,6 @@
 \]{GB\_\,GRAPH}9 \\{arcs} \&{Arc} ${}{*}{}$
 \]{GB\_\,GRAPH}20 \&{Graph} =\&{struct}
 \]{GB\_\,GRAPH}8 \|{I} \&{long}
-\]{GB\_\,GRAPH}20 \|{m} \&{long}
 \]{GB\_\,GRAPH}20 \|{n} \&{long}
 \]{GB\_\,GRAPH}9 \\{name} \&{char} ${}{*}{}$
 \]{GB\_\,GRAPH}10 \\{next} \&{Arc} ${}{*}{}$

Modified: trunk/Build/source/texk/web2c/cwebdir/tests/ham.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/tests/ham.ch	2025-03-09 09:22:22 UTC (rev 74543)
+++ trunk/Build/source/texk/web2c/cwebdir/tests/ham.ch	2025-03-09 09:22:27 UTC (rev 74544)
@@ -10,6 +10,12 @@
 
 Section 1.
 
+ at x l.11
+is a modulus |m|, which causes every $m$th solution to be printed.
+ at y
+is a modulus~$m$, which causes every $m$th solution to be printed.
+ at z
+
 @x l.15
 @d deg u.I
 @y
@@ -23,7 +29,7 @@
 @x l.21
 main(int argc,char *argv[])
 @y
-@#@;@q Fix a bug in CWEB/CTWILL 4.3 @>
+@#
 int main(int argc,char *argv[])
 @z
 

Modified: trunk/Build/source/texk/web2c/cwebdir/tests/ham.ref
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/tests/ham.ref	2025-03-09 09:22:22 UTC (rev 74543)
+++ trunk/Build/source/texk/web2c/cwebdir/tests/ham.ref	2025-03-09 09:22:27 UTC (rev 74544)
@@ -1,4 +1,4 @@
-!3
+!2
 + \]{GB\_\,GRAPH}9 \|{u} \&{util}
 + \]{GB\_\,GRAPH}10 \\{tip} \&{Vertex} ${}{*}{}$
 + \]{GB\_\,GRAPH}10 \\{next} \&{Arc} ${}{*}{}$
@@ -12,13 +12,12 @@
 + \]{GB\_\,GRAPH}20 \&{Graph} =\&{struct}
 + \]{GB\_\,SAVE}4 \\{restore\_graph} \&{Graph} ${}{*}(\,){}$
 + \]{GB\_\,GRAPH}8 \|{I} \&{long}
-+ \]{GB\_\,GRAPH}20 \|{m} \&{long}
 + \]"<stdlib.h>" \\{exit} \zip 
 + \]"<stdio.h>" \\{stderr} \zip 
 + \]"<stdio.h>" \\{fprintf} \zip 
 + \]"<stdio.h>" \\{sscanf} \zip 
 + \]{GB\_\,GRAPH}9 \|{v} \&{util}
-!5
+!4
 + \[1 \|{x} \&{register} \&{Vertex} ${}{*}{}$
 + \[1 \|{a} \&{register} \&{Arc} ${}{*}{}$
 + \[1 \|{z} \&{Vertex} ${}{*}{}$

Modified: trunk/Build/source/texk/web2c/cwebdir/tests/ham.sref
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/tests/ham.sref	2025-03-09 09:22:22 UTC (rev 74543)
+++ trunk/Build/source/texk/web2c/cwebdir/tests/ham.sref	2025-03-09 09:22:27 UTC (rev 74544)
@@ -4,7 +4,6 @@
 \]"<stdio.h>" \\{fprintf} \zip 
 \]{GB\_\,GRAPH}20 \&{Graph} =\&{struct}
 \]{GB\_\,GRAPH}8 \|{I} \&{long}
-\]{GB\_\,GRAPH}20 \|{m} \&{long}
 \]{GB\_\,GRAPH}20 \|{n} \&{long}
 \]{GB\_\,GRAPH}9 \\{name} \&{char} ${}{*}{}$
 \]{GB\_\,GRAPH}10 \\{next} \&{Arc} ${}{*}{}$
@@ -17,7 +16,7 @@
 \]{GB\_\,GRAPH}9 \|{v} \&{util}
 \]{GB\_\,GRAPH}9 \&{Vertex} =\&{struct}
 \]{GB\_\,GRAPH}20 \\{vertices} \&{Vertex} ${}{*}{}$
-\donewithpage3
+\donewithpage2
 \[1 \|{a} \&{register} \&{Arc} ${}{*}{}$
 \]{GB\_\,GRAPH}8 \|{A} \&{Arc} ${}{*}{}$
 \[1 \\{aa} \&{register} \&{Arc} ${}{*}{}$
@@ -44,4 +43,4 @@
 \]{GB\_\,GRAPH}9 \|{x} \&{util}
 \[1 \|{y} \&{Vertex} ${}{*}{}$
 \[1 \|{z} \&{Vertex} ${}{*}{}$
-\donewithpage5
+\donewithpage4

Modified: trunk/Build/source/texk/web2c/cwebdir/tests/ham.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/tests/ham.tex	2025-03-09 09:22:22 UTC (rev 74543)
+++ trunk/Build/source/texk/web2c/cwebdir/tests/ham.tex	2025-03-09 09:22:27 UTC (rev 74544)
@@ -12,7 +12,7 @@
 and Tools\/ \bf15} (1994), 2--11.] The input graph should be in
 Stanford GraphBase format, and should be named on the command line
 as, for example, \.{foo.gb}. An optional second command-line parameter
-is a modulus \PB{\|m}, which causes every $m$th solution to be printed.
+is a modulus~$m$, which causes every $m$th solution to be printed.
 
 We use a utility field to record the vertex degrees.
 
@@ -74,7 +74,6 @@
 \]{GB\_\,GRAPH}20 \&{Graph} =\&{struct}
 \]{GB\_\,SAVE}4 \\{restore\_graph} \&{Graph} ${}{*}(\,){}$
 \]{GB\_\,GRAPH}8 \|{I} \&{long}
-\]{GB\_\,GRAPH}20 \|{m} \&{long}
 }\FI
 
 \shortpage



More information about the tex-live-commits mailing list.