From 2f52267b5d9c73659b81c7047247163a77b5095f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 10 Dec 2022 21:20:33 +0000 Subject: avoid pdfbase fatal error, tex4ht r1263 git-svn-id: svn://tug.org/texlive/trunk@65237 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 ++++++ Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 5 ++--- Master/texmf-dist/tex/generic/tex4ht/pdfbase-hooks.4ht | 7 +++---- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index a8e77d25f21..d0d814e916b 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2022-12-10 Michal Hoftich + + * tex4ht-4ht.tex (pdfbase-hooks.4ht): fixed handling of Pdfbase + outut routine, to prevent fatal error. + https://puszcza.gnu.org.ua/bugs/?586 + 2022-12-09 Michal Hoftich * tex4ht-4ht.tex (tabularray.4ht), diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index ba24967e2f9..2b3f41fe898 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1262 2022-12-09 16:11:45Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1263 2022-12-10 21:08:00Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -4890,8 +4890,7 @@ The pdfbase package redefines \`|\@outputpage| macro, which causes tex4ht patche % Copyright 2020 TeX Users Group | \:AtEndOfPackage{% - \let\old:outputpage\@outputpage - \def\@outputpage{\old:outputpage{}} + \expandafter\let\expandafter\@outputpage\csname pbs_outputpage_orig:\endcsname } >>> \AddFile{9}{pdfbase-hooks} diff --git a/Master/texmf-dist/tex/generic/tex4ht/pdfbase-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/pdfbase-hooks.4ht index d8c0b967335..9c7a7c788ac 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/pdfbase-hooks.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/pdfbase-hooks.4ht @@ -1,4 +1,4 @@ -% pdfbase-hooks.4ht (2020-10-17-13:53), generated from tex4ht-4ht.tex +% pdfbase-hooks.4ht (2022-12-10-13:19), generated from tex4ht-4ht.tex % Copyright 2020 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,10 +16,9 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2020-10-17-13:53} +\immediate\write-1{version 2022-12-10-13:19} \:AtEndOfPackage{% - \let\old:outputpage\@outputpage - \def\@outputpage{\old:outputpage{}} + \expandafter\let\expandafter\@outputpage\csname pbs_outputpage_orig:\endcsname } -- cgit v1.2.3