[BACK]Return to literal.out_html CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / man / TP

File: [cvsweb.bsd.lv] / mandoc / regress / man / TP / literal.out_html (download)

Revision 1.1, Sun Jan 6 04:55:15 2019 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5

Finally, represent the man(7) .PP and .HP macros by the natural
choice, which is the <p> HTML element.  On top of the previous
fill-mode improvements, the key to making this possible is to
automatically close the <p> when required: before headers, subsequent
paragraphs, lists, indented blocks, synopsis blocks, tbl(7) blocks,
and before blocks using no-fill mode.

In man(7) documents, represent the .sp request by a blank line in
no-fill mode and in the same way as .PP in fill mode.

BEGINTEST before indentation
<dl class="Bl-tag">
  <dt>tag</dt>
  <dd>regular indented text</dd>
</dl>
<p class="Pp">regular paragraph</p>
<pre>
literal
text
</pre>
<dl class="Bl-tag">
  <dt>tag</dt>
  <dd>
    <pre>
indented
literal
text
    </pre>
  </dd>
</dl>
<pre>
literal
paragraph
</pre>
regular text
<br/>
ENDTEST