aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/tech
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-30 17:42:24 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-30 17:42:24 +0000
commit4873936eb8a7ac4c60d3d5842ab6c24f3626fbbd (patch)
treeef15abbf8b135889373ea42e9c16a965de63256e /DOCS/tech
parent14c25c122fc7be037a3b0ae03961faac5835dc8f (diff)
Explain the difference between '-' and '\-', correctly now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24900 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech')
-rw-r--r--DOCS/tech/manpage.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/DOCS/tech/manpage.txt b/DOCS/tech/manpage.txt
index 35e2e7a51e..b6834d0462 100644
--- a/DOCS/tech/manpage.txt
+++ b/DOCS/tech/manpage.txt
@@ -165,10 +165,11 @@ General:
.nh, .ad, .hy, macro definitions, comments and some more
- Don't forget the quotation marks around expressions, etc...
- Each new sentence should start on a line of its own.
- - Put a backslash before a '-' if it denotes a range (1\-10), an option
- (\-fs), stdin (\-) or a dash (mplayer \- movie player).
- Use just '-' if it is a hyphen (A-V) or a minus (-1). Please note that
- it should be \-dvd-device and not \-dvd\-device.
+ - There is a typographical difference between a hyphen, a minus and an
+ en-dash or em-dash. For the man page this means that you should put a
+ backslash before a '-' if it denotes a range (1\-10), an option (\-fs),
+ stdin (\-), a dash (mplayer \- movie player) or a minus (-1). Use just
+ '-' if it is a hyphen (A-V).
- Don't start a line with "'" or ".", nroff treats them specially.
- To quickly check a manual page for markup errors, just run
man DOCS/man/XX/mplayer.1 > /dev/null