summaryrefslogtreecommitdiff
path: root/tmac/s.tmac
diff options
context:
space:
mode:
authorwl <wl>2007-02-01 09:36:19 +0000
committerwl <wl>2007-02-01 09:36:19 +0000
commit1113a54b1fddb9b5ef7683eb172c50dd1fd9d84d (patch)
tree1c46679bb95d8e16237cd7b024ddf7157a6f6062 /tmac/s.tmac
parentf79ba72cd8ff0f4d9adcffe17f840c7b682deacf (diff)
downloadgroff-1113a54b1fddb9b5ef7683eb172c50dd1fd9d84d.tar.gz
Add some Bell labs extensions to the -ms macros.
* tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros. * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
Diffstat (limited to 'tmac/s.tmac')
-rw-r--r--tmac/s.tmac27
1 files changed, 27 insertions, 0 deletions
diff --git a/tmac/s.tmac b/tmac/s.tmac
index f652c005..286ef75c 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -2073,4 +2073,31 @@ Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
. \}
..
.par@load-init
+.\" ****************************
+.\" ******** module bell ********
+.\" ****************************
+.\" Emulate Bell Labs localisms by setting `-r bell=1' on the command line.
+.\" They're not enabled by default because (a) they're not documented, and
+.\" (b) the .P1 macro collides with a different one in the Berkeley version.
+.\" What's done here is sufficient to give back the Guide to EQN (1976) its
+.\" section headings and restore some text that had gone missing as macro
+.\" arguments; no warranty express or implied is given as to how well the
+.\" typographic details these produce match the original Bell Labs macros.
+.if r bell \{\
+.de SC
+.NH
+\\$*
+..
+.de UC
+\f(CW\\$*\fP
+..
+.de P1
+.DS L
+ft CW
+..
+.de P2
+.ft
+.DE
+..
+.\}
.\" Make sure that no blank lines creep in at the end of this file.