bugtex4ht - Bugs: bug #176, Missing break between paragraphs

 
 
Show feedback again

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

bug #176: Missing break between paragraphs

Submitted by:  Frank Loemker <floemker>
Submitted on:  Wed Dec 19 13:27:14 2012  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: CV Radhakrishnan <cvr>
Open/Closed: Closed

Fri Jul 17 14:45:53 2020, comment #3:

I think there was just unnecessary \IgnorePar in configuration for \paragraph in Koma Script. It should be fixed now.

Michal Hoftich <michal_h21>
Project Member
Thu Dec 20 09:38:02 2012, comment #2:

Thanks a lot. That worked already very good. I experimented a little
bit more with this approach to enhance the distances between different
text elements (of cause without actually knowing what i was really
doing).

This one seems to keep the separation between the paragraphs while
maintaining at the same time similar distances as the DVI/PDF version
between the different text elements.
--------------------------------------------------
\Configure{paragraph}
{}{}
{\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead">}\begingroup\bf}
{\endgroup\HCode{</span>}\par\IgnorePar}

\Configure{HtmlPar}
{\EndP\Tg<p>}{\Tg<p>}
{\Tg</p>}{\Tg</p>}
--------------------------------------------------

Frank Loemker <floemker>
Wed Dec 19 15:12:59 2012, comment #1:

There is fundamental problem in the configuration of scrreprt.4ht. It needs to be fixed. Till then, here is a quick and dirty trick:

<------------ begin ------------>

\documentclass{scrreprt}

\begin{document}

\Configure{paragraph}
{\HtmlParOff}
{\EndP}
{\Tg<h5>}
{\Tg</h5>\HtmlParOn\par}

\Configure{HtmlPar}
{\EndP\Tg<p>}{\EndP\Tg<p>}
{\Tg</p>}{\Tg</p>}

\paragraph{Info Window} First paragraph.

Second paragraph.

Third paragraph.

\end{document}

<-------------- end -------------->

This worked OK in my tests. Will come back with a permanent solution as quickly as possible.

Radhakrishnan

CV Radhakrishnan <cvr>
Project AdministratorIn charge of this item.
Wed Dec 19 13:27:14 2012, original submission:

The following code gives correctly three paragraphs when compiled with latex and pdflatex:

-----------------------------------------------
\documentclass{scrreprt}

\begin{document}

\paragraph{Info Window} First paragraph.

Second paragraph.

Third paragraph.

\end{document}
-----------------------------------------------

But when compiled with "htlatex test.tex" only two paragraphs are generated. Here is the relevant part of the generated html file:

-----------------------------------------------
<!--l. 5--><p class="noindent" ><span class="paragraphHead"><a
id="x1-1000"></a><span
class="cmbx-10x-x-109">Info Window</span></span> First paragraph.
Second paragraph.
<!--l. 9--><p class="indent" > Third paragraph.
-----------------------------------------------

I.e. the first paragraph contains "First paragraph. Second paragraph.". If the class is changed to article, report, or book the result is correct.

I am using texlive-tex4ht-2011-13.5.1 under texlive-2011-13.5.1
on an openSUSE 12.2 system. tex4h.sty prints "version 2008-10-27-17:23".

Frank Loemker <floemker>

 

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 michal_h21 (Posted a comment)
  • -unavailable- added by cvr (Updated the item)
  • -unavailable- added by floemker (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):

     

     

    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jul 17 14:45:53 2020michal_h21Open/ClosedOpen=>Closed
    Wed Dec 19 13:57:57 2012cvrAssigned toNone=>cvr
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray