summaryrefslogtreecommitdiff
path: root/tmac/doc-ditroff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-04-09 22:59:19 +0000
committerwlemb <wlemb>2001-04-09 22:59:19 +0000
commit21ebecd3dc1722faa746a7f5e943a580beffb138 (patch)
tree9bd49a3ec2848ac00888b29fe0aef8dc7f9bd6d8 /tmac/doc-ditroff
parent1df99c0e5f5c42764a6a754ee172be53ea3e74fc (diff)
downloadgroff-21ebecd3dc1722faa746a7f5e943a580beffb138.tar.gz
Fix indentation in SYNOPSIS.
Updated to include changes of latest BSD mdoc version (basically, `.Fn' and `.Fc' put a final semicolon after a function declaration in the SYNOPSIS section. * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ... (doc-in-synopsis-section): New variable. Updated all related functions. (doc-indent-synopsis-active): New register. (Nd, Fn, Fo): Use it. (Cd): It requires manipulation of n[doc-indent-synopsis] so that `.Cd' with long argument line produces indented wrapped lines. Also, the misplaced `.nop *[doc-Nm-font]c'' caused extra undesirable line break to be output. (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to `.rs'. (Fn, Fc): Add final `;' to output. (doc-save-global-vars, doc-restore-global-vars): Updated. * tmac/doc-common: Remove `Ex' register. Updated. * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated copyright.
Diffstat (limited to 'tmac/doc-ditroff')
-rw-r--r--tmac/doc-ditroff6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmac/doc-ditroff b/tmac/doc-ditroff
index 45b0f76e..dff5537d 100644
--- a/tmac/doc-ditroff
+++ b/tmac/doc-ditroff
@@ -1,5 +1,5 @@
-.\" Copyright (c) 1991 The Regents of the University of California.
-.\" All rights reserved.
+.\" Copyright (c) 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)doc-ditroff 5.8 (Berkeley) 8/5/91
+.\" @(#)doc-ditroff 8.1 (Berkeley) 06/08/93
.\"
.\" %beginstrip%
.