@@@ much mess, mostly manpages
[mLib] / defs.man
diff --git a/defs.man b/defs.man
new file mode 100644 (file)
index 0000000..6f80619
--- /dev/null
+++ b/defs.man
@@ -0,0 +1,93 @@
+.\" -*-nroff-*-
+.\"
+.\" Common definitions for mLib manpages
+.\"
+.\" (c) 2024 Straylight/Edgeware
+.\"
+.
+.\"----- Licensing notice ---------------------------------------------------
+.\"
+.\" This file is part of the mLib utilities library.
+.\"
+.\" mLib is free software: you can redistribute it and/or modify it under
+.\" the terms of the GNU Library General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or (at
+.\" your option) any later version.
+.\"
+.\" mLib is distributed in the hope that it will be useful, but WITHOUT
+.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
+.\" License for more details.
+.\"
+.\" You should have received a copy of the GNU Library General Public
+.\" License along with mLib.  If not, write to the Free Software
+.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+.\" USA.
+.
+.\"--------------------------------------------------------------------------
+.\" Preliminary definitions.
+.
+.\" String definitions and font selection.
+.ie t \{\
+.  ds o \(bu
+.  ds ss \s8\u
+.  ds se \d\s0
+.  ds us \s8\d
+.  ds ue \u\s0
+.  ds *d \(*d
+.  ds <= \<>=
+.  ds >= \(>=
+.  ds , \h'\w'\ 'u/2u'
+.  if \n(.g \{\
+.    fam P
+.    ev an-1
+.    fam P
+.    ev
+.  \}
+.\}
+.el \{\
+.  ds o o
+.  ds ss ^
+.  ds se
+.  ds us _
+.  ds ue
+.  ds *d \,\fIdelta\/\fP
+.  ds <= <=
+.  ds >= >=
+.  ds , \ \"
+.\}
+..
+.
+.\" hP TEXT -- start an indented paragraph with TEXT hanging off to the left
+.de hP
+.  IP
+.  ft B
+\h'-\w'\\$1\ 'u'\\$1\ \c
+.  ft P
+..
+.
+.\" .VS ... .VE -- present a code sample; separate paragraphs with `.VP'
+.de VS
+.  sp
+.  RS
+.  nf
+.  ft B
+..
+.ie t \{\
+.  de VP
+.    sp .4v
+..
+.\}
+.el \{\
+.  de VP
+.    sp
+..
+.\}
+.de VE
+.  ft R
+.  fi
+.  RE
+.  sp
+..
+.
+.\"----- That's all, folks --------------------------------------------------