summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-19 18:12:07 +0000
committerKarl Berry <karl@freefriends.org>2023-02-19 18:12:07 +0000
commit745f9363c32f08d6e3b1e201bd2dc870630e9fec (patch)
tree600e8bbff694b7502f6cb820a2ba9750d7fc3426
parent311ff9d9a359f9099e780898f9dfc5f56e5f4e01 (diff)
url spaces, tex4ht r1298
git-svn-id: svn://tug.org/texlive/trunk@65928 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex8
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/url.4ht12
3 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index bb786652c48..85478b3d879 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,8 @@
+2023-02-19 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (url.4ht): remove spaces before \url command.
+ https://github.com/michal-h21/tex4ebook/issues/102
+
2023-02-12 Karl Berry <karl@freefriends.org>
* tex4ht-4ht.tex: copyright 2023
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 97ba417850e..e308f92ae24 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 1297 2023-02-12 22:24:36Z karl $
+% $Id: tex4ht-4ht.tex 1298 2023-02-19 13:05:01Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -5107,7 +5107,7 @@ message before the package quits.
\<url.4ht\><<<
% url.4ht (|version), generated from |jobname.tex
-% Copyright |CopyYear.1997. Eitan M. Gurari
+% Copyright 1997-2023 TeX Users Group
|<TeX4ht copywrite|>
|<fix url|>
\expandafter\ifx\csname Url@OT1encSpecials\endcsname\relax
@@ -5125,10 +5125,10 @@ message before the package quits.
>>>
\<fix url\><<<
-\protected\def\:temp{\leavevmode \begingroup
+\protected\def\:temp{\leavevmode \begingroup\ht:special{t4ht@(}%
\def\UrlLeft##1\UrlRight{\ifmmode \else \UrlFont\fi \Url:use{##1}}%
\def\Url@use##1 ##2{\ifmmode \else \UrlFont\fi
- \Url:use{##1}}\let\,\empty \Configure{$}{}{}{}\Url}
+ \Url:use{##1}}\let\,\empty \Configure{$}{}{}{}\ht:special{t4ht@)}\Url}
\HLet\url\:temp
>>>
diff --git a/Master/texmf-dist/tex/generic/tex4ht/url.4ht b/Master/texmf-dist/tex/generic/tex4ht/url.4ht
index a7e092ce6fa..1e335a1964f 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/url.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/url.4ht
@@ -1,6 +1,6 @@
-% url.4ht (2022-01-02-14:32), generated from tex4ht-4ht.tex
-% Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2022 TeX Users Group
+% url.4ht (2023-02-19-10:11), generated from tex4ht-4ht.tex
+% Copyright 1997-2023 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,12 +17,12 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-01-02-14:32}
+\immediate\write-1{version 2023-02-19-10:11}
- \protected\def\:temp{\leavevmode \begingroup
+ \protected\def\:temp{\leavevmode \begingroup\ht:special{t4ht@(}%
\def\UrlLeft##1\UrlRight{\ifmmode \else \UrlFont\fi \Url:use{##1}}%
\def\Url@use##1 ##2{\ifmmode \else \UrlFont\fi
- \Url:use{##1}}\let\,\empty \Configure{$}{}{}{}\Url}
+ \Url:use{##1}}\let\,\empty \Configure{$}{}{}{}\ht:special{t4ht@)}\Url}
\HLet\url\:temp
\expandafter\ifx\csname Url@OT1encSpecials\endcsname\relax