CVS log for mandoc/regress/roff/ft/badargs.out_html

[BACK] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / ft

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 10 12:55:07 2021 UTC (2 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Support two-character font names (BI, CW, CR, CB, CI)
in the tbl(7) layout font modifier.

Get rid of the TBL_CELL_BOLD and TBL_CELL_ITALIC flags and use
the usual ESCAPE_FONT* enum mandoc_esc members from mandoc.h instead,
which simplifies and unifies some code.

While here, also support CB and CI in roff(7) \f escape sequences
and in roff(7) .ft requests for all output modes.  Using those is
certainly not recommended because portability is limited even with
groff, but supporting them makes some existing third-party manual
pages look better, in particular in HTML output mode.

Bug-compatible with groff as far as i'm aware, except that i consider
font names starting with the '\n' (ASCII 0x0a line feed) character
so insane that i decided to not support them.

Missing feature reported by nabijaczleweli dot xyz in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992002.
I used none of the code from the initial patch submitted by
nabijaczleweli, but some of their ideas.
Final patch tested by them, too.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 3 18:19:52 2019 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +6 -8 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 30 15:53:02 2019 UTC (5 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.2: +4 -5 lines
Diff to previous 1.2 (colored)

In HTML output, allow switching the desired font for subsequent
text without printing an opening tag right away, and use that in
the .ft request handler.  While here, garbage collect redundant
enum htmlfont and reduce code duplication in print_text().
Fixing an assertion failure reported by Michael <Stapelberg at Debian>
in pmRegisterDerived(3) from libpcp3-dev.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 1 10:57:23 2019 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elements
as recommended for accessibility by the HTML 5 standard.
Triggered by a similar, but slightly different suggestion
from Laura Morales <lauretas at mail dot com>.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 16 00:17:05 2018 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN

Yet another round of improvements to manual font selection.

Unify handling of \f and .ft.
Support \f4 (bold+italic).
Support ".ft BI" and ".ft CW" for terminal output.
Support the .ft request in HTML output.
Reject the bogus fonts \f(C1, \f(C2, \f(C3, and \f(CP.
In regress.pl, only strip leading whitespace in math mode.

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