[tex4ht] [bug #279] Missing \par in configurations of sectioning commands

Michal Hoftich michal.h21 at gmail.com
Wed Apr 6 15:53:58 CEST 2016


                 Summary: Missing \par in configurations of sectioning
                 Project: tex4ht
            Submitted by: michal_h21
            Submitted on: Wed 06 Apr 2016 04:53:58 PM EEST
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



This input:


is better

produces wrong output:

 <h2 class="likechapterHead"><a 
 id="x1-3000"></a>Hello</h2> world
pterHead"><span class="titlemark">Kapitola 1</span><br /><a 
<!--l. 36--><p class="noindent" >is better

note the missing `<p>` element after `Hello</h2>`. The configuration for
`\chapter` and `\chapter*` in `tex4ht-html4.tex` differs in one thing:

   {\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
   \TitleMark{\HCode{<br />}}}

 {\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}

it is missing `\par` after `\IgnoreIndent`. Does it have some deeper meaning?

Because of huge code duplication configuration for `likechapter` contains
`\par` for some document classes. Configurations for lower sectioning levels
(likesection, likesubsection) contains `\par` and furthermore `\ShowPar`
commands, so they doesn't show this behavior. 


Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list