CVS log for mandoc/regress/mdoc/Bd/paragraph.out_html

[BACK] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Bd

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 30 19:26:21 2021 UTC (3 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (unified)

In HTML output, correctly render .Bd -unfilled in proportionally-spaced
font, rather than with the monospace font appropriate for .Bd -literal.
This fixes a minibug reported by anton@.

Implemented by no longer relying on the typical browser default of
"pre { font-family: monospace }" but instead letting <pre> elements
inherit the font family from their parent, then adding an explicit CSS .Li
class only for those displays where the manual page author requested it
by using the -literal option on the .Bd macro.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 16 17:22:50 2020 UTC (3 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +2 -4 lines
Diff to previous 1.5 (unified)

In HTML output, avoid printing a newline right after <pre>
and right before </pre> because that resulted in vertical
whitespace not requested by the manual page author.

Formatting bug reported by
Aman Verma <amanraoverma plus vim at gmail dot com> on discuss@.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 19 16:36:17 2020 UTC (4 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (unified)

When .Bd, .D1, or .Dl is tagged, attach the permalink
to the first few letters, similar to what was earlier done for .Pp.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 18 20:40:12 2020 UTC (4 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (unified)

When a .Tg is attached to a paragraph, attach the permalink
to the first word, or the first few words if they are short.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 6 10:16:19 2020 UTC (4 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (unified)

Support manual tagging of .Pp, .Bd, .D1, .Dl, .Bl, and .It.
In HTML output, improve the logic for writing inside permalinks:
skip them when there is no child content or when there is a risk
that the children might contain flow content.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 3 18:19:46 2019 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +0 -2 lines
Diff to previous 1.1 (unified)

adapt to new <p> output logic (html.c rev. 1.260)

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 7 07:26:33 2019 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5

Represent mdoc(7) .Pp (and .sp, and some SYNOPSIS and .Rs features)
by the <p> HTML element and use the html_fillmode() mechanism
for .Bd -unfilled, just like it was done for man(7) earlier, finally
getting rid both of the horrible <div class="Pp"></div> hack and
of the worst HTML syntax violations caused by nested displays.

Care is needed because in some situations, paragraphs have to remain
open across several subsequent macros, whereas in other situations,
they must get closed together with a block containing them.

Some implementation details include:
* Always close paragraphs before emitting HTML flow content.
* Let html_close_paragraph() also close <pre> for extra safety.
* Drop the old, now unused function print_paragraph().
* Minor adjustments in the top-level man(7) node formatter for symmetry.
* Bugfix: .Ss heads suspend no-fill mode, even though .Ss doesn't end it.
* Bugfix: give up on .Op semantic markup for now, see the comment.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb