summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 21:29:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 21:29:32 (GMT)
commit82846ec5bdd7ad377edf83c1c3aa6759c1c54ecd (patch)
tree717c1b462d1bcef6835a085611feaad98d9ec383
parent0d971eccf62fff5979c971c61497d96520115700 (diff)
downloadtk-82846ec5bdd7ad377edf83c1c3aa6759c1c54ecd.zip
tk-82846ec5bdd7ad377edf83c1c3aa6759c1c54ecd.tar.gz
tk-82846ec5bdd7ad377edf83c1c3aa6759c1c54ecd.tar.bz2
Fix the escaping of leading dots in lines that start with
a widget name, so that nroff doesn't mistake it as a non-existing macro and skips the entire line
-rw-r--r--ChangeLog6
-rw-r--r--doc/menu.n12
2 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index d39cd72..641f682 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-17 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * doc/menu.n: Fix the escaping of leading dots in lines that start with
+ a widget name, so that nroff doesn't mistake it as a non-existing macro
+ and skips the entire line.
+
2011-11-14 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return
diff --git a/doc/menu.n b/doc/menu.n
index 1d13404..c6f74dc 100644
--- a/doc/menu.n
+++ b/doc/menu.n
@@ -236,12 +236,12 @@ Certain menus in a menubar will be treated specially. On the Macintosh,
access to the special Application, Window and Help menus is provided. On
Windows, access to the Windows System menu in each window is provided.
On X Windows, a special right-justified help menu may be provided if
-Motif menu compatibility is enabled. In all
-cases, these menus must be created with the command name of the menubar
-menu concatenated with the special name. So for a menubar named
-\.menubar, on the Macintosh, the special menus would be .menubar.apple,
-\.menubar.window and .menubar.help; on Windows, the special menu would be
-\.menubar.system; on X Windows, the help menu would be .menubar.help.
+Motif menu compatibility is enabled. In all cases, these menus must be
+created with the command name of the menubar menu concatenated with the
+special name. So for a menubar named .menubar, on the Macintosh, the
+special menus would be .menubar.apple, .menubar.window and .menubar.help;
+on Windows, the special menu would be .menubar.system; on X Windows,
+the help menu would be .menubar.help.
.PP
When Tk sees a .menubar.apple menu as the first menu in a menubar on the
Macintosh, that menu's contents make up the first items of the