From 4873936eb8a7ac4c60d3d5842ab6c24f3626fbbd Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 30 Oct 2007 17:42:24 +0000 Subject: [PATCH] Explain the difference between '-' and '\-', correctly now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24900 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/manpage.txt | 9 +++++---- 1 file 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