summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-11-17 21:16:47 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-11-17 21:16:47 (GMT)
commit4a3bf71d87948d9b719af393dbb70e45edbe66b3 (patch)
treeea6fe38ab1c38de9064053d2694ae9e071e033ec
parent83223c2f03c8ea095a589284fab182b4fd5d6e17 (diff)
downloadtk-4a3bf71d87948d9b719af393dbb70e45edbe66b3.zip
tk-4a3bf71d87948d9b719af393dbb70e45edbe66b3.tar.gz
tk-4a3bf71d87948d9b719af393dbb70e45edbe66b3.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/pack.n2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b59cb29..a969a2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-17 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * doc/pack.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-17 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return
diff --git a/doc/pack.n b/doc/pack.n
index 33c8203..13c9e0f 100644
--- a/doc/pack.n
+++ b/doc/pack.n
@@ -264,7 +264,7 @@ label .b \-text "This widget is at the bottom" \-bg green
label .l \-text "Left\\nHand\\nSide"
label .r \-text "Right\\nHand\\nSide"
text .mid
-\.mid insert end "This layout is like Java's BorderLayout"
+\&.mid insert end "This layout is like Java's BorderLayout"
# Lay them out
\fBpack\fR .t \-side top \-fill x
\fBpack\fR .b \-side bottom \-fill x