summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex6
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/xr-hyper.4ht8
3 files changed, 11 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 3ebf22b7773..baa743400e4 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2023-12-21 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (xr-hyper.4ht): removed extra \fi, it is no longer
+ necessary.
+ https://github.com/michal-h21/make4ht/issues/140
+
2023-12-20 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-fonts-noncjk.tex (
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index afd202c002c..e1ca8c4c370 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 1425 2023-12-17 20:54:22Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1428 2023-12-21 12:27:05Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -4001,9 +4001,7 @@ 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}{}%
- % 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}
+ \ifx\hyperrefLabel\:UnDef #3\else \hyperrefLabel\fi \b:xr}
\NewConfigure{xr}{2}
\Configure{xr}{\Link}{\EndLink}
\def\XR:rEfLiNK#1#2#3#4#5{{\xr:rEfLiNK#1}{\xr:rEfLiNK#2}{\xr:rEfLiNK#3}}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/xr-hyper.4ht b/Master/texmf-dist/tex/generic/tex4ht/xr-hyper.4ht
index b10470531a9..9ee5c00f29e 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/xr-hyper.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/xr-hyper.4ht
@@ -1,4 +1,4 @@
-% xr-hyper.4ht (2023-03-10-14:19), generated from tex4ht-4ht.tex
+% xr-hyper.4ht (2023-12-21-13:29), generated from tex4ht-4ht.tex
% Copyright 2003-2023 TeX Users Group
% Copyright 2009-2023 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-03-10-14:19}
+\immediate\write-1{version 2023-12-21-13:29}
\let\XR:loop=\XR@loop
\def\XR@loop#1{%
@@ -60,9 +60,7 @@
\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}{}%
- % 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}
+ \ifx\hyperrefLabel\:UnDef #3\else \hyperrefLabel\fi \b:xr}
\NewConfigure{xr}{2}
\Configure{xr}{\Link}{\EndLink}
\def\XR:rEfLiNK#1#2#3#4#5{{\xr:rEfLiNK#1}{\xr:rEfLiNK#2}{\xr:rEfLiNK#3}}