#
4529325a |
| 30-Mar-2021 |
schwarze <schwarze@openbsd.org> |
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 b
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.
show more ...
|
#
52e71e33 |
| 16-Oct-2020 |
schwarze <schwarze@openbsd.org> |
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 Am
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@.
show more ...
|
#
a875cd0e |
| 19-Apr-2020 |
schwarze <schwarze@openbsd.org> |
When .Bd, .D1, or .Dl is tagged, attach the permalink to the first few letters, similar to what was earlier done for .Pp.
|
#
6e2a0df9 |
| 18-Apr-2020 |
schwarze <schwarze@openbsd.org> |
When a .Tg is attached to a paragraph, attach the permalink to the first word, or the first few words if they are short.
|
#
e053e0fd |
| 06-Apr-2020 |
schwarze <schwarze@openbsd.org> |
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
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.
show more ...
|
#
474ead6c |
| 03-Sep-2019 |
schwarze <schwarze@openbsd.org> |
adapt to new <p> output logic (html.c rev. 1.131)
|
#
2dd33770 |
| 07-Jan-2019 |
schwarze <schwarze@openbsd.org> |
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
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.
show more ...
|