From a02cc525ebd448420c24e17ca7904b09f78ab8ee Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 10 Jun 2020 21:51:46 +0000 Subject: warn instead fatal for \pdfendlink different nesting level, pdftex r832 git-svn-id: svn://tug.org/texlive/trunk@55509 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/ChangeLog | 16 +++++++++++++--- Build/source/texk/web2c/pdftexdir/NEWS | 9 ++++++++- Build/source/texk/web2c/pdftexdir/pdftex.web | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) (limited to 'Build/source') diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 9ccbd2d1427..f8d63602c45 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,13 +1,23 @@ +2020-06-10 Thanh Han The + + * 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 - * 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 * 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 diff --git a/Build/source/texk/web2c/pdftexdir/NEWS b/Build/source/texk/web2c/pdftexdir/NEWS index b8dcb9e754c..e89c24afd0b 100644 --- a/Build/source/texk/web2c/pdftexdir/NEWS +++ b/Build/source/texk/web2c/pdftexdir/NEWS @@ -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 @@ pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020) (March 27, 2020) - 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) diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.web b/Build/source/texk/web2c/pdftexdir/pdftex.web index 1bf5e58e72c..8c9cc23c88b 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftex.web +++ b/Build/source/texk/web2c/pdftexdir/pdftex.web @@ -36147,7 +36147,7 @@ begin 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} -- cgit v1.2.3