texlive[73656] Build/source/texk/web2c: print_ignored_error respect

commits+karl at tug.org commits+karl at tug.org
Fri Jan 31 18:50:57 CET 2025


Revision: 73656
          https://tug.org/svn/texlive?view=revision&revision=73656
Author:   karl
Date:     2025-01-31 18:50:57 +0100 (Fri, 31 Jan 2025)
Log Message:
-----------
print_ignored_error respect --file-line-error; +eTeX_states

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
    trunk/Build/source/texk/web2c/pdftexdir/NEWS
    trunk/Build/source/texk/web2c/pdftexdir/pdftex.ch
    trunk/Build/source/texk/web2c/pdftexdir/pdftex.web
    trunk/Build/source/texk/web2c/xetexdir/ChangeLog
    trunk/Build/source/texk/web2c/xetexdir/xetex.ch

Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2025-01-31 16:48:32 UTC (rev 73655)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2025-01-31 17:50:57 UTC (rev 73656)
@@ -1,5 +1,14 @@
+2025-01-31  Karl Berry  <karl at freefriends.org>
+
+	* pdftex.ch (l.1891): have print_ignored_error respect
+	--file-line-error; noted by Martin Ruckert.
+	* pdftex.web (etex_int_pars): add eTeX_states, not
+	eTeX_state_code, as it was before; noted by Martin Ruckert.
+
 2025-01-27  Karl Berry  <karl at freefriends.org>
 
+	* NEWS: 2025 font scaling entry; belated 2024 cross-engine entry.
+
 	* am/pdftex.am (pdftex-pool.c): exit 1 if makecpool failed.
 	(pdftex-final.ch): remove $@ and exit 1 if tie failed.
 
@@ -21,6 +30,7 @@
 	(Generate all \eTeX): define it.
 	(Cases for |print_param|): print it.
 	Request from Frank Mittelbach, 22 Jul 2024 22:37:26 (private mail).
+	* NEWS: mention this.
 
 2025-01-23  Thanh Han The  <hanthethanh at gmail.com>
 

Modified: trunk/Build/source/texk/web2c/pdftexdir/NEWS
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/NEWS	2025-01-31 16:48:32 UTC (rev 73655)
+++ trunk/Build/source/texk/web2c/pdftexdir/NEWS	2025-01-31 17:50:57 UTC (rev 73656)
@@ -16,7 +16,12 @@
     of the user's value.
 
 -----------------------------------------------------------------------------
-pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2024) (March 10, 2023)
+pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2024) (March 10, 2024)
+- changes:
+  - cross-engine update to provide the --output-directory value in
+    TEXMF_OUTPUT_DIRECTORY, and use TEXMF_OUTPUT_DIRECTORY if set when
+    the option is not given.
+
 - bugfixes:
   - more reliable text extraction on BigEndian systems.
   - more checks against corrupt pfb, fmt, pdf, files.

Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftex.ch
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftex.ch	2025-01-31 16:48:32 UTC (rev 73655)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftex.ch	2025-01-31 17:50:57 UTC (rev 73656)
@@ -23,7 +23,6 @@
 
 % Change file to assist in creating the web2c-specific change file.
 % This one resolves inconsistencies between tex.ch and tex.ech.
-% Public domain.
 
 @x [1] m.2 l.188 - banner
 @d banner==TeX_banner
@@ -33,7 +32,15 @@
 @d banner_k==pdfTeX_banner
 @z
 
- at x [16.215] - e-TeX last_node_type
+ at x l.1891 - have print_ignored_error respect --file-line-error
+  print_nl("ignored error: "); print(#);
+ at y
+  if file_line_error_style_p then print_file_line
+  else print_nl("");
+  print("ignored error: "); print(#);
+ at z
+
+ at x [16.215] l.28025 - restore e-TeX last_node_type removed in tex.ch
 last_glue:=max_halfword; last_penalty:=0; last_kern:=0;
 @y
 last_glue:=max_halfword; last_penalty:=0; last_kern:=0;

Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftex.web
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftex.web	2025-01-31 16:48:32 UTC (rev 73655)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftex.web	2025-01-31 17:50:57 UTC (rev 73656)
@@ -5725,7 +5725,7 @@
 @d saving_hyph_codes_code=etex_int_base+8 {save hyphenation codes for languages}
 @d ignore_primitive_error_code=etex_int_base+9 {ignore some primitive/engine errors}
 @d eTeX_state_code=etex_int_base+10 {\eTeX\ state variables}
- at d etex_int_pars=eTeX_state_code+eTeX_state_code {total number of \eTeX's integer parameters}
+ at d etex_int_pars=eTeX_state_code+eTeX_states {total number of \eTeX's integer parameters}
 @#
 @d int_pars=etex_int_pars {total number of integer parameters}
 @d count_base=int_base+int_pars {256 user \.{\\count} registers}

Modified: trunk/Build/source/texk/web2c/xetexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/xetexdir/ChangeLog	2025-01-31 16:48:32 UTC (rev 73655)
+++ trunk/Build/source/texk/web2c/xetexdir/ChangeLog	2025-01-31 17:50:57 UTC (rev 73656)
@@ -1,5 +1,12 @@
+2025-01-31  Karl Berry  <karl at freefriends.org>
+
+	* xetex.ch (l.1891): have print_ignored_error respect
+	--file-line-error, a la pdftex.
+
 2025-01-27  Karl Berry  <karl at freefriends.org>
 
+	* NEWS: 2025 font scaling entry.
+
 	* am/xetex.am (xetex-pool.c): exit 1 if makecpool failed.
 	(tex-final.ch, mf-final.ch): remove $@ and exit 1 if tie failed.
 
@@ -12,7 +19,7 @@
 
 2025-01-25  Thanh Han The  <hanthethanh at gmail.com>
 
-	* pdftex.web (print_ignored_err): new @d.
+	* xetex.web (print_ignored_err): new @d.
 	(ignore_primitive_error_code, ignore_primitive_error): new primitive
 	\ignoreprimitiveerror.
 	(is_bit_set): new fn.
@@ -22,6 +29,7 @@
 	(Cases for |print_param|): print it.
 	Same code as for pdfTeX; merged into XeTeX by karl.
 	Request from Frank Mittelbach, 22 Jul 2024 22:37:26 (private mail).
+	* NEWS: mention this.
 
 2024-05-18  Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
             TANAKA Takuji  <ttk at t-lab.opal.ne.jp>

Modified: trunk/Build/source/texk/web2c/xetexdir/xetex.ch
===================================================================
--- trunk/Build/source/texk/web2c/xetexdir/xetex.ch	2025-01-31 16:48:32 UTC (rev 73655)
+++ trunk/Build/source/texk/web2c/xetexdir/xetex.ch	2025-01-31 17:50:57 UTC (rev 73656)
@@ -2,7 +2,7 @@
  $Id$
  Part of the XeTeX typesetting system
  Copyright (c) 1994-2008 by SIL International
- Copyright (c) 2009-2021 by Jonathan Kew
+ Copyright (c) 2009-2025 by Jonathan Kew
  Copyright (c) 2012 by Khaled Hosny
 
  SIL Author(s): Jonathan Kew
@@ -131,7 +131,15 @@
   wterm_ln('" ignored)');
 @z
 
- at x We add a new |history| value for failure of the output driver
+ at x l.1891 - have print_ignored_error respect --file-line-error
+  print_nl("ignored error: "); print(#);
+ at y
+  if file_line_error_style_p then print_file_line
+  else print_nl("");
+  print("ignored error: "); print(#);
+ at z
+
+ at x l.2020 - add a new |history| value for failure of the output driver
 has been detected. It has four possible values: |spotless|, |warning_issued|,
 |error_message_issued|, and |fatal_error_stop|.
 @y
@@ -139,7 +147,7 @@
 |error_message_issued|, |fatal_error_stop|, and |output_failure|.
 @z
 
- at x
+ at x l.2031
 @d fatal_error_stop=3 {|history| value when termination was premature}
 @y
 @d fatal_error_stop=3 {|history| value when termination was premature}
@@ -146,7 +154,7 @@
 @d output_failure=4 {|history| value when output driver returned an error}
 @z
 
- at x
+ at x l.2036
 @!history:spotless..fatal_error_stop; {has the source input been clean so far?}
 @y
 @!history:spotless..output_failure; {has the source input been clean so far?}



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