texlive[55509] Build/source/texk/web2c/pdftexdir: warn instead fatal

commits+karl at tug.org commits+karl at tug.org
Wed Jun 10 23:51:47 CEST 2020


Revision: 55509
          http://tug.org/svn/texlive?view=revision&revision=55509
Author:   karl
Date:     2020-06-10 23:51:46 +0200 (Wed, 10 Jun 2020)
Log Message:
-----------
warn instead fatal for \pdfendlink different nesting level, pdftex r832

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=832

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

Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2020-06-10 20:48:38 UTC (rev 55508)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2020-06-10 21:51:46 UTC (rev 55509)
@@ -1,13 +1,23 @@
+2020-06-10  Thanh Han The  <hanthethanh at gmail.com>
+
+	* pdftex.web (end_link): warn instead of fatal for
+	"\pdfendlink ended up in different nesting level than \pdfstartlink".
+	pdftex r832. Suggestion from Ulrike Fischer,
+	https://tug.org/pipermail/tex-live/2018-November/042759.html.
+
 2020-06-03  Thanh Han The  <hanthethanh at gmail.com>
 
-	* pdftex.web: Initialize save_tail to avoid a value of 0 given at compile
-	time. Remove unnecessary codes. (from Hironobu Yamashita). pdftex r829.
+	* pdftex.web: Initialize save_tail to avoid a value of 0 given at
+	compile time. Remove unnecessary codes. (from Hironobu
+	Yamashita). pdftex r829.
+	https://mailman.ntg.nl/pipermail/ntg-pdftex/2020-May/004330.html
 
 2020-06-02  Thanh Han The  <hanthethanh at gmail.com>
 
 	* pdftex.web (auto_kern): @d=3, rather than "explicit".
 	(Display kern |p|): report auto_kern message; avoid link(r)
-	when r=null. pdftex r828.
+	when r=null. pdftex r828. Report from Robert Schlict,
+	https://mailman.ntg.nl/pipermail/ntg-pdftex/2020-May/004317.html
 
 2020-05-31  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
 

Modified: trunk/Build/source/texk/web2c/pdftexdir/NEWS
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/NEWS	2020-06-10 20:48:38 UTC (rev 55508)
+++ trunk/Build/source/texk/web2c/pdftexdir/NEWS	2020-06-10 21:51:46 UTC (rev 55509)
@@ -1,3 +1,10 @@
+- changes:
+  - warn instead of aborting when "\pdfendlink ended up in
+    different nesting level than \pdfstartlink". 
+
+- bugfixes:
+  - avoid crash in unusual autoexpand cases.
+
 - source: poppler support removed, as it was too hard to keep in sync
   with upstream. For native TL, pdftex has always used libs/xpdf,
   which is cut-down and adapted code from xpdf.
@@ -6,9 +13,9 @@
 - changes:
   - new primitive \pdfmajorversion; this merely changes the version
     number in the PDF output, has no effect on PDF content.
+  - have \pdfximage etc. do same search for image files as for input files, 
   - new \input{...} group-delimited syntax (cross-engine).
   - new option --cnf-line (cross-engine).
-  - have \pdfximage etc. do same search for image files as for input files, 
   - (un)compress .fmt files with zlib (cross-engine).
   
 pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019)

Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftex.web
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftex.web	2020-06-10 20:48:38 UTC (rev 55508)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftex.web	2020-06-10 21:51:46 UTC (rev 55509)
@@ -36147,7 +36147,7 @@
     if pdf_link_stack_ptr < 1 then
         pdf_error("ext4", "pdf_link_stack empty, \pdfendlink used without \pdfstartlink?");
     if pdf_link_stack_top.nesting_level <> cur_s then
-        pdf_error("ext4", "\pdfendlink ended up in different nesting level than \pdfstartlink");
+        pdf_warning(0, "\pdfendlink ended up in different nesting level than \pdfstartlink", true, true);
 
     {N.B.: test for running link must be done on |link_node| and not |ref_link_node|,
      as |ref_link_node| can be set by |do_link| or |append_link| already}



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