[tex4ht-commits] [SCM] tex4ht updated: r944 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Jun 3 11:29:05 CEST 2021


Author: michal_h21
Date: 2021-06-03 09:29:05 +0000 (Thu, 03 Jun 2021)
New Revision: 944

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
start paragraphs in list like environments items

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-05-31 21:00:18 UTC (rev 943)
+++ trunk/lit/ChangeLog	2021-06-03 09:29:05 UTC (rev 944)
@@ -1,3 +1,9 @@
+2021-06-03  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): start paragraph in list like environments
+	items.
+	https://puszcza.gnu.org.ua/bugs/?513
+
 2021-05-31  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-fonts-noncjk.tex (bbold.htf): copyright 2021.

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2021-05-31 21:00:18 UTC (rev 943)
+++ trunk/lit/tex4ht-html4.tex	2021-06-03 09:29:05 UTC (rev 944)
@@ -2810,6 +2810,10 @@
      li p\string ~ol:last-child{ margin-bottom:0.5em; }}
 >>>
 
+\<list par\><<<
+\par\ShowPar
+>>>
+
 \<configure html4 latex\><<<
 \ConfigureEnv{trivlist}
    {}{|<try env inline par|>}{}{}
@@ -2819,7 +2823,7 @@
    {|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
         class="trivlist">}\bgroup \bf}
-   {\egroup\HCode{</dt><dd\Hnewline class="trivlist">}}
+   {\egroup\HCode{</dt><dd\Hnewline class="trivlist">}|<list par|>}
 \ConfigureEnv{list}
    {}{|<try env inline par|>}{}{}
 \ConfigureList{list}%
@@ -2842,7 +2846,7 @@
    {|<recall end:itm|>\ifvmode \IgnorePar\fi 
     \EndP\HCode{</li></ul>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
-   {\HCode{<li class="\getClass{li}itemize">}\afterGetClass{li}}
+   {\HCode{<li class="\getClass{li}itemize">}\afterGetClass{li}|<list par|>}
 \NewConfigure{itemizeClass}{2}
 \Configure{itemizeClass}{}{}
 \NewConfigure{liClass}{2}
@@ -2895,7 +2899,7 @@
       \EndP\HCode{</dd></dl>}\ShowPar}  
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt  
         class="enumerate">}\bgroup \bf}  
-   {\egroup\EndP\HCode{</dt><dd\Hnewline class="enumerate">}} 
+   {\egroup\EndP\HCode{</dt><dd\Hnewline class="enumerate">}|<list par|>} 
 \Css{dd.enumerate {margin-left: 2em;}} 
 \Css{dt.enumerate {float:left;   
               clear:left;   
@@ -2950,7 +2954,7 @@
 
 \<enumerate IV\><<<
 \HCode{<li class="enumerate" value="\expandafter\the\csname 
-   c at enum\romannumeral\the\@enumdepth\endcsname"\Hnewline>}\AnchorLabel
+   c at enum\romannumeral\the\@enumdepth\endcsname"\Hnewline>}|<list par|>\AnchorLabel
 >>>
 
 
@@ -2959,7 +2963,7 @@
 
 \<enumerate IV-\><<<
 {\Configure{Link}{li}{}{ class="enumerate" id=}{}%
- \let\EndLink=\empty \AnchorLabel }%
+ \let\EndLink=\empty|<list par|>\AnchorLabel }%
 >>>
 
 
@@ -3029,7 +3033,7 @@
        |<save end:itm|>\global\let\end:itm=\empty}
    {|<recall end:itm|>\EndP\HCode{</li></ul>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
-   {\HCode{<li class="itemize">}}
+   {\HCode{<li class="itemize">}|<list par|>}
 >>>
 
 \<prosper lists\><<<
@@ -3047,7 +3051,7 @@
    {}
    {\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
    {\HCode{<li class="itemize\ifnum
-                 \c at item@step>\c at overlaysCount -hide\fi">}}
+                 \c at item@step>\c at overlaysCount -hide\fi">}|<list par|>}
 \Css{li.itemize-hide {visibility:hidden;}}
 >>>
 
@@ -3088,8 +3092,8 @@
       |<save end:itm|>\global\let\end:itm=\empty}
    {|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
-        class="description">}\bgroup \bf}
-   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
+        class="description">}\bgroup |<list par|>\bf}
+   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}|<list par|>}
 >>>
 
 \<32,4 report,book\><<<
@@ -3149,7 +3153,7 @@
        |<save end:itm|>\global\let\end:itm=\empty}
    {|<recall end:itm|>\EndP\HCode{</li></ul>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
-   {\HCode{<li class="itemize">}}
+   {\HCode{<li class="itemize">}|<list par|>}
 \ConfigureEnv{enumerate*}
    {}{|<try env inline par|>}{}{}
 \ConfigureList{enumerate*}%
@@ -3163,7 +3167,7 @@
    {|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
         class="description">}\bgroup \bf}
-   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
+   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}|<list par|>}
 \ConfigureList{basedescript}
    {\EndP\HCode{<dl \a:LRdir class="basedescript">}%
       \PushMacro\end:itm \global\let\end:itm=\empty}
@@ -10052,7 +10056,7 @@
     \EndP\HCode{</li></ul>}\ShowPar
    }
    {\end:itm \gdef\end:itm{\EndP\Tg</li>}\DeleteMark}
-   {\HCode{<li class="itemize">}\AnchorLabel }
+   {\HCode{<li class="itemize">}|<list par|>\AnchorLabel }
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -11058,7 +11062,7 @@
 \EndP\HCode{</dd></dl>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
         class="description">}\bgroup \bf}
-   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
+   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}|<list par|>}
 
 |<quote config|>
 \ConfigureEnv{verse}
@@ -11469,19 +11473,19 @@
    {\IgnorePar\EndP\HCode{<ol\space class="enumerate"\Hnewline>}}
    {\IgnorePar\EndP\HCode{</li></ol>}\ShowPar}
    {\IgnorePar\EndP\ifnum \itemno>1 \Tg</li>\fi\DeleteMark}
-   {\HCode{<li class="enumerate">}}
+   {\HCode{<li class="enumerate">}|<list par|>}
 \Configure{itemize}
    {\IgnorePar\EndP\HCode{<ul\space\a:LRdir class="itemize"\Hnewline>}}
    {\IgnorePar\EndP\HCode{</li></ul>}\ShowPar}
    {\IgnorePar\EndP\ifnum \itemno>1 \Tg</li>\fi\DeleteMark}
-   {\HCode{<li class="itemize">}}
+   {\HCode{<li class="itemize">}|<list par|>}
 \Configure{table}%
    {\IgnorePar\EndP\HCode{<dl \a:LRdir class="description">}%
     |<save end:itm|>\global\let\end:itm|=\empty}
    {|<recall end:itm|>\IgnorePar\EndP\HCode{</dd></dl>}}
    {\IgnorePar\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
         class="description">}\bgroup \bf}
-   {\egroup\IgnorePar\EndP\HCode{</dt><dd\Hnewline class="description">}}
+   {\egroup\IgnorePar\EndP\HCode{</dt><dd\Hnewline class="description">}|<list par|>}
 >>>
 
 \<configure html4 texinfo\><<<
@@ -14078,7 +14082,7 @@
     \EndP\HCode{</li></ul>}\ShowPar
    |<end pause region|>} 
   {\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark} 
-  {\HCode{<li class="itemize">}} 
+  {\HCode{<li class="itemize">}|<list par|>} 
 >>>
 
 \<configure html4 powerdot\><<<
@@ -14107,7 +14111,7 @@
     |<end pause region|>}
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
         class="description">}\bgroup \bf}
-   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
+   {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}|<list par|>}
 >>>
 
 



More information about the tex4ht-commits mailing list.