Home | History | Annotate | Download | only in tmac
History log of /src/share/tmac/doc2html
RevisionDateAuthorComments
 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@
 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>
 1.66  22-Nov-2015  kamil branches: 1.66.2;
+libpanel: Z-order for curses windows
 1.65  03-Aug-2013  wiz The *roff macro argument is "-isoC-2011"; adapt.
 1.64  03-Aug-2013  matt Add ISO C11
 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.
 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
 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
 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].
 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.
 1.53  30-Apr-2008  martin branches: 1.53.2;
Convert TNF licenses to new 2 clause variant
 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.
 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.
 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.
 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.
 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.
 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''.
 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.
 1.13  24-Nov-1999  kleink Add .Lb libmenu.
 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.
 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.
 1.9.2.1  30-Apr-1999  perry pullup 1.9->1.10 (ross)
 1.12.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.37.2.1  28-May-2002  lukem Pull up revision 1.38 (requested by 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.
 1.50.10.1  09-Jan-2008  matt sync with HEAD
 1.52.6.1  18-May-2008  yamt sync with head.
 1.52.4.2  05-Oct-2008  mjf Sync with HEAD.
 1.52.4.1  02-Jun-2008  mjf Sync with HEAD.
 1.53.2.2  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.53.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.59.4.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.62.2.1  17-Feb-2011  bouyer Sync with HEAD
 1.63.10.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.63.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.66.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.67.16.3  26-Jan-2020  martin Pull up following revision(s) (requested by uwe in ticket #652):

distrib/notes/Makefile.inc: revision 1.54
distrib/notes/common/main: revision 1.561
distrib/notes/common/main: revision 1.562
share/tmac/doc2html: revision 1.71

Use .Os NetBSD/\*M \*V to get more informative footer.

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.

Override HTML <title> to something more informative.
Requested by martin@

Use -mdoc2html to generate HTML TOC to avoids warnings.
 1.67.16.2  09-Dec-2019  martin Pull up following revision(s) (requested by uwe in ticket #519):

share/tmac/doc2html: revision 1.69

Use groff -Tencoding argument to emit <meta charset="..."/>
 1.67.16.1  26-Nov-2019  martin Pull up following revision(s) (requested by kre in ticket #485):

share/tmac/doc2html: revision 1.68

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@
 1.67.14.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.67.6.1  26-Nov-2019  martin Pull up following revision(s) (requested by kre in ticket #1461):

share/tmac/doc2html: revision 1.68

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@

RSS XML Feed