[Pkg-lyx-devel] escaping the - in man.lyx
Sven Hoexter
sven at timegate.de
Sun Jun 25 17:09:35 UTC 2006
Hi *,
here is another patch I've found in the Debian LyX package you maybe
would like to apply to the LyX source tree.
In manpages all "-" should be escaped with "\-" to force a proper handling.
The attached patch has been created against the current 1.4.x branch.
Sven
--
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
[Less than Jake - Rest Of My Life]
-------------- next part --------------
Index: lyx.man
===================================================================
--- lyx.man (Revision 14209)
+++ lyx.man (Arbeitskopie)
@@ -13,7 +13,7 @@
.el \(co
..
.SH SYNOPSIS
-\fBlyx\fR [ \fIcommand-line switches\fR ] [ \fIname[.lyx] ...\fR ]
+\fBlyx\fR [ \fIcommand\-line switches\fR ] [ \fIname[.lyx] ...\fR ]
.br
.SH DESCRIPTION
\fBLyX\fR is too complex to be described completely in the "man" page
@@ -22,7 +22,7 @@
\fBLyX\fR is a document preparation system. It excels at letting you
create complex technical and scientific articles with mathematics,
-cross-references, bibliographies, indices, etc. It is very good at
+cross\-references, bibliographies, indices, etc. It is very good at
documents of any length in which the usual processing abilities are
required: automatic sectioning and pagination, spellchecking, and so
forth. It can also be used to write a letter to your mom, though
@@ -41,7 +41,7 @@
This is on all major Unix platforms as well as Windows, Mac OS X
(which actually is a unix platform) and OS/2.
.SH OPTIONS
-\fBLyX\fR supports the following command-line switches.
+\fBLyX\fR supports the following command\-line switches.
.TP 6
.BI \-help
summarizes LyX usage
@@ -58,15 +58,15 @@
.TP
.BI \-dbg " feature[,feature...]"
where feature is a name or number.
-Use "\fBlyx -dbg\fR" to see the list of available debug features.
+Use "\fBlyx \-dbg\fR" to see the list of available debug features.
.TP
-\fB -x [--execute]\fP \fIcommand
+\fB \-x [\-\-execute]\fP \fIcommand
where command is a lyx command.
.TP
-\fB -e [--export]\fP \fIfmt
+\fB \-e [\-\-export]\fP \fIfmt
where fmt is the export format of choice.
.TP
-\fB -i [--import]\fP \fIfmt file.xxx
+\fB \-i [\-\-import]\fP \fIfmt file.xxx
where fmt is the import format of choice and file.xxx is the file to be imported.
.SH XFORMS FRONTEND OPTIONS
@@ -83,7 +83,7 @@
specifies the server to connect to.
.TP
.BI \-bw " borderwidth"
-specifies the border width to use to built-in objects.
+specifies the border width to use to built\-in objects.
.TP
.BI \-visual " visualName"
requests a visual by name such as TrueColor etc. By default the
@@ -91,7 +91,7 @@
always selects the visual that has the most depth.
.TP
.BI \-depth " depth"
-requests a specific depth. Try "\fB-depth\fR best" or "\fB-depth\fR
+requests a specific depth. Try "\fB\-depth\fR best" or "\fB\-depth\fR
8" if you get a bad match.
.TP
.BI \-debug " level"
@@ -99,7 +99,7 @@
.B XForms.
where
.I level
-is an integer between 1-5 and controls the amount of
+is an integer between 1\-5 and controls the amount of
information to output. Depending on the options used
when the
.B Forms Library
@@ -131,7 +131,7 @@
The system directory is determined by searching for the file
"chkconfig.ltx". Directories are searched in this order:
.br
-1) -sysdir command line parameter
+1) \-sysdir command line parameter
.br
2) LYX_DIR_14x environment variable
.br
@@ -146,7 +146,7 @@
.PP
The user directory is, in order of precedence:
.br
-1) -userdir command line parameter
+1) \-userdir command line parameter
.br
2) LYX_USERDIR_14x environment variable
.br
@@ -187,7 +187,7 @@
possible the Introduction found under the Help menu in LyX. You'll
find detailed info on submitting bug reports there. If you can't do
that, send details to the LyX Developers mailing list
-lyx-devel at lists.lyx.org, or use the LyX bug tracker at
+lyx\-devel at lists.lyx.org, or use the LyX bug tracker at
http://bugzilla.lyx.org/. Don't forget to mention which version you
are having problems with!
@@ -198,5 +198,5 @@
Copyright
.Cr
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 by Matthias Ettrich
-(ettrich at informatik.uni-tuebingen.de) and the rest of the \fBLyX
+(ettrich at informatik.uni\-tuebingen.de) and the rest of the \fBLyX
Team\fR (See About LyX under the Help menu item).
More information about the Pkg-lyx-devel
mailing list