summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-22 21:33:29 +0000
committerKarl Berry <karl@freefriends.org>2024-01-22 21:33:29 +0000
commit6f7325d456c5204f0504cfd9281d08e9a8fdd2b6 (patch)
treeaad3314e89ad211e5a925b53bfcda371e9771110
parent43d50046ce6e6b37b8704514757ff54551a2a2e3 (diff)
print \ref number in docbook, tex4ht r1449
git-svn-id: svn://tug.org/texlive/trunk@69541 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog4
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-docbook.tex8
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/docbook.4ht28
3 files changed, 25 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 5a6933acf42..eee6684fc10 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,5 +1,9 @@
2024-01-22 Michal Hoftich <michal.h21@gmail.com>
+ * tex4ht-docbook.tex (docbook.4ht): print reference number in the
+ \ref command.
+ https://github.com/michal-h21/make4ht/issues/144
+
* tex4ht-4ht.tex (tikz-cd.4ht): convert the tikzcd environments to
pictures.
https://github.com/michal-h21/make4ht/issues/143
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-docbook.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-docbook.tex
index a65ce6153c9..23466924487 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-docbook.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-docbook.tex
@@ -1,8 +1,8 @@
-% $Id: tex4ht-docbook.tex 1399 2023-10-27 10:48:56Z michal_h21 $
+% $Id: tex4ht-docbook.tex 1450 2024-01-22 21:33:00Z karl $
% compile 3 times: latex tex4ht-docbook
% or xhlatex tex4ht-docbook "html,3,sections+"
%
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2024 TeX Users Group
% Copyright 2000-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.
@@ -28,7 +28,7 @@
\<docbook\><<<
% docbook.4ht (|version), generated from |jobname.tex
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2024 TeX Users Group
% Copyright |CopyYear.2000. Eitan M. Gurari
|<TeX4ht copywrite|>
>>>
@@ -118,7 +118,7 @@
\Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi\EndLink
#3\HCode{</para></note>}
\else
- \Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi\EndLink
+ \Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi#3\EndLink
\fi}
>>>
diff --git a/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht b/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht
index 1890eed7165..47c239d966e 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht
@@ -1,5 +1,5 @@
-% docbook.4ht (2023-10-27-13:27), generated from tex4ht-docbook.tex
-% Copyright 2009-2023 TeX Users Group
+% docbook.4ht (2024-01-22-13:33), generated from tex4ht-docbook.tex
+% Copyright 2009-2024 TeX Users Group
% Copyright 2000-2009 Eitan M. Gurari
%
% This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-10-27-13:27}
+\immediate\write-1{version 2024-01-22-13:33}
\exit:ifnot{Preamble,%
algorithmic,%
@@ -545,7 +545,7 @@ switches of tex4ht.c)
\Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi\EndLink
#3\HCode{</para></note>}
\else
- \Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi\EndLink
+ \Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi#3\EndLink
\fi}
\Configure{accents}
{\ifmmode \expandafter\mathord\fi
@@ -1675,6 +1675,7 @@ version="5.0" \Hnewline
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{graphics}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2588,6 +2589,8 @@ version="5.0" \Hnewline
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{plain}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2811,7 +2814,6 @@ version="5.0" \Hnewline
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{array}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2949,6 +2951,7 @@ version="5.0" \Hnewline
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{fancyvrb}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2969,8 +2972,6 @@ version="5.0" \Hnewline
-
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{color}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3021,6 +3022,8 @@ version="5.0" \Hnewline
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{index}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3084,6 +3087,7 @@ version="5.0" \Hnewline
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{multind}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3184,7 +3188,6 @@ version="5.0" \Hnewline
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{memoir}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3532,6 +3535,8 @@ version="5.0" \Hnewline
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{dcolumn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -5058,7 +5063,6 @@ version="5.0" \Hnewline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{beamer}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -5433,8 +5437,6 @@ version="5.0" \Hnewline
-
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{ulem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -5456,6 +5458,7 @@ version="5.0" \Hnewline
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{listings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -5611,5 +5614,8 @@ version="5.0" \Hnewline
+
+
+
\endinput