texlive[75064] Build/source/texk/web2c: [CWEB] Restore default

commits+ascherer at tug.org commits+ascherer at tug.org
Wed Apr 30 10:31:43 CEST 2025


Revision: 75064
          https://tug.org/svn/texlive?view=revision&revision=75064
Author:   ascherer
Date:     2025-04-30 10:31:42 +0200 (Wed, 30 Apr 2025)
Log Message:
-----------
[CWEB] Restore default behavior of generic CWEB.

The CWEB programs run 'vorbose'ly by default again.

"Don't break Don's workflow!" -- For historic reasons (Amiga ARexx in
the 1990s), the CWEB programs in my CWEBbin project since 2001 and hence
in TeX Live since 2019 returned codes '0', '5'. '10', and '20' in
correlation with the internal 'history' variable. This breaks common
'make' workflows, where sections might be undefined, i.e., yet to be
written, or unused, i.e., written but not yet incorporated; these
situations are deemed "harmless" and should _not_ result in the
abortion of an automatic workflow.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch
    trunk/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po
    trunk/Build/source/texk/web2c/cwebdir/po/web2c-help.pot
    trunk/Build/source/texk/web2c/help.h
    trunk/Build/source/texk/web2c/man/ChangeLog
    trunk/Build/source/texk/web2c/man/ctwill.man
    trunk/Build/source/texk/web2c/man/cweb.man

Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/ChangeLog	2025-04-30 08:31:42 UTC (rev 75064)
@@ -1,3 +1,7 @@
+2025-04-30  Andreas Scherer  <https://ascherer.github.io>
+
+	* help.h: Restore 'verbose' diagnostics in CWEB.
+
 2025-04-18  Andreas Scherer  <https://ascherer.github.io>
 
 	* ctangleboot.cin,

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2025-04-30 08:31:42 UTC (rev 75064)
@@ -1,3 +1,9 @@
+2025-04-30  Andreas Scherer  <https://ascherer.github.io>
+
+	* comm-w2c.ch,
+	* po/de/web2c-help.po,
+	* po/web2c-help.pot: Restore default behavior of generic CWEB.
+
 2025-04-18  Andreas Scherer  <https://ascherer.github.io>
 
 	* comm-w2c.h,

Modified: trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch	2025-04-30 08:31:42 UTC (rev 75064)
@@ -375,28 +375,6 @@
   else printf(_(". (l. %d of include file %s)\n"), cur_line, cur_file_name);
 @z
 
- at x [6.68] l.1057
-Some implementations may wish to pass the |history| value to the
-operating system so that it can be used to govern whether or not other
-programs are started. Here, for instance, we pass the operating system
-a status of |EXIT_SUCCESS| if and only if only harmless messages were printed.
-@^system dependencies@>
- at y
-On multi-tasking systems like the {\mc AMIGA} it is very convenient to
-know a little bit more about the reasons why a program failed.  The four
-levels of return indicated by the |history| value are very suitable for
-this purpose.  Here, for instance, we pass the operating system a status
-of~0 if and only if the run was a complete success.  Any warning or error
-message will result in a higher return value, so that {\mc AREXX} scripts
-can be made sensitive to these conditions.
-@^system dependencies@>
-
- at d RETURN_OK     0 /* No problems, success */
- at d RETURN_WARN   5 /* A warning only */
- at d RETURN_ERROR 10 /* Something wrong */
- at d RETURN_FAIL  20 /* Complete or severe failure */
- at z
-
 @x [6.68] l.1068
   @<Print the job |history|@>@;
 @y
@@ -404,18 +382,6 @@
   @<Remove the temporary file if not already done@>@;
 @z
 
- at x [6.68] l.1069
-  if (history > harmless_message) return EXIT_FAILURE;
-  else return EXIT_SUCCESS;
- at y
-  switch(history) {
-  case spotless: return RETURN_OK;
-  case harmless_message: return RETURN_WARN;
-  case error_message: return RETURN_ERROR;
-  case fatal_message: default: return RETURN_FAIL;
-  }
- at z
-
 @x [6.69] l.1075
 case spotless:
   if (show_happiness) puts("(No errors were found.)"); break;
@@ -457,12 +423,6 @@
 char check_file_name[max_file_name_length]; /* name of |check_file| */
 @z
 
- at x [7.74] l.1138
-show_banner=show_happiness=show_progress=make_xrefs=true;
- at y
-make_xrefs=true;
- at z
-
 @x [7.75] l.1142
 file.  It may have an extension, or it may omit the extension to get |".w"| or
 |".web"| added.  The \TEX/ output file name is formed by replacing the \.{CWEB}

Modified: trunk/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po	2025-04-30 08:31:42 UTC (rev 75064)
@@ -7,8 +7,8 @@
 msgstr ""
 "Project-Id-Version: CWEBbin 2025\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-01-01 15:08+0100\n"
-"PO-Revision-Date: 2025-01-01 15:08+0100\n"
+"POT-Creation-Date: 2025-04-30 10:05+0200\n"
+"PO-Revision-Date: 2025-04-30 10:05+0200\n"
 "Last-Translator: Andreas Scherer <andreas_github at freenet.de>\n"
 "Language-Team: German\n"
 "Language: de\n"
@@ -56,12 +56,12 @@
 msgstr "+p          schreibe die Fortschrittsmeldungen"
 
 #: help.h:62 help.h:85 help.h:114
-msgid "+/-q        shortcut for '-bhp'; also '--quiet' (default)"
-msgstr "+/-q        Kurzform für '-bhp'; auch '--quiet' (Vorgabe)"
+msgid "+/-q        shortcut for '-bhp'; also '--quiet'"
+msgstr "+/-q        Kurzform für '-bhp'; auch '--quiet'"
 
 #: help.h:63 help.h:86 help.h:115
-msgid "+/-v        shortcut for '+bhp'; also '--verbose'"
-msgstr "+/-v        Kurzform für '+bhp'; auch '--verbose'"
+msgid "+/-v        shortcut for '+bhp'; also '--verbose' (default)"
+msgstr "+/-v        Kurzform für '+bhp'; auch '--verbose' (Vorgabe)"
 
 #: help.h:64 help.h:87 help.h:116
 msgid "+c          check temporary output for changes"

Modified: trunk/Build/source/texk/web2c/cwebdir/po/web2c-help.pot
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/po/web2c-help.pot	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/cwebdir/po/web2c-help.pot	2025-04-30 08:31:42 UTC (rev 75064)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: CWEBbin 2025\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-01-01 15:08+0100\n"
+"POT-Creation-Date: 2025-04-30 10:05+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -55,11 +55,11 @@
 msgstr ""
 
 #: help.h:62 help.h:85 help.h:114
-msgid "+/-q        shortcut for '-bhp'; also '--quiet' (default)"
+msgid "+/-q        shortcut for '-bhp'; also '--quiet'"
 msgstr ""
 
 #: help.h:63 help.h:86 help.h:115
-msgid "+/-v        shortcut for '+bhp'; also '--verbose'"
+msgid "+/-v        shortcut for '+bhp'; also '--verbose' (default)"
 msgstr ""
 
 #: help.h:64 help.h:87 help.h:116

Modified: trunk/Build/source/texk/web2c/help.h
===================================================================
--- trunk/Build/source/texk/web2c/help.h	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/help.h	2025-04-30 08:31:42 UTC (rev 75064)
@@ -59,8 +59,8 @@
     "+b          print banner line on terminal",
     "+h          print success message on completion",
     "+p          print progress report messages",
-    "+/-q        shortcut for '-bhp'; also '--quiet' (default)",
-    "+/-v        shortcut for '+bhp'; also '--verbose'",
+    "+/-q        shortcut for '-bhp'; also '--quiet'",
+    "+/-v        shortcut for '+bhp'; also '--verbose' (default)",
     "+c          check temporary output for changes",
     "-dN         set 'kpathsea_debug' to N (0..127)",
     "+k          keep separators in numeric literals in the output",
@@ -82,8 +82,8 @@
     "+b          print banner line on terminal",
     "+h          print success message on completion",
     "+p          print progress report messages",
-    "+/-q        shortcut for '-bhp'; also '--quiet' (default)",
-    "+/-v        shortcut for '+bhp'; also '--verbose'",
+    "+/-q        shortcut for '-bhp'; also '--quiet'",
+    "+/-v        shortcut for '+bhp'; also '--verbose' (default)",
     "+c          check temporary output for changes",
     "-dN         set 'kpathsea_debug' to N (0..127)",
     "-e          do not enclose C material in \\PB{...}",
@@ -111,8 +111,8 @@
     "+b          print banner line on terminal",
     "+h          print success message on completion",
     "+p          print progress report messages",
-    "+/-q        shortcut for '-bhp'; also '--quiet' (default)",
-    "+/-v        shortcut for '+bhp'; also '--verbose'",
+    "+/-q        shortcut for '-bhp'; also '--quiet'",
+    "+/-v        shortcut for '+bhp'; also '--verbose' (default)",
     "+c          check temporary output for changes",
     "-dN         set 'kpathsea_debug' to N (0..127)",
     "-e          do not enclose C material in \\PB{...}",

Modified: trunk/Build/source/texk/web2c/man/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/man/ChangeLog	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/man/ChangeLog	2025-04-30 08:31:42 UTC (rev 75064)
@@ -1,3 +1,8 @@
+2025-04-30  Andreas Scherer  <https://ascherer.github.io>
+
+	* ctwill.man,
+	* cweb.man: Restore 'verbose' diagnostics in CWEB.
+
 2025-04-09  Karl Berry  <karl at freefriends.org>
 
 	* latex-dev.man: wording.

Modified: trunk/Build/source/texk/web2c/man/ctwill.man
===================================================================
--- trunk/Build/source/texk/web2c/man/ctwill.man	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/man/ctwill.man	2025-04-30 08:31:42 UTC (rev 75064)
@@ -1,6 +1,6 @@
 .\" Automatically generated by Pandoc
 .\"
-.TH "CTWILL" "1" "January 1, 2025." "Web2c @VERSION@" "General Commands Manual"
+.TH "CTWILL" "1" "April 30, 2025." "Web2c @VERSION@" "General Commands Manual"
 .SH NAME
 ctwill, ctwill-proofsort, ctwill-refsort, ctwill-twinx \- translate CWEB to TeX with
 mini-indexes
@@ -139,9 +139,6 @@
 \f[B]pdfctwimac.tex\f[R] for production of PDF and HINT output with
 active hyperlinks (\f[B]+lpdf\f[R]).
 .IP \[bu] 2
-\f[B]ctwill\f[R] in TeX\ Live operates silently by default; use the
-\f[B]\-\-verbose\f[R] option to get the original behavior.
-.IP \[bu] 2
 File lookup with the environment variable CWEBINPUTS is extended to
 permit several, colon-separated, paths; see ENVIRONMENT below.
 .IP \[bu] 2
@@ -163,10 +160,10 @@
 \f[B]+p\f[R]: print progress report messages
 .IP \[bu] 2
 \f[B]+q\f[R]/\f[B]\-q\f[R]: shortcut for \f[B]\-bhp\f[R]; also
-\f[B]\-\-quiet\f[R] (default)
+\f[B]\-\-quiet\f[R]
 .IP \[bu] 2
 \f[B]+v\f[R]/\f[B]\-v\f[R]: shortcut for \f[B]+bhp\f[R]; also
-\f[B]\-\-verbose\f[R]
+\f[B]\-\-verbose\f[R] (default)
 .IP \[bu] 2
 \f[B]+c\f[R]: check temporary output for changes
 .IP \[bu] 2

Modified: trunk/Build/source/texk/web2c/man/cweb.man
===================================================================
--- trunk/Build/source/texk/web2c/man/cweb.man	2025-04-29 23:42:22 UTC (rev 75063)
+++ trunk/Build/source/texk/web2c/man/cweb.man	2025-04-30 08:31:42 UTC (rev 75064)
@@ -1,6 +1,6 @@
 .\" Automatically generated by Pandoc
 .\"
-.TH "CWEB" "1" "March 10, 2024" "Web2c @VERSION@" "General Commands Manual"
+.TH "CWEB" "1" "April 30, 2025." "Web2c @VERSION@" "General Commands Manual"
 .SH NAME
 ctangle, cweave \- translate CWEB to C/C++ and/or TeX
 .SH SYNOPSIS
@@ -57,9 +57,6 @@
 \f[B]cwebmac.tex\f[R] with translated captions for German
 (\f[B]+ld\f[R]), French (\f[B]+lf\f[R]), and Italian (\f[B]+li\f[R]).
 .IP \[bu] 2
-CWEB in TeX\ Live operates silently by default (as of 2019); use the
-\f[B]\-\-verbose\f[R] option to get the original behavior.
-.IP \[bu] 2
 File lookup with the environment variable CWEBINPUTS is extended to
 permit several, colon-separated, paths; see ENVIRONMENT below.
 .IP \[bu] 2
@@ -84,10 +81,10 @@
 \f[B]+p\f[R]: print progress report messages
 .IP \[bu] 2
 \f[B]+q\f[R]/\f[B]\-q\f[R]: shortcut for \f[B]\-bhp\f[R]; also
-\f[B]\-\-quiet\f[R] (default)
+\f[B]\-\-quiet\f[R]
 .IP \[bu] 2
 \f[B]+v\f[R]/\f[B]\-v\f[R]: shortcut for \f[B]+bhp\f[R]; also
-\f[B]\-\-verbose\f[R]
+\f[B]\-\-verbose\f[R] (default)
 .IP \[bu] 2
 \f[B]+c\f[R]: check temporary output for changes
 .IP \[bu] 2



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