texlive[58992] Master/texmf-dist/tex/generic/tex4ht: wrap \special;

commits+karl at tug.org commits+karl at tug.org
Mon Apr 26 17:00:16 CEST 2021


Revision: 58992
          http://tug.org/svn/texlive?view=revision&revision=58992
Author:   karl
Date:     2021-04-26 17:00:15 +0200 (Mon, 26 Apr 2021)
Log Message:
-----------
wrap \special; nbsp \ifx, listings \Picture support, tex4ht r908-914

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=908

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/lfeenc.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/plain.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/polyglossia.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/tuenc-xetex-input.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -1,7 +1,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% babel.4ht                             2019-07-10-13:21 %
+% babel.4ht                             2021-04-25-09:48 %
 % Copyright (C) 1999-2009       Eitan M. Gurari         %
-% Copyright 2009-2019 TeX Users Group
+% Copyright 2009-2021 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -62,7 +62,7 @@
 \Configure{quotesinglbase}{\o:quotesinglbase:}
 
 \def\arabic:loopoverdigits#1{\ifx\relax#1\else%
-\special{t4ht at +&{35}x066#1{59}}x%
+\ht:special{t4ht at +&{35}x066#1{59}}\a:HChar%
 \expandafter\arabic:loopoverdigits\fi}
 \def\arabicdigits#1{\arabic:loopoverdigits#1\relax}
 
@@ -79,8 +79,8 @@
 \HLet\DDJ@=\:tempc
 \NewConfigure{ddj}{1}
 \NewConfigure{DDJ}{1}
-\Configure{DDJ}{\leavevmode\ht:special{t4ht at +{38}{35}x0110;}x}
-\Configure{ddj}{\leavevmode\ht:special{t4ht at +{38}{35}x0111;}x}
+\Configure{DDJ}{\leavevmode\ht:special{t4ht at +{38}{35}x0110;}\a:HChar}
+\Configure{ddj}{\leavevmode\ht:special{t4ht at +{38}{35}x0111;}\a:HChar}
 
 \Hinput{babel}
 \endinput

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -1,4 +1,4 @@
-% latex.4ht (2021-02-06-14:21), generated from tex4ht-4ht.tex
+% latex.4ht (2021-04-25-09:48), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2021 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-02-06-14:21}
+\immediate\write-1{version 2021-04-25-09:48}
 
 \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
 
@@ -206,7 +206,7 @@
   %  load tuenc definitions for commands like \quotedblbase
   \ifdefined\old:DeclareTextSymbol\else
     \input binhex
-    \def\DeclareTextSymbol#1#2#3{\gdef#1{\special{t4ht at +&{35}x\hex{#3}{59}}x}}
+    \def\DeclareTextSymbol#1#2#3{\gdef#1{\ht:special{t4ht at +&{35}x\hex{#3}{59}}\a:HChar}}
     \input tuenc.def
     \let\DeclareTextSymbol\old:DeclareTextSymbol
   \fi
@@ -1996,8 +1996,8 @@
    \ifx \:temp\empty \let\a:sp\sp:c\else\def\a:sp{#1}\fi}
 \Configure{ }{\:nbsp}
 
-\def\:nbsp{\protect\leavevmode\special{t4ht at +\string&{35}x00A0{59}}x}
-\def\:ensp{\protect\leavevmode\special{t4ht at +\string&{35}x2002{59}}x}
+\def\:nbsp{\ifx\EndPicture\:UnDef\protect\leavevmode\ht:special{t4ht at +\string&{35}x00A0{59}}\a:HChar\else\leavevmode\nobreak\ \fi}
+\def\:ensp{\protect\leavevmode\ht:special{t4ht at +\string&{35}x2002{59}}\a:HChar}
 \let\nobreakspace\:nbsp
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/lfeenc.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/lfeenc.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/lfeenc.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -1,33 +1,25 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% lfeenc.4ht                             2009-05-21-09:32 %
-% Copyright (C) 2007--2009       Youssef Jabri               %
+% lfeenc.4ht                             2021-04-25-09:48 %
+% Copyright (C) 2007-2009       Youssef Jabri               %
 %                            Modified by Eitan M. Gurari %
-%                                                        %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3c of this license or (at your option) any   %
-% later version. The latest version of this license is   %
-% in                                                     %
-%   http://www.latex-project.org/lppl.txt                %
-% and version 1.3c or later is part of all distributions %
-% of LaTeX version 2005/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% This Current Maintainer of this work                   %
-% is Eitan M. Gurari.                                    %
-%                                                        %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be         %
-% appreciated.                                           %
-%            \message{signature}                         %
-%                                                        %
-%                             gurari at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
-
-  \long\def\ZWNJ{\noindent\ht:special{t4ht at +\string&{35}x200C;}x}
+% Copyright 2009-2021 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+  \long\def\ZWNJ{\noindent\ht:special{t4ht at +\string&{35}x200C;}\a:HChar}
 \Hinput{lfeenc}
 \endinput
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/listings.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -1,4 +1,4 @@
-% listings.4ht (2021-04-22-13:52), generated from tex4ht-4ht.tex
+% listings.4ht (2021-04-25-09:48), generated from tex4ht-4ht.tex
 % Copyright 2001-2009 Eitan M. Gurari
 % Copyright 2009-2021 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-04-22-13:52}
+\immediate\write-1{version 2021-04-25-09:48}
 
 \def\lst at makecaption#1#2{\cptA: #1\if :#1:\else\cptB:\fi \cptC: #2\cptD:}
 
@@ -59,11 +59,12 @@
     \ifdefined\chapter\chapter*{\lstlistlistingname}\else\section*{\lstlistlistingname}\fi%
     \TableOfContents[lol]%
   \egroup}
-\def\lst at NewLine{%
+\def\:tempa{%
    \ifx\lst at OutputBox\@gobble\else \the\everypar \fi
    \global\advance\lst at newlines\m at ne
    \lst at newlinetrue
 }%
+\HLet\lst at NewLine\:tempa
 \def\lst at InputListing#1{%
     \begingroup
       \lsthk at PreSet \gdef\lst at intname{#1}%
@@ -78,7 +79,7 @@
       \b:lstinputlisting
     \endgroup}
 \NewConfigure{lstinputlisting}{2}
-\def\lst at Kern#1{%
+\def\:tempa#1{%
    \setbox\z@\hbox{{\lst at currstyle{\kern#1}}}%
    \global\advance\lst at currlwidth \wd\z@
    \tmp:dim=#1 \let\:tempc=\empty
@@ -89,6 +90,7 @@
    \repeat
    \setbox\z@\hbox{{\lst at currstyle{\:tempc}}}%
    \lst at OutputBox\z@}
+\HLet\lst at Kern\:tempa
 \NewConfigure{lst at Kern}{2}
 \Configure{lst at Kern}{0.499em}{0.1em}
 \def\lst at outputspace{\:nbsp}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/plain.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/plain.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/plain.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -1,4 +1,4 @@
-% plain.4ht (2021-02-06-14:21), generated from tex4ht-4ht.tex
+% plain.4ht (2021-04-25-09:48), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2021 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-02-06-14:21}
+\immediate\write-1{version 2021-04-25-09:48}
 
 \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
 
@@ -264,8 +264,8 @@
    \ifx \:temp\empty \let\a:sp\sp:c\else\def\a:sp{#1}\fi}
 \Configure{ }{\:nbsp}
 %
-\def\:nbsp{\leavevmode\special{t4ht at +\string&{35}x00A0{59}}x}
-\def\:ensp{\leavevmode\special{t4ht at +\string&{35}x2002{59}}x}
+\def\:nbsp{\ifx\EndPicture\:UnDef\leavevmode\ht:special{t4ht at +\string&{35}x00A0{59}}\a:HChar\else\leavevmode\nobreak\ \fi}
+\def\:ensp{\leavevmode\ht:special{t4ht at +\string&{35}x2002{59}}\a:HChar}
 \expandafter\let\csname  beginsection\endcsname\relax
 \NewSection\beginsection{}{}
 \let\begin:section\beginsection

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/polyglossia.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/polyglossia.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/polyglossia.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -1,4 +1,4 @@
-% polyglossia.4ht (2020-10-05-15:32), generated from tex4ht-4ht.tex
+% polyglossia.4ht (2021-04-25-09:48), generated from tex4ht-4ht.tex
 % Copyright 2019 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,11 +16,11 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2020-10-05-15:32}
+\immediate\write-1{version 2021-04-25-09:48}
 
 \NewConfigure{PolyglossiaRtl}{2}
 \def\arabic:loopoverdigits#1{\ifx\relax#1\else%
-\special{t4ht at +&{35}x066#1{59}}x%
+\ht:special{t4ht at +&{35}x066#1{59}}\a:HChar%
 \expandafter\arabic:loopoverdigits\fi}
 \def\arabicdigits#1{\arabic:loopoverdigits#1\relax}
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/tuenc-xetex-input.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/tuenc-xetex-input.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/tuenc-xetex-input.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -16,7 +16,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-01-17-13:32}
+\immediate\write-1{version 2021-04-25-09:48}
 
 \input binhex
 
@@ -26,7 +26,7 @@
   \catcode#1=\active% make the character active
   \begingroup\lccode`\~=#1 % trick to define the character as a command
   % the code inside \special will be converted back to utf8 by tex4ht
-  \lowercase{\endgroup\protected\def~}{\special{t4ht at +&{35}x\hex{#1}{59}}x}
+  \lowercase{\endgroup\protected\def~}{\ht:special{t4ht at +&{35}x\hex{#1}{59}}\a:HChar}
 }
 
 % remove character definition

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht	2021-04-25 23:49:11 UTC (rev 58991)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht	2021-04-26 15:00:15 UTC (rev 58992)
@@ -1,4 +1,4 @@
-% unicode.4ht (2021-04-17-18:23), generated from tex4ht-unicode.tex
+% unicode.4ht (2021-04-25-09:48), generated from tex4ht-unicode.tex
 % Copyright 2009-2021 TeX Users Group
 % Copyright 1998-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-04-17-18:23}
+\immediate\write-1{version 2021-04-25-09:48}
 
 \exit:ifnot{8859-6,% 
 SIunits,% 
@@ -352,7 +352,7 @@
 
 \def\textellipsis{\x:unicode{2026}}
 
-\def\:nbsp{\x:unicode{00A0}}
+\def\:nbsp{\ifx\EndPicture\:UnDef\protect\leavevmode\ht:special{t4ht at +\string&{35}x00A0{59}}\a:HChar\else\leavevmode\nobreak\ \fi}
 \:CheckOption{new-accents}     \if:Option \else
    \expand:after{\Configure{accent}}\csname T1\string\`\expandafter\endcsname
     \csname T1\string\`\endcsname{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%



More information about the tex-live-commits mailing list.