History log of /src/share/tmac/doc2html
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.71 23-Jan-2020 uwe

Provide ability to override <title>

If \*[title-section] is non-empty, use it to override the title
instead of appending it. Nothing in the tree uses title-section
currently, so it shouldn't affect any existing document.

This override will be used by the installation notes where the default
title is less than helpful.


# 1.70 23-Dec-2019 uwe

Fix if/else syntax in previous.


# 1.69 03-Dec-2019 uwe

Use groff -Tencoding argument to emit <meta charset="..."/>


# 1.68 26-Nov-2019 kre

PR toolchain/54715

Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out. Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.

With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@


Revision tags: phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107
# 1.67 22-Nov-2016 kamil

branches: 1.67.6; 1.67.14; 1.67.16;
Add entry for pthread_dbg in share/tmac/doc2html

pthread_dbg is POSIX Debug Threads Library

Sponsored by <The NetBSD Foundation>


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.66 22-Nov-2015 kamil

branches: 1.66.2;
+libpanel: Z-order for curses windows


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.65 03-Aug-2013 wiz

The *roff macro argument is "-isoC-2011"; adapt.


# 1.64 03-Aug-2013 matt

Add ISO C11


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.63 11-Feb-2011 christos

branches: 1.63.4; 1.63.10;
Tell the groff and friends about libsaslc(3).
Sort and fix whitespace on mdoc.local.
Add libisns to doc2html.


Revision tags: matt-mips64-premerge-20101231 matt-premerge-20091211
# 1.62 16-May-2009 plunky

branches: 1.62.2;
change description for libbluetooth to "Bluetooth Library" as it is
more than just host lookup these days


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.61 12-May-2009 plunky

remove libsdp as improved functionality has been enabled in libbluetooth.


# 1.60 01-May-2009 perry

add support for St -p1003.1-2008


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 mjf-devfs2-base
# 1.59 14-Sep-2008 apb

branches: 1.59.4;
* For .Sh, generate <h3 id="...">...</h3>.
* For .Ss, generate <h4 id="...">...</h4>.
This makes internal cross references from .Sx work.

While here, change .SH and .SS to do likewise, instead of using
<h3><a name="...">...</a></h3> and <h4><a name="...">...</a></h4>.


# 1.58 10-Sep-2008 apb

Define Am, so HTML man pages can use \*[Am] to get an ampersand.
Non-HTML man pages were already able to use \*[Am].


Revision tags: wrstuden-revivesa-base-2
# 1.57 27-Aug-2008 lukem

More .St changes, to bring in line with the groff versions and in-tree usage:
* remove unused -isoC-amd2
* enable -ieee1275-94 (renamed from -ieee1275)


# 1.56 26-Aug-2008 lukem

Add some .St iso9945 variants used in groff_mdoc.7


# 1.55 26-Aug-2008 lukem

Support -Bl -nested by ignoring it.
(according to mdoc(7) it's only for -enum, but libevent/evdns.3 uses it
for -tag, and it does cause different formatting behaviour with the latter.)


# 1.54 26-Aug-2008 lukem

Add a few missing standards.
Force an actual .Error on an unknown .St, rather than just printing ERROR
(i.e., be consistent with other errors in this file.)
Be consistent with tabs.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
# 1.53 30-Apr-2008 martin

branches: 1.53.2;
Convert TNF licenses to new 2 clause variant


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-base hpcarm-cleanup-base
# 1.52 15-Dec-2007 apb

branches: 1.52.4; 1.52.6;
Add doc2html support for Bro/Brc/Brq.


# 1.51 15-Dec-2007 apb

Fix the definition of .Fl. Now this construct works:

.Ic boot Fl c .

Previously, the space between "boot" and "-c" was missing from the
HTML output.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-mips64-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.50 19-Jun-2006 gdamore

branches: 1.50.10;
Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.


# 1.49 11-Jun-2005 wiz

Improve .An support: recognize -nosplit.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.48 07-Feb-2005 wiz

End <font> tag with </font>. From Greg A. Woods in private mail.

Remove </font> before </body> since there is no corresponding <font>.


# 1.47 07-Feb-2005 wiz

Fix Fx handling; closes my PR 29235.
Will probably also need an additional fix like Nx and Ox do (see PR 29236).


# 1.46 07-Feb-2005 wiz

Add simple An handling. Modified version of a patch by Greg A. Woods
in private mail. Closes my PR 29241.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.45 08-Sep-2003 wiz

Use St -isoC-9X instead of St -isoC9X, to be in sync with groff.


# 1.44 04-Jul-2003 wiz

Add libevent.


# 1.43 01-Jul-2003 wiz

Add IEEE 1275-1994 (already in mdoc.local).


# 1.42 08-May-2003 uebayasi

Make libmagic known as a system library, and install manual page links
of the libmagic functions.

Submitted by Hiroshi Ura <ura at hiru dot aoba dot yokohama dot jp> in
PR21496.


Reviewed By: wiz


# 1.41 25-Feb-2003 wiz

Add libpcap.


# 1.40 22-Jan-2003 thorpej

Add libpthread and librt.


Revision tags: fvdl_fs64_base
# 1.39 09-Aug-2002 thorpej

Add libpmc.


# 1.38 27-May-2002 bjh21

Change the end of caps mode from <font size="+0"> to </font>. This gets the
tag nesting more correct, and is necessary to get the INSTALL notes to
render correctly in Konqueror. The results still look sensible in w3m,
Lynx and Mozilla.


Revision tags: netbsd-1-6-base
# 1.37 15-May-2002 bjh21

branches: 1.37.2;
Add a symbol for IEEE Std 1003.1-2001.


# 1.36 07-Feb-2002 ross

Invert the default of DOC_XR and generate an href anchor by default.
Also, assume that any man page called "index.html" will actually be
installed (sigh) as "xindex.html", which is what bsd.man.mk actually
does now.


# 1.35 07-Feb-2002 ross

Fix a number of bugs and and start over again on the style sheet.


# 1.34 05-Feb-2002 ross

Don't make broken links out of incomplete .Xr requests.


# 1.33 28-Dec-2001 wiz

Add libusbhid.


# 1.32 29-Nov-2001 wiz

ISO 8802-3:1989 -> ISO/IEC 8802-3:1989
Ok'd by kleink.


# 1.31 21-Nov-2001 wiz

Use even more standard names for standards.


# 1.30 22-Oct-2001 kleink

Add a 1003.1g-2000 macro.


# 1.29 04-Oct-2001 wiz

Actually, we don't have libhesiod -- the functions are in libc.
Noted by Gregory McGarry.


# 1.28 16-Sep-2001 wiz

Add libhesiod.


# 1.27 13-Sep-2001 thorpej

Add libpci.


# 1.26 04-Jul-2001 kleink

Add a libm68k library macro.


# 1.25 03-Jul-2001 lukem

add St -xns5.2d2.0


# 1.24 02-Jul-2001 lukem

add AT&T v1 and v5


# 1.23 14-Apr-2001 kleink

Rename isoC to isoC90.


# 1.22 05-Jan-2001 garbled

Add libcdk to these two files


# 1.21 05-Jan-2001 blymn

Added libform.


# 1.20 31-Oct-2000 itojun

declare .Lb symbol for libintl.


# 1.19 05-Jul-2000 ad

Add Ox macro (OpenBSD).


# 1.18 04-Jul-2000 kleink

Changes references from ``ISO C'' to ``ISO C90''.


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.17 14-May-2000 veego

Remove the last traces of libahdi.


# 1.16 05-Mar-2000 kleink

Add an -isoC99 macro; while I'm here, correct white space usage in other
ISO/IEC document numbers.


# 1.15 10-Feb-2000 kleink

Whitespace nit in -p1003.1-96.


# 1.14 05-Feb-2000 jdc

Add libahdi entries.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.13 24-Nov-1999 kleink

Add .Lb libmenu.


Revision tags: comdex-fall-1999-base
# 1.12 04-Jul-1999 itojun

branches: 1.12.4;
add LIBRARY section into libipsec manpages.
add ".Lb libipsec" for this.


# 1.11 01-Jun-1999 ross

* Sync .St with the main mdoc
* Fix (some of) the bugs with .Fn


# 1.10 30-Apr-1999 ross

Fix bugs reported by mycroft, except one.


Revision tags: netbsd-1-4-base
# 1.9 18-Mar-1999 ross

branches: 1.9.2;
Kill Nm-save warning.


# 1.8 09-Mar-1999 ross

Improve appearance, tone down the .Sh size, define a <style> for color
headings, etc. Please feel free to fiddle with this stuff, people...


# 1.7 07-Mar-1999 mycroft

Make Pq, Po, Pc, Oo, Oc callable.


# 1.6 07-Mar-1999 mycroft

Escape some punctuation, and make Oo and Oc aliases for Bo and Bc.


# 1.5 07-Mar-1999 mycroft

Sort of add .Oo and .Oc. Needs more work.


# 1.4 06-Feb-1999 kleink

Add a macro for our friend, the System V Interface Definition.


# 1.3 28-Jan-1999 ross

Define mode-null-{on,off} for turning off special modes.
Turn off any special modes when Ns is called.


# 1.2 17-Jan-1999 ross

Fix bug with html < and > chars found by Alan Barrett.


# 1.1 13-Jan-1999 ross

New macro package for automatically converting -mdoc input to HTML.
Use: nroff -mdoc2html input_file...
Or, for the completely general case,
Use: groff -P-b -P-u -P-o -Tascii -ww -mdoc2html input_file ...
This was originally intended for just the new distrib/notes and other
non-man-page project documentation, but in fact it can get almost all of
the man pages right at this point.

In many cases, I would suggest that original documentation not be written
in HTML or ASCII any more. A good example would be "supported devices".
It's presently duplicated, in the install notes, the web pages, and the
man pages. If written in -mdoc, it can automatically be a man page, a www
page feature, and a printable, downloadable file. We can generate PostScript
and the "unix enhanced text" format used by more(1), as well as plain old
ascii, and all using in-tree tools.

TNF Copyright.