Hi, Steffen Nurpmeso wrote on Tue, Apr 25, 2017 at 08:19:21PM +0200:
> the HTML output of mandoc used repeated per-paragraph style > directives and a CSS file, which caused enormous bloat, last > time i tried. Does that still apply to view-source:http://man.openbsd.org/ksh I spent a few weeks in 2017 improving mandoc HTML output, both with respect to functionality (better markup) and with respect to HTML code quality. In case there are still aspects that can be improved (in particular, simplified) without loss of semantic markup quality and without loss of presentational quality, specific hints are very welcome. Yours, Ingo P.S. Only bacause i'm replying anyway and it's just five lines: > .Op : Ns Fl c Ar cc-addr Ns \&: > .Fl S Ar var Ns Op Ns = Ns Ar value Ns That's full of cargo cult, things are actually much simpler even for describing such unusually complicated syntax: .Oo : Ns Fl c Ar cc-addr : Oc .Eo [: Fl c Ar cc-addr Ec :] .Fl S Ar var Ns Op = Ns Ar value .Fl S Ar var Ns Op Pf = Ar value