From d55bec8432e846d549d016899a3ee1d46363087e Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 23 May 2022 20:54:40 +0000
Subject: allow more split files, tex4ht r1137; incomplete \ifx, tex4ht r1138

git-svn-id: svn://tug.org/texlive/trunk@63384 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')

diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index af9b237e4c1..c516dffdb4e 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 1136 2022-05-22 18:03:36Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1138 2022-05-23 12:21:20Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -3902,7 +3902,9 @@ Hyperref pasess five arguments to \`|\newlabel|, we must adapt \`|\XR:rEfLiNK| t
   \filename@parse{#1}% Get basename of the linked html file, 
   % xr:dir\filename@base contains file's directory
   \a:xr[\csname xr:dir:\filename@base\endcsname#1]{#2}{}%
-  \ifx\hyperrefLabel\:UnDef #3\else \hyperrefLabel\fi \b:xr}
+  % this extra \fi fixes warning about unclosed \ifx, I hope it doesn't break anything
+  % I cannot find where that \ifx starts
+  \ifx\hyperrefLabel\:UnDef #3\else \hyperrefLabel\fi \b:xr\fi}
 \NewConfigure{xr}{2}
 \Configure{xr}{\Link}{\EndLink}
 \def\XR:rEfLiNK#1#2#3#4#5{{\xr:rEfLiNK#1}{\xr:rEfLiNK#2}{\xr:rEfLiNK#3}}
-- 
cgit v1.2.3

