bugtex4ht - Bugs: bug #279, Missing \par in configurations of...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #279: Missing \par in configurations of sectioning commands

Submitted by:  Michal Hoftich <michal_h21>
Submitted on:  Wed Apr 6 13:53:58 2016  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri Jul 1 15:32:50 2016, comment #3:

installed in tl, closing, thanks as always.

Karl Berry <karl>
Project Administrator
Fri Jun 17 14:49:57 2016, comment #2:

I've just fixed that in tex4ht-html4.tex.

Michal Hoftich <michal_h21>
Project Member
Wed Apr 6 20:50:37 2016, comment #1:

as far as i can imagine, the \par should be included in all such sectioning commands, and it's just a bug (probably due to the code duplication) that it isn't. i.e., someone reported the bug to eitan, he fixed it in some commands and not others ...

Karl Berry <karl>
Project Administrator
Wed Apr 6 13:53:58 2016, original submission:

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.

Michal Hoftich <michal_h21>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jul 1 15:32:50 2016karlOpen/ClosedOpen=>Closed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray