summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-01-29 15:32:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-01-29 15:32:30 (GMT)
commit0ebe85a334a6cb6e5cdd056c18a5988b779c2ed4 (patch)
tree42ef73686320184aefd845ab50d228cb45afdd2c /doc
parent071d106c9756d24a95b8bce6777d75647f2fdb4c (diff)
downloadtcl-0ebe85a334a6cb6e5cdd056c18a5988b779c2ed4.zip
tcl-0ebe85a334a6cb6e5cdd056c18a5988b779c2ed4.tar.gz
tcl-0ebe85a334a6cb6e5cdd056c18a5988b779c2ed4.tar.bz2
Improve Tcl macros to make Ttk documentation work better. [Tk Bug 1876493]
Diffstat (limited to 'doc')
-rw-r--r--doc/man.macros26
1 files changed, 12 insertions, 14 deletions
diff --git a/doc/man.macros b/doc/man.macros
index 88d0342..bd35803 100644
--- a/doc/man.macros
+++ b/doc/man.macros
@@ -42,15 +42,14 @@
.\" .DE
.\" End of indented unfilled display.
.\"
-.\" .SO
-.\" Start of list of standard options for a Tk widget. The
-.\" options follow on successive lines, in three columns separated
-.\" by tabs.
-.\"
-.\" .SE ?manpage?
-.\" End of list of standard options for a Tk widget. The manpage
+.\" .SO ?manpage?
+.\" Start of list of standard options for a Tk widget. The manpage
.\" argument defines where to look up the standard options; if
-.\" omitted, defaults to "options".
+.\" omitted, defaults to "options". The options follow on successive
+.\" lines, in three columns separated by tabs.
+.\"
+.\" .SE
+.\" End of list of standard options for a Tk widget.
.\"
.\" .OP cmdName dbName dbClass
.\" Start of description of a specific option. cmdName gives the
@@ -68,7 +67,7 @@
.\" Print an open parenthesis, arg1 in quotes, then arg2 normally
.\" (for trailing punctuation) and then a closing parenthesis.
.\"
-.\" RCS: @(#) $Id: man.macros,v 1.8 2007/12/13 15:22:32 dgp Exp $
+.\" RCS: @(#) $Id: man.macros,v 1.9 2008/01/29 15:32:33 dkf Exp $
.\"
.\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
.if t .wh -1.3i ^B
@@ -83,7 +82,7 @@
.\}
.ta \\n()Au \\n()Bu
.ie !"\\$3"" \{\
-\&\\$1 \\fI\\$2\\fP (\\$3)
+\&\\$1 \\fI\\$2\\fP (\\$3)
.\".b
.\}
.el \{\
@@ -205,6 +204,8 @@
..
.\" # SO - start of list of standard options
.de SO
+'ie '\\$1'' .ds So \\fBoptions\\fR
+'el .ds So \\fB\\$1\\fR
.SH "STANDARD OPTIONS"
.LP
.nf
@@ -216,10 +217,7 @@
.fi
.ft R
.LP
-See the
-.ie '\\$1'' \\fBoptions\\fR
-.el \\fB\\$1\\fR
-manual entry for details on the standard options.
+See the \\*(So manual entry for details on the standard options.
..
.\" # OP - start of full description for a single option
.de OP